Searched hist:"667 c769246b01c53ad0925d603d2a2531abd3ef2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-mmsys.c | diff 667c769246b01c53ad0925d603d2a2531abd3ef2 Wed Mar 25 12:31:23 CDT 2020 Enric Balletbo i Serra <enric.balletbo@collabora.com> soc / drm: mediatek: Fix mediatek-drm device probing
In the actual implementation the same compatible string "mediatek,<chip>-mmsys" is used to bind the clock drivers (drivers/soc/mediatek) as well as to the gpu driver (drivers/gpu/drm/mediatek/mtk_drm_drv.c). This ends with the problem that the only probed driver is the clock driver and there is no display at all.
In any case having the same compatible string for two drivers is not correct and should be fixed. To fix this, and maintain backward compatibility, we can consider that the mmsys driver is the top-level entry point for the multimedia subsystem, so is not a pure clock controller but a system controller, and the drm driver is instantiated by that MMSYS driver.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Acked-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | diff 667c769246b01c53ad0925d603d2a2531abd3ef2 Wed Mar 25 12:31:23 CDT 2020 Enric Balletbo i Serra <enric.balletbo@collabora.com> soc / drm: mediatek: Fix mediatek-drm device probing
In the actual implementation the same compatible string "mediatek,<chip>-mmsys" is used to bind the clock drivers (drivers/soc/mediatek) as well as to the gpu driver (drivers/gpu/drm/mediatek/mtk_drm_drv.c). This ends with the problem that the only probed driver is the clock driver and there is no display at all.
In any case having the same compatible string for two drivers is not correct and should be fixed. To fix this, and maintain backward compatibility, we can consider that the mmsys driver is the top-level entry point for the multimedia subsystem, so is not a pure clock controller but a system controller, and the drm driver is instantiated by that MMSYS driver.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Acked-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|