drm/bridge: chipone-icn6211: Switch to atomic operations
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 19 Nov 2021 14:53:24 +0000 (20:23 +0530)
committerRobert Foss <robert.foss@linaro.org>
Tue, 4 Jan 2022 13:31:50 +0000 (14:31 +0100)
commit3b26a2916844cf2680de10206e193e1d13f0eb88
tree818ccf917daf296f60658699727e342546b6954e
parente01356d18273bd52bc88179f907b9d12978ebddd
drm/bridge: chipone-icn6211: Switch to atomic operations

Replace atomic version of the pre_enable/enable/post_disable
operations to continue the transition to the atomic API.

Also added default drm atomic operations for duplicate, destroy
and reset state API's in order to have smooth transition on
atomic API's.

Tested on Allwinner R16/R40 DSI.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211119145325.1775046-1-jagan@amarulasolutions.com
drivers/gpu/drm/bridge/chipone-icn6211.c