drm/msm/mdp: mark if a MDP format is YUV at definition
authorWentao Xu <wentaox@codeaurora.org>
Mon, 6 Jul 2015 20:35:29 +0000 (16:35 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:19 +0000 (18:27 -0400)
commitff78a6b3771f48d1d5585e5d08ab4ae6fd606ab0
treedbe99589b77b7f3244ac4a3389557f8a8cf03fef
parent02b3ee466443ba6780562fb2af5fe0ad5bf059f6
drm/msm/mdp: mark if a MDP format is YUV at definition

This makes it easy to determine if a format is YUV. The old
method of using chroma sample type incorrectly marks YUV444 as
RGB format.

Signed-off-by: Wentao Xu <wentaox@codeaurora.org>
[rebase]
Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp_format.c
drivers/gpu/drm/msm/mdp/mdp_kms.h