drm/edid: Rename drm_hdmi_avi_infoframe_colorspace to _colorimetry
The drm_hdmi_avi_infoframe_colorspace() function actually sets the colorimetry and extended_colorimetry fields in the hdmi_avi_infoframe structure with DRM_MODE_COLORIMETRY_* values. To make things worse, the hdmi_avi_infoframe structure also has a colorspace field used to signal whether an RGB or YUV output is being used. Let's remove the inconsistency and allow for the colorspace usage by renaming the function. Reviewed-by:Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by:
Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220120151625.594595-2-maxime@cerno.tech
Showing
- drivers/gpu/drm/drm_edid.c 4 additions, 4 deletionsdrivers/gpu/drm/drm_edid.c
- drivers/gpu/drm/i915/display/intel_hdmi.c 1 addition, 1 deletiondrivers/gpu/drm/i915/display/intel_hdmi.c
- drivers/gpu/drm/i915/display/intel_lspcon.c 1 addition, 1 deletiondrivers/gpu/drm/i915/display/intel_lspcon.c
- drivers/gpu/drm/vc4/vc4_hdmi.c 1 addition, 1 deletiondrivers/gpu/drm/vc4/vc4_hdmi.c
- include/drm/drm_edid.h 2 additions, 2 deletionsinclude/drm/drm_edid.h
Please register or sign in to comment