aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch
new file mode 100644
index 00000000..8211e601
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1304-drm-amd-display-Add-p_state_change_support-flag-to-d.patch
@@ -0,0 +1,30 @@
+From 21ede84fa1f5ecc6479c599f571a88da9786f53e Mon Sep 17 00:00:00 2001
+From: Jun Lei <Jun.Lei@amd.com>
+Date: Wed, 6 Feb 2019 17:24:19 -0500
+Subject: [PATCH 1304/2940] drm/amd/display: Add p_state_change_support flag to
+ dc_clocks
+
+Will be used to signify if P-state change is supported.
+
+Signed-off-by: Jun Lei <Jun.Lei@amd.com>
+Reviewed-by: Eric Yang <eric.yang2@amd.com>
+Acked-by: Leo Li <sunpeng.li@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dc.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
+index 10299ff399f5..321ba9c6c827 100644
+--- a/drivers/gpu/drm/amd/display/dc/dc.h
++++ b/drivers/gpu/drm/amd/display/dc/dc.h
+@@ -203,6 +203,7 @@ struct dc_clocks {
+ int fclk_khz;
+ int phyclk_khz;
+ int dramclk_khz;
++ bool p_state_change_support;
+ };
+
+ struct dc_debug_options {
+--
+2.17.1
+