drm/amdgpu: Add memory partitions to gmc
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 14 Feb 2023 09:07:53 +0000 (14:37 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:57:01 +0000 (09:57 -0400)
commit14493cb99b71dbaff58dc0dc0b2cc0a56a88ef05
tree3578a2900b865627d29b3f333cb591b430b6357e
parentfa0497c34eb7dd9db9a09963917382e924c3fbc5
drm/amdgpu: Add memory partitions to gmc

Some ASICs have the device memory divided into multiple partitions. The
parititions could be denoted by a numa node or by a range of pages.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h