diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-01-20 16:16:13 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-01-25 10:01:44 +0100 |
commit | c03d0b52ff71d580ee235463c7ca9eac31351dcd (patch) | |
tree | da186d8bce17127cd1911fcfa6bdeb7a798688eb /drivers/gpu/drm/rockchip | |
parent | 4adc33f36d80489339f1b43dfeee96bb9ea8e459 (diff) | |
download | linux-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.c | 2 |
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"); |