]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/display: Use sink_format instead of ycbcr420_output flag
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 27 Apr 2023 12:56:03 +0000 (18:26 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 May 2023 15:12:02 +0000 (18:12 +0300)
commit523156799441f2625d4acbb0ba0904128e06622e
tree48dda9962994899042a56f8cb07b25d3f39ad85d
parent9cca0fe329599109ed69e3c9583a8c4287feaf9b
drm/i915/display: Use sink_format instead of ycbcr420_output flag

Start passing the sink_format, to all functions that take a bool
ycbcr420_output as parameter. This will make the functions generic,
and will serve as a slight step towards 4:2:2 support later.

v2: Rebased.

v3: Correct the checks in places concerned with pipe output. (Ville)
Other minor styling and refactoring fixes, as suggested by Ville.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230427125605.487769-5-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_hdmi.h