Files
Karol Herbst 3603886926 drm/drm_atomic: duplicate colorop states if plane color pipeline in use
JIRA: https://redhat.atlassian.net/browse/RHEL-180328

commit 6bf7969a145e13a3390143038fe82c52025aeb93
Author: Melissa Wen <mwen@igalia.com>
Date:   Wed Mar 18 13:27:11 2026 -0300

    drm/drm_atomic: duplicate colorop states if plane color pipeline in use

    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: 2afc3184f3b3 ("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>

Signed-off-by: Karol Herbst <kherbst@redhat.com>
2026-08-18 11:01:57 +02:00
..