+2
−1
Loading
For suspend/resume to work correctly, do for colorop state the same we do for plane/crtc/connector states: duplicate the state of colorops in a color pipeline if it's in use by a given plane when suspending and restore cached colorop states when resuming. While at it, prevent unused-variable warning when using for_each_new_colorop_in_stage here. Fixes: 2afc3184 ("drm/plane: Add COLOR PIPELINE property") Reviewed-by:Harry Wentland <harry.wentland@amd.com> Reviewed-by:
Alex Hung <alex.hung@amd.com> Reviewed-by:
Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Signed-off-by:
Melissa Wen <mwen@igalia.com> Link: https://patch.msgid.link/20260318163629.300627-1-mwen@igalia.com Signed-off-by:
Melissa Wen <melissa.srw@gmail.com>