diff options
| author | Ayan Kumar Halder <ayan.halder@arm.com> | 2018-07-23 09:57:00 +0100 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-07-24 14:34:41 +0200 |
| commit | 2aafafab5a9ad922ae13d04f5abca7942a499a5e (patch) | |
| tree | 5b1bf00446a84865d2ff9a86cf2ec0e196a4ed53 /net/lapb/lapb_in.c | |
| parent | 574e0fbfc95e7fccc3b8321f25e1e4366ce72ad2 (diff) | |
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
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
