]> 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)
commit94403f93003afcbc027d7e79d4322ec40dcda046
tree5c0d0971777c5912f26d65081831c8df1a490c1d
parentca57d4d72f3c60e8a64a1d2d75f89ca8ee61e248
drm/amdgpu: don't register a dirty callback for non-atomic

Some asics still support non-atomic code paths.

Fixes: 134ed0da0d8a10 ("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