]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a493f3df7b1717b23fa69e9525417dabd4bfb29
tree00f8901fab8dff80537da1b8a580dba71aa3ca93
parenta0cea1fd310cc1f3d5b85b738f86dfd7cbc08d0b
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