summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rockchip
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-01-20 16:16:13 +0100
committerMaxime Ripard <maxime@cerno.tech>2022-01-25 10:01:44 +0100
commitc03d0b52ff71d580ee235463c7ca9eac31351dcd (patch)
treeda186d8bce17127cd1911fcfa6bdeb7a798688eb /drivers/gpu/drm/rockchip
parent4adc33f36d80489339f1b43dfeee96bb9ea8e459 (diff)
downloadlinux-c03d0b52ff71d580ee235463c7ca9eac31351dcd.tar.gz
linux-c03d0b52ff71d580ee235463c7ca9eac31351dcd.tar.bz2
linux-c03d0b52ff71d580ee235463c7ca9eac31351dcd.zip
drm/connector: Fix typo in output format
The HDMI specification mentions YCbCr everywhere, but our enums have YCrCb. Let's rename it to match. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220120151625.594595-5-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r--drivers/gpu/drm/rockchip/analogix_dp-rockchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
index c61d37f02af7..c82901d9a9cc 100644
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
@@ -117,7 +117,7 @@ static int rockchip_dp_get_modes(struct analogix_dp_plat_data *plat_data,
{
struct drm_display_info *di = &connector->display_info;
/* VOP couldn't output YUV video format for eDP rightly */
- u32 mask = DRM_COLOR_FORMAT_YCRCB444 | DRM_COLOR_FORMAT_YCRCB422;
+ u32 mask = DRM_COLOR_FORMAT_YCBCR444 | DRM_COLOR_FORMAT_YCBCR422;
if ((di->color_formats & mask)) {
DRM_DEBUG_KMS("Swapping display color format from YUV to RGB\n");