aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch
new file mode 100644
index 00000000..526c8e30
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3803-drm-amd-display-rename-variable-eanble-enable.patch
@@ -0,0 +1,50 @@
+From b36b98101da1599c5fa130fdb0d09851a2003335 Mon Sep 17 00:00:00 2001
+From: Colin Ian King <colin.king@canonical.com>
+Date: Fri, 13 Sep 2019 09:02:48 +0100
+Subject: [PATCH 3803/4256] drm/amd/display: rename variable eanble -> enable
+
+There is a spelling mistake in the variable name eanble,
+rename it to enable.
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
+index 31b698bf9cfc..8aa937f496c4 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
++++ b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c
+@@ -606,11 +606,11 @@ static void dce_mi_allocate_dmif(
+ }
+
+ if (dce_mi->wa.single_head_rdreq_dmif_limit) {
+- uint32_t eanble = (total_stream_num > 1) ? 0 :
++ uint32_t enable = (total_stream_num > 1) ? 0 :
+ dce_mi->wa.single_head_rdreq_dmif_limit;
+
+ REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
+- ENABLE, eanble);
++ ENABLE, enable);
+ }
+ }
+
+@@ -636,11 +636,11 @@ static void dce_mi_free_dmif(
+ 10, 3500);
+
+ if (dce_mi->wa.single_head_rdreq_dmif_limit) {
+- uint32_t eanble = (total_stream_num > 1) ? 0 :
++ uint32_t enable = (total_stream_num > 1) ? 0 :
+ dce_mi->wa.single_head_rdreq_dmif_limit;
+
+ REG_UPDATE(MC_HUB_RDREQ_DMIF_LIMIT,
+- ENABLE, eanble);
++ ENABLE, enable);
+ }
+ }
+
+--
+2.17.1
+