Ayan Kumar Halder 2aafafab5a
drm/sun4i: Use (struct drm_format_info) fields to determine if a format is yuv and multi planar or not.
We do not need sun4i_backend_format_is_packed_yuv422() /
sun4i_backend_format_is_planar_yuv() to determine if the format is yuv multi planar
or not. (struct drm_format_info *)->is_yuv tells if the format is yuv or not.
And (struct drm_format_info *)->num_planes denotes the number of planes.

This issue was identified during a review on a previous patch:-
https://lists.freedesktop.org/archives/dri-devel/2018-July/183840.html

Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1532336220-3791-1-git-send-email-ayan.halder@arm.com
2018-07-24 14:34:41 +02:00
..
2018-07-04 10:27:12 +10:00
2018-06-22 12:58:08 +10:00
2018-06-28 13:29:07 +10:00
2018-06-22 12:58:08 +10:00
2018-07-02 18:45:55 +03:00
2018-07-13 18:40:28 +02:00
2018-07-13 17:58:19 +03:00
2018-05-03 21:26:32 +02:00