mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 12:56:18 +07:00
drm/mediatek: set vblank_disable_allowed to true
MTK DRM driver didn't set the vblank_disable_allowed to true, it cause that the irq_handler is called every 16.6 ms (every vblank) when the display didn't be updated. Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com> Acked-by: CK Hu <ck.hu@mediatek.com>
This commit is contained in:
parent
83ba62bc70
commit
f752fff611
@ -217,6 +217,7 @@ static int mtk_drm_kms_init(struct drm_device *drm)
|
||||
if (ret < 0)
|
||||
goto err_component_unbind;
|
||||
|
||||
drm->vblank_disable_allowed = true;
|
||||
drm_kms_helper_poll_init(drm);
|
||||
drm_mode_config_reset(drm);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user