Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1493142
| From | CK Hu <ck.hu@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] drm/mediatek: set vblank_disable_allowed to true |
| Date | 2016-09-29 07:40 +0200 |
| Message-ID | <smCeB-8kt-3@gated-at.bofh.it> (permalink) |
| References | <smAmt-7a6-1@gated-at.bofh.it> <smAmt-7a6-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Acked-by: CK Hu <ck.hu@mediatek.com> On Thu, 2016-09-29 at 11:29 +0800, Bibby Hsieh wrote: > 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> > --- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > index eebb7d8..941ec5f 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > @@ -200,6 +200,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); >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] fix issue: vblank interrupts are never disabled Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-09-29 05:40 +0200
[PATCH 1/2] drm/mediatek: set vblank_disable_allowed to true Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-09-29 05:40 +0200
Re: [PATCH 1/2] drm/mediatek: set vblank_disable_allowed to true CK Hu <ck.hu@mediatek.com> - 2016-09-29 07:40 +0200
[PATCH 2/2] drm/mediatek: clear IRQ status before enable OVL interrupt Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-09-29 05:40 +0200
Re: [PATCH 2/2] drm/mediatek: clear IRQ status before enable OVL interrupt CK Hu <ck.hu@mediatek.com> - 2016-09-29 07:40 +0200
Re: [PATCH 0/2] fix issue: vblank interrupts are never disabled Daniel Kurtz <djkurtz@chromium.org> - 2016-10-07 12:40 +0200
csiph-web