aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch
new file mode 100644
index 00000000..3e55c29a
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2888-drm-amd-display-Fixed-read-wrong-reg-to-get-bot_sel.patch
@@ -0,0 +1,29 @@
+From f010c118addfb60e1268589d91372dd536e3293c Mon Sep 17 00:00:00 2001
+From: Yongqiang Sun <yongqiang.sun@amd.com>
+Date: Thu, 16 Nov 2017 12:43:59 -0500
+Subject: [PATCH 2888/4131] drm/amd/display: Fixed read wrong reg to get
+ bot_sel.
+
+Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
+index e926c29..a13d25d 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
+@@ -372,7 +372,7 @@ void mpc1_init_mpcc_list_from_hw(
+ for (mpcc_id = 0; mpcc_id < mpc10->num_mpcc; mpcc_id++) {
+ REG_GET(MPCC_OPP_ID[mpcc_id], MPCC_OPP_ID, &opp_id);
+ REG_GET(MPCC_TOP_SEL[mpcc_id], MPCC_TOP_SEL, &top_sel);
+- REG_GET(MPCC_STATUS[mpcc_id], MPCC_BOT_SEL, &bot_sel);
++ REG_GET(MPCC_BOT_SEL[mpcc_id], MPCC_BOT_SEL, &bot_sel);
+
+ if ((opp_id == tree->opp_id) && (top_sel != 0xf)) {
+ mpcc = mpc1_get_mpcc(mpc, mpcc_id);
+--
+2.7.4
+