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 21:28:47 +0000 (17:28 -0400)
commitfbfb5f0342253d92c4e446588c428a9d90c3f610
treed60893e3158aefaf2274c5fc14d1bbefa72d905e
parentcd162ae9bc3ba91eb630a1321afd3d1dde5f2000
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c