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)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 28 Dec 2015 00:55:53 +0000 (08:55 +0800)
commit2c5b2cccdbde278fb702893404a2ea20f81f0345
treea471e2de43331d0a6e0ed72938db30516d7a0f18
parentd0e20d0ebfe40a4eba52bef2e1e03e91fce88528
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>
drivers/gpu/drm/bridge/dw-hdmi.c