diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0876-drm-amd-dal-Add-support-for-flip-immediate.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0876-drm-amd-dal-Add-support-for-flip-immediate.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0876-drm-amd-dal-Add-support-for-flip-immediate.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0876-drm-amd-dal-Add-support-for-flip-immediate.patch new file mode 100644 index 00000000..bf7eab70 --- /dev/null +++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0876-drm-amd-dal-Add-support-for-flip-immediate.patch @@ -0,0 +1,43 @@ +From b6b0283bdd7b09f95e44b73bc13c0b42304ff54d Mon Sep 17 00:00:00 2001 +From: Aric Cyr <aric.cyr@amd.com> +Date: Wed, 2 Dec 2015 18:08:18 -0500 +Subject: [PATCH 0876/1050] drm/amd/dal: Add support for flip-immediate + +Change-Id: Iff7ec831430a95a7ab66c5f743b4c23149909d0c +Signed-off-by: Aric Cyr <aric.cyr@amd.com> +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/core/dc.c | 2 ++ + drivers/gpu/drm/amd/dal/dc/dc.h | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c +index e141e99..1eee73e 100644 +--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c +@@ -683,6 +683,8 @@ void dc_flip_surface_addrs(struct dc* dc, + * then we'll have to awkwardly bypass the "const" surface. + */ + surface->public.address = flip_addrs[i].address; ++ surface->public.flip_immediate = flip_addrs[i].flip_immediate; ++ + dc->hwss.update_plane_address( + surface, + DC_TARGET_TO_CORE(surface->status.dc_target)); +diff --git a/drivers/gpu/drm/amd/dal/dc/dc.h b/drivers/gpu/drm/amd/dal/dc/dc.h +index 7b611d7..2d92d14 100644 +--- a/drivers/gpu/drm/amd/dal/dc/dc.h ++++ b/drivers/gpu/drm/amd/dal/dc/dc.h +@@ -106,7 +106,7 @@ void dc_surface_release(const struct dc_surface *dc_surface); + */ + struct dc_flip_addrs { + struct dc_plane_address address; +- ++ bool flip_immediate; + /* TODO: DCC format info */ + /* TODO: add flip duration for FreeSync */ + }; +-- +1.9.1 + |