diff options
author | Tony Cheng <tony.cheng@amd.com> | 2017-08-13 13:50:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:16:46 -0400 |
commit | a185048ca88ce143f980f2b819f034cfc09a5377 (patch) | |
tree | eb611070959085f5a1fbcf1f2f9201707a08d559 /drivers/gpu/drm/amd/display/dc/inc/resource.h | |
parent | 1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a (diff) |
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/inc/resource.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/resource.h b/drivers/gpu/drm/amd/display/dc/inc/resource.h index 13218a52e2fa..9085ec7ceac7 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/resource.h +++ b/drivers/gpu/drm/amd/display/dc/inc/resource.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "core_types.h" | 28 | #include "core_types.h" |
29 | #include "core_status.h" | 29 | #include "core_status.h" |
30 | #include "dal_asic_id.h" | 30 | #include "dal_asic_id.h" |
31 | #include "dm_pp_smu.h" | ||
31 | 32 | ||
32 | /* TODO unhardcode, 4 for CZ*/ | 33 | /* TODO unhardcode, 4 for CZ*/ |
33 | #define MEMORY_TYPE_MULTIPLIER 4 | 34 | #define MEMORY_TYPE_MULTIPLIER 4 |