[PATCH] drm/sun4i: Use (struct drm_format_info) fields to determine if a format is yuv and multi planar or not.
Maxime Ripard
maxime.ripard at bootlin.com
Tue Jul 24 12:35:07 UTC 2018
On Mon, Jul 23, 2018 at 09:57:00AM +0100, Ayan Kumar Halder wrote:
> 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 at arm.com>
Applied, thanks!
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180724/4e7a4103/attachment.sig>
More information about the dri-devel
mailing list