]> git.itanic.dy.fi Git - linux-stable/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:11:55 +0000 (11:11 +0200)
commit33b128f790b6df7e44e4435c6b9387b257637d15
treee6a35b6a690a4325333c527d743cda2e5eac41d6
parentf76d6f309a685d24a32703b4d5c5a71e76f4b793
drm/amdgpu: use dirty framebuffer helper

[ Upstream commit 66f99628eb24409cb8feb5061f78283c8b65f820 ]

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