aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch103
1 files changed, 103 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch
new file mode 100644
index 00000000..043d6f4a
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3234-drm-amdgpu-rename-amdgpu_print_display_setup.patch
@@ -0,0 +1,103 @@
+From 0fffe6d5f3642179c1e60bab348b666b1c6ae7b3 Mon Sep 17 00:00:00 2001
+From: Samuel Li <Samuel.Li@amd.com>
+Date: Fri, 19 Jan 2018 12:02:45 -0500
+Subject: [PATCH 3234/4131] drm/amdgpu: rename amdgpu_print_display_setup
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add display to the name for consistency.
+
+Signed-off-by: Samuel Li <Samuel.Li@amd.com>
+Acked-by: Christian König <christian.koenig@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +-
+ drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 2 +-
+ drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 +-
+ drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +-
+ drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +-
+ drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 2 +-
+ 6 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+index f15b98c..85bb1bc 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+@@ -360,7 +360,7 @@ static const char *hpd_names[6] = {
+ "HPD6",
+ };
+
+-void amdgpu_print_display_setup(struct drm_device *dev)
++void amdgpu_display_print_display_setup(struct drm_device *dev)
+ {
+ struct drm_connector *connector;
+ struct amdgpu_connector *amdgpu_connector;
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+index af77fc3..5879ca0 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+@@ -682,7 +682,7 @@ void amdgpu_fb_output_poll_changed(struct amdgpu_device *adev);
+ int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled);
+
+ /* amdgpu_display.c */
+-void amdgpu_print_display_setup(struct drm_device *dev);
++void amdgpu_display_print_display_setup(struct drm_device *dev);
+ int amdgpu_modeset_create_props(struct amdgpu_device *adev);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+ int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
+index a5d401a..fa8bf00 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
+@@ -2841,7 +2841,7 @@ static int dce_v10_0_sw_init(void *handle)
+ }
+
+ if (amdgpu_atombios_get_connector_info_from_object_table(adev))
+- amdgpu_print_display_setup(adev->ddev);
++ amdgpu_display_print_display_setup(adev->ddev);
+ else
+ return -EINVAL;
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+index 90900f7..b8baa73 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+@@ -2957,7 +2957,7 @@ static int dce_v11_0_sw_init(void *handle)
+ }
+
+ if (amdgpu_atombios_get_connector_info_from_object_table(adev))
+- amdgpu_print_display_setup(adev->ddev);
++ amdgpu_display_print_display_setup(adev->ddev);
+ else
+ return -EINVAL;
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
+index 9d4eeeb..91b91a6 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
+@@ -2711,7 +2711,7 @@ static int dce_v6_0_sw_init(void *handle)
+
+ ret = amdgpu_atombios_get_connector_info_from_object_table(adev);
+ if (ret)
+- amdgpu_print_display_setup(adev->ddev);
++ amdgpu_display_print_display_setup(adev->ddev);
+ else
+ return -EINVAL;
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+index 6fb31aa..1386424 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
+@@ -2741,7 +2741,7 @@ static int dce_v8_0_sw_init(void *handle)
+ }
+
+ if (amdgpu_atombios_get_connector_info_from_object_table(adev))
+- amdgpu_print_display_setup(adev->ddev);
++ amdgpu_display_print_display_setup(adev->ddev);
+ else
+ return -EINVAL;
+
+--
+2.7.4
+