]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: don't register a dirty callback for non-atomic
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 16:26:20 +0000 (12:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Sep 2022 21:36:43 +0000 (17:36 -0400)
commitabbc7a3dafb91b9d4ec56b70ec9a7520f8e13334
tree5c0d0971777c5912f26d65081831c8df1a490c1d
parent88bab90f7a8aef3732a57cf33bf0ae121de8c7af
drm/amdgpu: don't register a dirty callback for non-atomic

Some asics still support non-atomic code paths.

Fixes: 66f99628eb2440 ("drm/amdgpu: use dirty framebuffer helper")
Reported-by: Arthur Marsh <arthur.marsh@internode.on.net>
Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c