diff options
| author | jason-jh.lin <[email protected]> | 2021-07-22 01:47:43 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2021-07-22 14:57:52 +0000 |
| commit | 1a64a7aff8da352c9419de3d5c34343682916411 (patch) | |
| tree | 62133ac0971f457fd535d3910c3bb4ccbfd01b8c /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c | |
| parent | drm/mediatek: mtk-dpi: Set out_fmt from config if not the last bridge (diff) | |
| download | kernel-1a64a7aff8da352c9419de3d5c34343682916411.tar.gz kernel-1a64a7aff8da352c9419de3d5c34343682916411.zip | |
drm/mediatek: Fix cursor plane no update
The cursor plane should use the current plane state in atomic_async_update
because it would not be the new plane state in the global atomic state
since _swap_state happened when those hook are run.
Fix cursor plane issue by below modification:
1. Remove plane_helper_funcs->atomic_update(plane, state) in
mtk_drm_crtc_async_update.
2. Add mtk_drm_update_new_state in to mtk_plane_atomic_async_update to
update the cursor plane by current plane state hook and update
others plane by the new_state.
Fixes: 37418bf14c13 ("drm: Use state helper instead of the plane state pointer")
Signed-off-by: jason-jh.lin <[email protected]>
Tested-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
0 files changed, 0 insertions, 0 deletions
