mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
drm/amd/display: Update idle optimization handling
[How] - use dc interface instead of hwss interface in cursor functions, to keep dc->idle_optimizations_allowed updated - add dc interface to check if idle optimizations might apply to a plane Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
f01afd1ee4
commit
e74c8a4611
@@ -217,6 +217,8 @@ struct hw_sequencer_funcs {
|
||||
/* Idle Optimization Related */
|
||||
bool (*apply_idle_power_optimizations)(struct dc *dc, bool enable);
|
||||
|
||||
bool (*does_plane_fit_in_mall)(struct dc *dc, struct dc_plane_state *plane);
|
||||
|
||||
bool (*is_abm_supported)(struct dc *dc,
|
||||
struct dc_state *context, struct dc_stream_state *stream);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user