Re: [PATCH] drm/sun4i: Use (struct drm_format_info) fields to determine if a format is yuv and multi planar or not.
From: Maxime Ripard
Date: Tue Jul 24 2018 - 08:35:12 EST
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:-
> Signed-off-by: Ayan Kumar halder <ayan.halder@xxxxxxx>
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
Description: PGP signature