]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use dirty framebuffer helper
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Tue, 6 Sep 2022 19:01:49 +0000 (15:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:04:08 +0000 (11:04 +0200)
commitd630b7e7e145600530866e1c3e864a73afc920c5
tree1421f2ac7b6d3bfb701b8a8d6548efbd4cb56964
parent5f44e5f119e1913953cf2ffa35d9bf112fde0a06
drm/amdgpu: use dirty framebuffer helper

[ Upstream commit 1ca6b98f4bd8412ca50b92811421f2c22e61e813 ]

Currently, we aren't handling DRM_IOCTL_MODE_DIRTYFB. So, use
drm_atomic_helper_dirtyfb() as the dirty callback in the amdgpu_fb_funcs
struct.

Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c