drm/i915: Fix bigjoiner state copy fails
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Feb 2022 07:20:09 +0000 (09:20 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Feb 2022 20:39:13 +0000 (22:39 +0200)
commit6148f3653bba417488e0d289bbe60c6fc7c4e711
tree00f8901fab8dff80537da1b8a580dba71aa3ca93
parent1a7a8d93db9b8c7ee9cba983fc6aa8576da237ea
drm/i915: Fix bigjoiner state copy fails

We seem to be missing a few things from the bigjoiner state copy.
Namely hw.mode isn't getting copied (which probably causes PIPESRC
to be misconfigured), CTM/LUTs aren't getting copied (which could
cause the pipe to produced incorrect output), and we also forgot
to copy over the color_mgmt_changed flag so potentially we fail
to do the actual CTM/LUT programming (assuming we aren't doing
a full modeset or fastset). Fix it all.

v2: Fix uapi.ctm vs. hw.ctm copy-paste fail

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204072009.1546-1-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/intel_display.c