diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0574-drm-amd-dal-Call-atomic-dpms-function-for-MST.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0574-drm-amd-dal-Call-atomic-dpms-function-for-MST.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0574-drm-amd-dal-Call-atomic-dpms-function-for-MST.patch b/common/recipes-kernel/linux/files/0574-drm-amd-dal-Call-atomic-dpms-function-for-MST.patch new file mode 100644 index 00000000..d3904b31 --- /dev/null +++ b/common/recipes-kernel/linux/files/0574-drm-amd-dal-Call-atomic-dpms-function-for-MST.patch @@ -0,0 +1,42 @@ +From 3ba7399178fbd241da609dfb01080ed9ac55c88c Mon Sep 17 00:00:00 2001 +From: Harry Wentland <harry.wentland@amd.com> +Date: Thu, 3 Dec 2015 15:36:20 -0500 +Subject: [PATCH 0574/1110] drm/amd/dal: Call atomic dpms function for MST + +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c +index 9e41114..df80f5c 100644 +--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c ++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_mst_types.c +@@ -23,6 +23,7 @@ + * + */ + ++#include <drm/drm_atomic_helper.h> + #include "dal_services.h" + #include "amdgpu.h" + #include "amdgpu_dm_types.h" +@@ -82,14 +83,8 @@ dm_dp_mst_connector_destroy(struct drm_connector *connector) + kfree(amdgpu_connector); + } + +-static int dm_dp_mst_connector_dpms(struct drm_connector *connector, int mode) +-{ +- DRM_DEBUG_KMS("\n"); +- return 0; +-} +- + static const struct drm_connector_funcs dm_dp_mst_connector_funcs = { +- .dpms = dm_dp_mst_connector_dpms, ++ .dpms = drm_atomic_helper_connector_dpms, + .detect = dm_dp_mst_detect, + .fill_modes = drm_helper_probe_single_connector_modes, + .destroy = dm_dp_mst_connector_destroy, +-- +2.7.4 + |