diff options
author | Martin Leung <martin.leung@amd.com> | 2020-08-28 17:48:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-16 00:52:41 +0300 |
commit | 6b85151f6bcdb796dfdb4d2e07dbeb4340b6b173 (patch) | |
tree | 3f64be4e63fa5083568e560c58182f6e20449add /drivers/gpu/drm/amd/display/dc/inc | |
parent | 6b29bb37373bfdcc851b2c907f6a9049427b1661 (diff) | |
download | linux-6b85151f6bcdb796dfdb4d2e07dbeb4340b6b173.tar.xz |
drm/amd/display: adding pathway to retrieve stutter period
why:
some functions may need be dependent on stutter period in the future
how:
Extract from stutter calculations and place into perf_params structure
Signed-off-by: Martin Leung <martin.leung@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/core_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/core_types.h b/drivers/gpu/drm/amd/display/dc/inc/core_types.h index cc5f053ef5a3..3ec1d9dd1670 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/core_types.h +++ b/drivers/gpu/drm/amd/display/dc/inc/core_types.h @@ -411,6 +411,10 @@ struct dc_state { struct clk_mgr *clk_mgr; struct kref refcount; + + struct { + unsigned int stutter_period_us; + } perf_params; }; #endif /* _CORE_TYPES_H_ */ |