summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dm_services_types.h
diff options
context:
space:
mode:
authorTony Cheng2017-08-13 19:50:52 +0200
committerAlex Deucher2017-09-27 00:16:46 +0200
commita185048ca88ce143f980f2b819f034cfc09a5377 (patch)
treeeb611070959085f5a1fbcf1f2f9201707a08d559 /drivers/gpu/drm/amd/display/dc/dm_services_types.h
parentdrm/amd/display: Implement HDMI retimer settings for RV AM4 support. (diff)
downloadkernel-qcow2-linux-a185048ca88ce143f980f2b819f034cfc09a5377.tar.gz
kernel-qcow2-linux-a185048ca88ce143f980f2b819f034cfc09a5377.tar.xz
kernel-qcow2-linux-a185048ca88ce143f980f2b819f034cfc09a5377.zip
drm/amd/display: refactor pplib/smu communication
new per SoC interface instead legacy interface with lots of un-used field that only cause confusion model pp_smu like one of our HW objects with func_ptr interface to call into it. struct pp_smu as handle to call pp/smu Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_services_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dm_services_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_services_types.h b/drivers/gpu/drm/amd/display/dc/dm_services_types.h
index 4c04ec587308..fa26cf488b3c 100644
--- a/drivers/gpu/drm/amd/display/dc/dm_services_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dm_services_types.h
@@ -29,6 +29,8 @@
#include "os_types.h"
#include "dc_types.h"
+#include "dm_pp_smu.h"
+
struct dm_pp_clock_range {
int min_khz;
int max_khz;