]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix contiguous handling for IB parsing v2
authorChristian König <christian.koenig@amd.com>
Wed, 24 Jul 2024 07:24:02 +0000 (09:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Jul 2024 22:09:38 +0000 (18:09 -0400)
commitf3572db3c049b4d32bb5ba77ad5305616c44c7c1
tree2d8b3697dd6fca15c03d117a945d80d8ede385b7
parentfe26546aeb35c5d1fd69530bb6bfd04e0b5cd489
drm/amdgpu: fix contiguous handling for IB parsing v2

Otherwise we won't get correct access to the IB.

v2: keep setting AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS to avoid problems in
    the VRAM backend.

Signed-off-by: Christian König <christian.koenig@amd.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3501
Fixes: e362b7c8f8c7 ("drm/amdgpu: Modify the contiguous flags behaviour")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Tested-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit fbfb5f0342253d92c4e446588c428a9d90c3f610)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c