#
74944a58 |
| 17-Nov-2014 |
YoungJun Cho <yj44.cho@samsung.com> |
drm/exynos: fimd: move shadow unprotection position
The C#_EN_F in SHADOWCON register is updated per frame. So it should be protected by fimd_shadow_protect_win().
Signed-off-by: YoungJun Cho <yj44
drm/exynos: fimd: move shadow unprotection position
The C#_EN_F in SHADOWCON register is updated per frame. So it should be protected by fimd_shadow_protect_win().
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
9b67eb73 |
| 17-Nov-2014 |
Joonyoung Shim <jy0922.shim@samsung.com> |
drm/exynos: move triggering checking
It's better to be checking whether triggerring in fimd_trigger function. Also it will return if in triggerring on fimd_te_handler, then it can't execute remain c
drm/exynos: move triggering checking
It's better to be checking whether triggerring in fimd_trigger function. Also it will return if in triggerring on fimd_te_handler, then it can't execute remain codes.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
3c3c9c1d |
| 13-Nov-2014 |
Joonyoung Shim <jy0922.shim@samsung.com> |
drm/exynos: add has_vtsel flag
The exynos fimd provides video type selection bits from system register but exynos3 series don't has it, so needs has_vtsel flag and we can distinguish whether set vid
drm/exynos: add has_vtsel flag
The exynos fimd provides video type selection bits from system register but exynos3 series don't has it, so needs has_vtsel flag and we can distinguish whether set video type selection bits.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.18-rc3, v3.18-rc2, v3.18-rc1, v3.17 |
|
#
b301ae24 |
| 01-Oct-2014 |
YoungJun Cho <yj44.cho@samsung.com> |
drm/exynos: fimd: move handle vblank position in TE handler
For providing VBLANK information, drm_handle_vblank() should be called properly, but it is blocked by wait_vsync_event condition which is
drm/exynos: fimd: move handle vblank position in TE handler
For providing VBLANK information, drm_handle_vblank() should be called properly, but it is blocked by wait_vsync_event condition which is set by manager_ops->wait_for_vblank(). So moves it out from wait_vsync_event routine.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
bd953de9 |
| 01-Oct-2014 |
YoungJun Cho <yj44.cho@samsung.com> |
drm/exynos: fimd: remove unnecessary waiting vblank routine
The exynos_drm_crtc_dpms() waits until pended page flip queue is empty, calls the drm_vblank_off() then calls manager->ops->dpms() when mo
drm/exynos: fimd: remove unnecessary waiting vblank routine
The exynos_drm_crtc_dpms() waits until pended page flip queue is empty, calls the drm_vblank_off() then calls manager->ops->dpms() when mode is DRM_MODE_DPMS_OFF. The fimd_dpms() is one of manager->ops->dpms()s and finally calls fimd_window_suspend(). But there is no active window and vblank is already off when it is called. So addtional waiting vblank is not necessary any more.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
dcb622aa |
| 07-Nov-2014 |
YoungJun Cho <yj44.cho@samsung.com> |
drm/exynos: fimd: support Exynos4415 SoC
This patch supports Exynos4415 SoC.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: In
drm/exynos: fimd: support Exynos4415 SoC
This patch supports Exynos4415 SoC.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.17-rc7, v3.17-rc6 |
|
#
72ed6ccd |
| 19-Sep-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: switch to universal plane API
The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace
drm/exynos: switch to universal plane API
The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary plane with the real one. Additionally the patch leaves cleanup of crtcs to core, this way planes and crtcs are cleaned in correct order.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
4a3ffedd |
| 18-Sep-2014 |
Joonyoung Shim <jy0922.shim@samsung.com> |
drm/exynos: factor out initial setting of each driver
From fimd driver and vidi driver, dev->irq_enabled and dev->vblank_disable_allowed are set and also mixer needs them even if missed. It's duplic
drm/exynos: factor out initial setting of each driver
From fimd driver and vidi driver, dev->irq_enabled and dev->vblank_disable_allowed are set and also mixer needs them even if missed. It's duplicated so set them when loads drm driver.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.17-rc5, v3.17-rc4 |
|
#
eb8a3bf7 |
| 01-Sep-2014 |
Marek Szyprowski <m.szyprowski@samsung.com> |
drm/exynos: fimd: fix window clear code
To correctly disable hardware window during driver init, both enable bits (WINCONx_ENWIN in WINCON and SHADOWCON_CHx_ENABLE in SHADOWCON) must be cleared, oth
drm/exynos: fimd: fix window clear code
To correctly disable hardware window during driver init, both enable bits (WINCONx_ENWIN in WINCON and SHADOWCON_CHx_ENABLE in SHADOWCON) must be cleared, otherwise hardware fails to re-enable such window later.
While touching this function, also temporarily disable ctx->suspended flag to let fimd_wait_for_vblank function really to do its job.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.17-rc3, v3.17-rc2 |
|
#
d6ce7b58 |
| 18-Aug-2014 |
Inki Dae <inki.dae@samsung.com> |
drm/exynos: fimd: add Exynos3 SoC support
Signed-off-by: Inki Dae <inki.dae@samsung.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
|
Revision tags: v3.17-rc1, v3.16 |
|
#
0262ceeb |
| 29-Jul-2014 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
Subject: Revert "drm/exynos: fix module build error"
Since 21bdd17b21b45ea48e06e23918d681afbe0622e9 it is possible to have multiple calls to MODULE_DEVICE_TABLE, so the patch can be reverted to rest
Subject: Revert "drm/exynos: fix module build error"
Since 21bdd17b21b45ea48e06e23918d681afbe0622e9 it is possible to have multiple calls to MODULE_DEVICE_TABLE, so the patch can be reverted to restore support for autoloading
Conflicts: drivers/gpu/drm/exynos/exynos_drm_fimd.c drivers/gpu/drm/exynos/exynos_drm_g2d.c
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.16-rc7, v3.16-rc6 |
|
#
3854fab2 |
| 17-Jul-2014 |
YoungJun Cho <yj44.cho@samsung.com> |
drm/exynos: fimd: support LCD I80 interface
To support MIPI command mode based I80 interface panel, FIMD should do followings: - Sets LCD I80 interface timings configuration. - Uses "lcd_sys" as an
drm/exynos: fimd: support LCD I80 interface
To support MIPI command mode based I80 interface panel, FIMD should do followings: - Sets LCD I80 interface timings configuration. - Uses "lcd_sys" as an IRQ resource and sets relevant IRQ configuration. - Sets LCD block configuration for I80 interface. - Sets ideal(pixel) clock is 2 times faster than the original one to generate frame done IRQ prior to the next TE signal. - Implements trigger feature that transfers image data if there is page flip request, and implements TE handler to call trigger function.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.16-rc5, v3.16-rc4, v3.16-rc3, v3.16-rc2, v3.16-rc1 |
|
#
d9b68d89 |
| 09-Jun-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: disable unused windows on apply
The patch disables non-enabled HW windows on applying configuration, it will allow to clear windows enabled by bootloader.
Signed-off-by: Andrzej Hajda <
drm/exynos: disable unused windows on apply
The patch disables non-enabled HW windows on applying configuration, it will allow to clear windows enabled by bootloader.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.15, v3.15-rc8 |
|
#
df5225bc |
| 29-May-2014 |
Inki Dae <inki.dae@samsung.com> |
drm/exynos: consider deferred probe case
This patch makes sure that exynos drm framework handles deferred probe case correctly.
Sub drivers could be probed before resources, clock, regulator, phy o
drm/exynos: consider deferred probe case
This patch makes sure that exynos drm framework handles deferred probe case correctly.
Sub drivers could be probed before resources, clock, regulator, phy or panel, are ready for them so we should make sure that exynos drm core waits until all resources are ready and sub drivers are probed correctly.
Chagelog v2: - Make sure that exynos drm core tries to bind sub drivers only in case that they have a pair: crtc and encoder/connector components should be a pair. - Remove unnecessary patch: drm/exynos: mipi-dsi: consider panel driver-deferred probe - Return error type correctly.
Signed-off-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
show more ...
|
#
972145c7 |
| 28-May-2014 |
Rahul Sharma <rahul.sharma@samsung.com> |
drm/exynos: remove hardware overlays disable from fimd probe
System hangs when FIMD registers are accessed to disable hardware overlays. This is because of the clocks which are not enabled before re
drm/exynos: remove hardware overlays disable from fimd probe
System hangs when FIMD registers are accessed to disable hardware overlays. This is because of the clocks which are not enabled before register access.
'Hardware overlay disable' is cleaned from the FIMD probe.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.15-rc7, v3.15-rc6, v3.15-rc5 |
|
#
66367461 |
| 07-May-2014 |
Rahul Sharma <Rahul.Sharma@samsung.com> |
drm/exynos: use 4WORD dma burst length for small fbs
In case of exynos, setting dma-burst to 16Word causes permanent tearing for very small buffers, e.g. cursor buffer. Burst Mode switching, which i
drm/exynos: use 4WORD dma burst length for small fbs
In case of exynos, setting dma-burst to 16Word causes permanent tearing for very small buffers, e.g. cursor buffer. Burst Mode switching, which is based on overlay size is not recommended as overlay size varies a lot towards the end of the screen. This causes unstable DMA which results into tearing again.
Rendering small buffers with lower burst size doesn't cause any noticable performance overhead. 128 pixel width is selected based on mulitple experiments with exynos5 SoCs.
Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com> Signed-off-by: Prathyush K <prathyush.k@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.15-rc4, v3.15-rc3, v3.15-rc2, v3.15-rc1 |
|
#
000cc920 |
| 03-Apr-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: separate dpi from fimd
The patch separates dpi related routines from fimd.
Changelog v2: - Rename ctx->dpi to ctx->display
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off
drm/exynos: separate dpi from fimd
The patch separates dpi related routines from fimd.
Changelog v2: - Rename ctx->dpi to ctx->display
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
f37cd5e8 |
| 09-May-2014 |
Inki Dae <inki.dae@samsung.com> |
drm/exynos: add component framework support
This patch adds component framework support to resolve the probe order issue.
Until now, exynos drm had used codes specific to exynos drm to resolve that
drm/exynos: add component framework support
This patch adds component framework support to resolve the probe order issue.
Until now, exynos drm had used codes specific to exynos drm to resolve that issue so with this patch, the specific codes are removed.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
f13bdbd1 |
| 28-Apr-2014 |
Akshu Agrawal <akshu.a@samsung.com> |
drm/exynos: fimd: clear channel before enabling iommu
If any fimd channel was already active, initializing iommu will result in a PAGE FAULT (e.e. u-boot could have turned on the display and not dis
drm/exynos: fimd: clear channel before enabling iommu
If any fimd channel was already active, initializing iommu will result in a PAGE FAULT (e.e. u-boot could have turned on the display and not disabled it before the kernel starts). This patch checks if any channel is active before initializing iommu and disables it.
Signed-off-by: Akshu Agrawal <akshu.a@samsung.com> Signed-off-by: Prathyush K <prathyush.k@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.14, v3.14-rc8 |
|
#
1d531062 |
| 20-Mar-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: fimd: remove unused variable
The patch removes unused vidcon0 field from fimd_context structure.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Tomasz Figa <t.figa@sams
drm/exynos: fimd: remove unused variable
The patch removes unused vidcon0 field from fimd_context structure.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
14b6873a |
| 17-Mar-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: restore parallel output interface support
The patch adds parallel output interface to FIMD device driver. It also restores support for panels initialized by boot loader, but without prop
drm/exynos: restore parallel output interface support
The patch adds parallel output interface to FIMD device driver. It also restores support for panels initialized by boot loader, but without proper kernel driver. Driver uses video interface bindings to find connected panel. It uses drm_panel interface to interact with the panel.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
8b4cad23 |
| 17-Mar-2014 |
Andrzej Hajda <a.hajda@samsung.com> |
drm/exynos: correct timing porch conversion
The patch corrects porch calculation. It should be calculated as a difference between adjacent respective fields of drm_display_mode.
Signed-off-by: Andr
drm/exynos: correct timing porch conversion
The patch corrects porch calculation. It should be calculated as a difference between adjacent respective fields of drm_display_mode.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
Revision tags: v3.14-rc7, v3.14-rc6, v3.14-rc5, v3.14-rc4, v3.14-rc3, v3.14-rc2, v3.14-rc1 |
|
#
af65c804 |
| 30-Jan-2014 |
Sean Paul <seanpaul@chromium.org> |
drm/exynos: Consolidate suspend/resume in drm_drv
This patch removes all of the suspend/resume logic from the individual drivers and consolidates it in drm_drv. This consolidation reduces the number
drm/exynos: Consolidate suspend/resume in drm_drv
This patch removes all of the suspend/resume logic from the individual drivers and consolidates it in drm_drv. This consolidation reduces the number of functions which enable/disable the hardware to just one -- the dpms callback. This ensures that we always power up/down in a consistent manner.
Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
a43b933b |
| 30-Jan-2014 |
Sean Paul <seanpaul@chromium.org> |
drm/exynos: Clean up FIMD power on/off routines
This patch separates the fimd_activate function into poweron/poweroff functions to be more consistent with the other drivers in exynos drm. It also pr
drm/exynos: Clean up FIMD power on/off routines
This patch separates the fimd_activate function into poweron/poweroff functions to be more consistent with the other drivers in exynos drm. It also properly cleans up after failures in poweron. The functions have also been shuffled around such that they are all in the same spot in the file and poweron/poweroff can be called from the dpms function.
Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|
#
1417f109 |
| 30-Jan-2014 |
Sean Paul <seanpaul@chromium.org> |
drm/exynos: Move display implementation into dp
This patch moves the exynos_drm_display implementation from fimd into the dp driver. This will allow for tighter integration of the dp driver into the
drm/exynos: Move display implementation into dp
This patch moves the exynos_drm_display implementation from fimd into the dp driver. This will allow for tighter integration of the dp driver into the exynos drm driver.
Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
show more ...
|