summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>2026-06-01 13:59:52 +0530
committerUma Shankar <uma.shankar@intel.com>2026-06-02 20:44:38 +0530
commitdfd604b259ce4269a4643a385f2c1200b5c90d12 (patch)
treee508c1e19ae5f52647767308333d2be6e4d01265 /tools
parent9ba383c2408426662fdc295336ebaa63ec91eb26 (diff)
drm/i915: Avoid programming color HW blocks for NV12 Y planes
link_nv12_planes() currently copies the full UV plane hw state to the Y plane. This includes the color pipeline blobs (ctm, degamma_lut, gamma_lut, lut_3d) which is incorrect as we don't need to program these HW blocks for Y plane. This is harmless currently as the color pipeline uapi does not support YUV (both packed and planar) formats but that can change in the future. Add a new static helper intel_plane_y_copy_hw_state() that copies only the rendering parameters a Y plane actually needs, leaving all color pipeline blobs unset. Remove the helper intel_plane_copy_hw_state() as there are no users for it. v2: - drop the extra spaces before ='s (Jani) Cc: Jani Nikula <jani.nikula@intel.com> Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com> Signed-off-by: Uma Shankar <uma.shankar@intel.com> Link: https://patch.msgid.link/20260601082953.128539-3-chaitanya.kumar.borah@intel.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions