]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit277dee9cc7a0740cf352def2e47181c29412e0a2
treec47e044a7bd24a12069e0abcf0cd7f384daad901
parentf4cfc1e561a6b731cf273d6e3ea1f29af1af51b3
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