drm: Use drm_mode_is_420_only() instead of open coding it
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 May 2021 10:27:42 +0000 (13:27 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 May 2021 18:22:30 +0000 (21:22 +0300)
commit1c4f39b04202595a599d7449fe38a9550001d9d9
tree5e0dd2d6da45839d0f8a0537fb0b8b7abb141631
parent660729e494b6ee64feb97b41f3092c32a41c7dae
drm: Use drm_mode_is_420_only() instead of open coding it

Replace the open coded drm_mode_is_420_only() with the real thing.

No functional changes.

Cc: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210504102742.7005-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_modes.c