drm: Implement the drm_format_*() helpers as drm_format_info() wrappers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 17 Oct 2016 22:41:10 +0000 (01:41 +0300)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 15 Aug 2018 02:37:31 +0000 (19:37 -0700)
commit4dd1618eccf367f467e6b05ca28064b60ecf1d00
treebbc677e072ff0f98789624b5413e8453ef4b4219
parent746abb0be03137f1590ba9bb59a4a68191766ab1
drm: Implement the drm_format_*() helpers as drm_format_info() wrappers

Turn the drm_format_*() helpers into wrappers around the drm_format_info
lookup function to centralize all format information in a single place.

Change-Id: I599e5a857b267f5ef24746991b7f3c25a9d92479
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-3-git-send-email-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/drm_fourcc.c