drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.
authorEric Anholt <eric@anholt.net>
Thu, 11 May 2017 18:31:28 +0000 (11:31 -0700)
committerArchit Taneja <architt@codeaurora.org>
Mon, 5 Jun 2017 10:03:50 +0000 (15:33 +0530)
commit96160a8071b2d76b5dfe6c2478684207cc758553
tree02ef4f0b54666fc3fccbcc17ffb478f093622089
parent510fc3c0d761b8f274e2a62f9b4c69bdc6841182
drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.

This cuts 135 lines of boilerplate, at the cost of losing the
filtering of get_modes() using atmel_hlcdc_dc_mode_valid().  The
atomic check will still check that we don't set an invalid mode,
though.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511183128.25085-7-eric@anholt.net
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c