mediatek drm fixes for 5.2
Hi Dave, Daniel:
This include unbind error fix, clock control flow refinement, and PRIME mmap with page offset.
Regards,
CK
The following changes since commita188339ca5a396acc588e5851ed7e19f66b0ebd9:
Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
are available in the Git repository at:
https://github.com/ckhu-mediatek/linux.git-tags.git
mediatek-drm-fixes-5.2
for you to fetch changes up to 2458d9d6d94be982b917e93c61a89b4426f32e31:
drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
(2019-06-04 09:54:42 +0800)
----------------------------------------------------------------
Hsin-Yi Wang (5):
drm/mediatek: fix unbind functions
drm/mediatek: unbind components in mtk_drm_unbind() drm/mediatek: call drm_atomic_helper_shutdown() when unbinding
driver
drm/mediatek: clear num_pipes when unbind driver drm/mediatek: call mtk_dsi_stop() aftermtk_drm_crtc_atomic_disable()
Yongqiang Niu (2):
drm/mediatek: adjust ddp clock control flow drm/mediatek: respect page offset for PRIME mmap calls
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 30 ++++++------------------------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 7 ++++++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 +++++++++++- 4 files changed, 26 insertions(+), 31 deletions(-)
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · CK Hu
Hi Dave, Daniel:
This include unbind error fix, clock control flow refinement, and PRIME mmap with page offset.
Regards,
CKThe following changes since commit
a188339ca5a396acc588e5851ed7e19f66b0ebd9:
Quoted 6 lines
Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
are available in the Git repository at:
https://github.com/ckhu-mediatek/linux.git-tags.git
mediatek-drm-fixes-5.2
For next time around, please make this a signed annotated tag. annotated because then it's less typing for me, and signed because it's on a server we don't necessarily trust.
Quoted 16 lines
for you to fetch changes up to
2458d9d6d94be982b917e93c61a89b4426f32e31:drm/mediatek: call
mtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
(2019-06-04 09:54:42 +0800)----------------------------------------------------------------
Hsin-Yi Wang (5):
drm/mediatek: fix unbind functions
drm/mediatek: unbind components inmtk_drm_unbind()drm/mediatek: calldrm_atomic_helper_shutdown()when unbinding
driver
drm/mediatek: clearnum_pipeswhen unbind driver drm/mediatek: callmtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
Quoted 3 lines
Yongqiang Niu (2):
drm/mediatek: adjust ddp clock control flow drm/mediatek: respect page offset for PRIME mmap calls
You might want to look into all the recently added helpers for mmap, I don't think mtk does anything special here.
Quoted 7 lines
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 30 ++++++------------------------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 7 ++++++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 +++++++++++- 4 files changed, 26 insertions(+), 31 deletions(-)
Pulled, thanks.
-Daniel
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi, Daniel:
Quoted 14 lines · Daniel Vetter
Quoted 13 lines · CK Hu
Hi Dave, Daniel:
This include unbind error fix, clock control flow refinement, and PRIME mmap with page offset.
Regards,
CKThe following changes since commit
a188339ca5a396acc588e5851ed7e19f66b0ebd9:Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
Quoted 8 lines
Quoted 4 lines
are available in the Git repository at:
https://github.com/ckhu-mediatek/linux.git-tags.git
mediatek-drm-fixes-5.2For next time around, please make this a signed annotated tag. annotated because then it's less typing for me, and signed because it's on a server we don't necessarily trust.
OK, I'd make a signed annotated tag in next time.
Quoted 17 lines
Quoted 17 lines
for you to fetch changes up to
2458d9d6d94be982b917e93c61a89b4426f32e31:drm/mediatek: call
mtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
(2019-06-04 09:54:42 +0800)----------------------------------------------------------------
Hsin-Yi Wang (5):
drm/mediatek: fix unbind functions
drm/mediatek: unbind components inmtk_drm_unbind()drm/mediatek: calldrm_atomic_helper_shutdown()when unbinding
driver
drm/mediatek: clearnum_pipeswhen unbind driver drm/mediatek: callmtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
Quoted 6 lines
Quoted 3 lines
Yongqiang Niu (2):
drm/mediatek: adjust ddp clock control flow drm/mediatek: respect page offset for PRIME mmap callsYou might want to look into all the recently added helpers for mmap, I don't think mtk does anything special here.
If you mean using drm_gem_prime_mmap as the implementation of drm_driver->gem_prime_mmap, I think we have discussed in [1] that mediatek drm still need its own implementation.
[1] https://patchwork.kernel.org/patch/10657007/
Regards,
CK
Quoted 10 lines
Quoted 9 lines
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 30 ++++++------------------------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 7 ++++++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 +++++++++++- 4 files changed, 26 insertions(+), 31 deletions(-)
Quoted 9 lines
Pulled, thanks.
-DanielQuoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 49 lines · CK Hu
Hi, Daniel:
Quoted 14 lines · Daniel Vetter
Quoted 13 lines · CK Hu
Hi Dave, Daniel:
This include unbind error fix, clock control flow refinement, and PRIME mmap with page offset.
Regards,
CKThe following changes since commit
a188339ca5a396acc588e5851ed7e19f66b0ebd9:Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
Quoted 8 lines
Quoted 4 lines
are available in the Git repository at:
https://github.com/ckhu-mediatek/linux.git-tags.git
mediatek-drm-fixes-5.2For next time around, please make this a signed annotated tag. annotated because then it's less typing for me, and signed because it's on a server we don't necessarily trust.
OK, I'd make a signed annotated tag in next time.
Quoted 21 lines
Quoted 20 lines
for you to fetch changes up to
2458d9d6d94be982b917e93c61a89b4426f32e31:drm/mediatek: call
mtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
(2019-06-04 09:54:42 +0800)----------------------------------------------------------------
Hsin-Yi Wang (5):
drm/mediatek: fix unbind functions
drm/mediatek: unbind components inmtk_drm_unbind()drm/mediatek: calldrm_atomic_helper_shutdown()when unbinding
driver
drm/mediatek: clearnum_pipeswhen unbind driver drm/mediatek: callmtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()Yongqiang Niu (2):
drm/mediatek: adjust ddp clock control flow drm/mediatek: respect page offset for PRIME mmap calls
Quoted 8 lines
Quoted 2 lines
You might want to look into all the recently added helpers for mmap, I don't think mtk does anything special here.
If you mean using
drm_gem_prime_mmapas the implementation ofdrm_driver->gem_prime_mmap, I think we have discussed in [1] that mediatek drm still need its own implementation.
Yeah for reusing the overall helpers that's clear, but drm_gem_prime_gem_mmap should work for any gem based driver. It doesn't require you to use specific helpers at all.
I'm wondering about this since I'm looking right now into this area, and it looks like we could just make drm_gem_prime_mmap the default and rip out all the custom driver implementations.
-Daniel
Quoted 25 lines
Regards,
CKQuoted 19 lines
Quoted 9 lines
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 30 ++++++------------------------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 7 ++++++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 +++++++++++- 4 files changed, 26 insertions(+), 31 deletions(-)Pulled, thanks.
-DanielQuoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 59 lines · Daniel Vetter
Quoted 49 lines · CK Hu
Hi, Daniel:
Quoted 14 lines · Daniel Vetter
Quoted 13 lines · CK Hu
Hi Dave, Daniel:
This include unbind error fix, clock control flow refinement, and PRIME mmap with page offset.
Regards,
CKThe following changes since commit
a188339ca5a396acc588e5851ed7e19f66b0ebd9:Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
Quoted 8 lines
Quoted 4 lines
are available in the Git repository at:
https://github.com/ckhu-mediatek/linux.git-tags.git
mediatek-drm-fixes-5.2For next time around, please make this a signed annotated tag. annotated because then it's less typing for me, and signed because it's on a server we don't necessarily trust.
OK, I'd make a signed annotated tag in next time.
Quoted 21 lines
Quoted 20 lines
for you to fetch changes up to
2458d9d6d94be982b917e93c61a89b4426f32e31:drm/mediatek: call
mtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()
(2019-06-04 09:54:42 +0800)----------------------------------------------------------------
Hsin-Yi Wang (5):
drm/mediatek: fix unbind functions
drm/mediatek: unbind components inmtk_drm_unbind()drm/mediatek: calldrm_atomic_helper_shutdown()when unbinding
driver
drm/mediatek: clearnum_pipeswhen unbind driver drm/mediatek: callmtk_dsi_stop()aftermtk_drm_crtc_atomic_disable()Yongqiang Niu (2):
drm/mediatek: adjust ddp clock control flow drm/mediatek: respect page offset for PRIME mmap callsQuoted 8 lines
Quoted 2 lines
You might want to look into all the recently added helpers for mmap, I don't think mtk does anything special here.
If you mean using
drm_gem_prime_mmapas the implementation ofdrm_driver->gem_prime_mmap, I think we have discussed in [1] that mediatek drm still need its own implementation.
Quoted 7 lines
Yeah for reusing the overall helpers that's clear, but
drm_gem_prime_gem_mmapshould work for any gem based driver. It doesn't require you to use specific helpers at all.I'm wondering about this since I'm looking right now into this area, and it looks like we could just make
drm_gem_prime_mmapthe default and rip out all the custom driver implementations.
OK, I find that drm_gem_prime_mmap() call driver->fops->mmap(), so the customization could be done in driver->fops->mmap and let drm_driver.gem_prime_mmap to be drm_gem_prime_mmap. I would try to do so.
Regards,
CK
Quoted 28 lines
-Daniel
Quoted 25 lines
Regards,
CKQuoted 19 lines
Quoted 9 lines
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 30 ++++++------------------------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 7 ++++++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 +++++++++++- 4 files changed, 26 insertions(+), 31 deletions(-)Pulled, thanks.
-DanielQuoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel