UPSTREAM: drm: bridge/dw_hdmi: add atomic API support
authorMark Yao <mark.yao@rock-chips.com>
Mon, 30 Nov 2015 10:33:40 +0000 (18:33 +0800)
committerYakir Yang <ykk@rock-chips.com>
Wed, 6 Jul 2016 07:25:33 +0000 (15:25 +0800)
commit76f10cb390f01ba74acea1fd1953d6232706afb8
treee33b4e3de90280becb270cf4ff7158c4a86daec2
parent71439a07bca3a98412e2bcf42f0a7cf7979e4897
UPSTREAM: drm: bridge/dw_hdmi: add atomic API support

Fill atomic needed funcs with default atomic helper library.

Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api,
we need dw_hdmi support atomic funcs.

Now another drm driver use dw_hdmi is imx, not yet atomic, so
check DRIVER_ATOMIC at runtime to spilt atomic and not atomic.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Change-Id: I519527efaf88b1e5c1b30db1fd23e59d45b88d50
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
(cherry pick from 2c5b2cccdbde278fb702893404a2ea20f81f0345)
drivers/gpu/drm/bridge/dw-hdmi.c