OSDN Git Service

drm/ttm: Switch to using the new res callback
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Sat, 20 Aug 2022 07:33:04 +0000 (00:33 -0700)
committerChristian König <christian.koenig@amd.com>
Mon, 22 Aug 2022 13:36:29 +0000 (15:36 +0200)
commit6d3c900c12d72667341bcff338c252e22728b942
treec47e044a7bd24a12069e0abcf0cd7f384daad901
parent73b984d8722e3ee077a8591b27d8c4d1a2d72020
drm/ttm: Switch to using the new res callback

Apply new intersect and compatible callback instead
of having a generic placement range verfications.

v2: Added a separate callback for compatiblilty
    checks (Christian)
v3: Cleanups and removal of workarounds

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220820073304.178444-6-Arunpravin.PaneerSelvam@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/ttm/ttm_resource.c