mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
drm/i915/display: simplify glk_plane_color_ctl_input_csc
Add early return for non-YUV formats and hoist the duplicated color_range check out of the if/else branches. No functional change. Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com> Link: https://patch.msgid.link/20260902075417.656673-4-chaitanya.kumar.borah@intel.com
This commit is contained in:
parent
0bc13827b3
commit
f4a41051c3
1 changed files with 8 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue