| commit | 3d2ed431b8f39483477bc3c3a2aefbc9778ffe12 | [log] [tgz] |
|---|---|---|
| author | Phong LE <ple@baylibre.com> | Wed Feb 19 15:13:24 2020 +0100 |
| committer | CK Hu <ck.hu@mediatek.com> | Tue Feb 25 13:02:22 2020 +0800 |
| tree | 3d31c1901508015bdb8f7869ffcd41079a8dbeae | |
| parent | 839cbf0531428f3f9535077a461b8631359c1165 [diff] |
drm/mediatek: Handle component type MTK_DISP_OVL_2L correctly
The larb device remains NULL if the type is MTK_DISP_OVL_2L.
A kernel panic is raised when a crtc uses mtk_smi_larb_get or
mtk_smi_larb_put.
Fixes: b17bdd0d7a73 ("drm/mediatek: add component OVL_2L0")
Signed-off-by: Phong LE <ple@baylibre.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>