drm/mediatek: Add fb swap in async_update
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 13 Feb 2020 01:23:53 +0000 (09:23 +0800)
committerCK Hu <ck.hu@mediatek.com>
Tue, 18 Feb 2020 07:41:51 +0000 (15:41 +0800)
commitc12b59adf21329b97609a9e23519055d6877c7b1
tree735ff407577f64e86903862c638e3907bbf3552c
parent551c5f5574759802b2549709b92bfdc7ddf36972
drm/mediatek: Add fb swap in async_update

Besides x, y position, width and height,
fb also need updating in async update.

Fixes: 920fffcc8912 ("drm/mediatek: update cursors by using async atomic update")

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_plane.c