| 1399ebac | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Add DT support
Add DT support, by: 1. Creating a panel bridge from DT, and attaching it to the encoder, 2. Replacing the custom connector with a bridge connector, 3. Ob
drm: renesas: shmobile: Add DT support
Add DT support, by: 1. Creating a panel bridge from DT, and attaching it to the encoder, 2. Replacing the custom connector with a bridge connector, 3. Obtaining clock configuration based on the compatible value.
Note that for now the driver uses a fixed clock configuration selecting the bus clock, as the current code to select other clock inputs needs changes to support any other SoCs than SH7724.
Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/6185ab76aa300fa402e4f6610b2109665f2d8a1c.1694767209.git.geert+renesas@glider.be
show more ...
|
| b2b2f7ba | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Atomic conversion part 3
Complete the conversion to atomic mode setting by converting the connector, and setting the DRIVER_ATOMIC flag.
Reviewed-by: Laurent Pinchart <laure
drm: renesas: shmobile: Atomic conversion part 3
Complete the conversion to atomic mode setting by converting the connector, and setting the DRIVER_ATOMIC flag.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/042f9ff076c4b1c87235c74c8b76c9d161e126ec.1694767209.git.geert+renesas@glider.be
show more ...
|
| 7c2d79f0 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Remove internal CRTC state tracking
Now the suspend/resume methods no longer need to look at internal driver state, the dpms and started fields in the shmob_drm_crtc structur
drm: renesas: shmobile: Remove internal CRTC state tracking
Now the suspend/resume methods no longer need to look at internal driver state, the dpms and started fields in the shmob_drm_crtc structure can be removed, as well as the shmob_drm_crtc_dpms() wrapper. After this, shmob_drm_crtc_atomic_{en,dis}able() became just wrappers around shmob_drm_crtc_st{art,op}(), so inline the latter.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/905b9ca72f43d40438c8cb1199cde140eb123204.1694767209.git.geert+renesas@glider.be
show more ...
|
| cc2c9546 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Use suspend/resume helpers
Replace the custom suspend/resume handling by calls into drm_mode_config_helper_{suspend,resume}().
Reviewed-by: Laurent Pinchart <laurent.pinchar
drm: renesas: shmobile: Use suspend/resume helpers
Replace the custom suspend/resume handling by calls into drm_mode_config_helper_{suspend,resume}().
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/a52147ca6033e0a59675f37f0326c7404fc5919c.1694767209.git.geert+renesas@glider.be
show more ...
|
| e3c8898b | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Atomic conversion part 2
Implement atomic mode setting for the CRTC, using the existing dpms callback.
Signed-off-by: Geert Uytterhoeven <[email protected]> Link: http
drm: renesas: shmobile: Atomic conversion part 2
Implement atomic mode setting for the CRTC, using the existing dpms callback.
Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/ca2a00200ef5ac899a6131087d0a30de1c806119.1694767209.git.geert+renesas@glider.be
show more ...
|
| 4afa0410 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Atomic conversion part 1
Implement atomic mode setting for both the primary and overlay planes. This involves: - Moving the primary plane handling code from CRTC mode setti
drm: renesas: shmobile: Atomic conversion part 1
Implement atomic mode setting for both the primary and overlay planes. This involves: - Moving the primary plane handling code from CRTC mode setting to plane handling shared by primary and overlay planes, - Adding basic CRTC and mode config atomic mode setting ops, which don't do much yet.
Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/a6b698a1c8c1eaf631c2f928f5888ab5fe7aa4c3.1694767209.git.geert+renesas@glider.be
show more ...
|
| 22a44145 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Cleanup encoder
Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks.
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideas
drm: renesas: shmobile: Cleanup encoder
Most unused callbacks can be NULL pointers these days. Drop a bunch of empty encoder callbacks.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/04f186573e1df90ecc051272f3d1cbe564c3469b.1694767209.git.geert+renesas@glider.be
show more ...
|
| fbe544ff | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Shutdown the display on remove
When the device is unbound from the driver, the display may be active. Make sure it gets shut down.
Reviewed-by: Laurent Pinchart <laurent.pin
drm: renesas: shmobile: Shutdown the display on remove
When the device is unbound from the driver, the display may be active. Make sure it gets shut down.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/ddf2736459d59d0e961f240e77da7b0a28caae15.1694767209.git.geert+renesas@glider.be
show more ...
|
| c285aac1 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Turn vblank on/off when enabling/disabling CRTC
The DRM core vblank handling mechanism requires drivers to forcefully turn vblank reporting off when disabling the CRTC, and t
drm: renesas: shmobile: Turn vblank on/off when enabling/disabling CRTC
The DRM core vblank handling mechanism requires drivers to forcefully turn vblank reporting off when disabling the CRTC, and to restore the vblank reporting status when enabling the CRTC. Implement this using the drm_crtc_vblank_{on,off}() helpers.
Note that drm_crtc_vblank_off() must be called at startup to synchronize the state of the vblank core code with the hardware, which is initially disabled. This is performed at CRTC creation time, requiring vertical blank initialization to be moved before creating CRTCs.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/e5833e5706b7792bfca8e6e56fc154a7c3e0574f.1694767209.git.geert+renesas@glider.be
show more ...
|
| b1ce7fe4 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Wait for page flip when turning CRTC off
Turning a CRTC off will prevent a queued page flip from ever completing, potentially confusing userspace. Wait for queued page flips
drm: renesas: shmobile: Wait for page flip when turning CRTC off
Turning a CRTC off will prevent a queued page flip from ever completing, potentially confusing userspace. Wait for queued page flips to complete before turning the CRTC off to avoid this.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/c97d5859c43fa36043c61de28d67688ebe345092.1694767209.git.geert+renesas@glider.be
show more ...
|
| a87e3159 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Move shmob_drm_crtc_finish_page_flip()
Move the shmob_drm_crtc_finish_page_flip() function up, to avoid having to move it during the modification in the next change.
Reviewe
drm: renesas: shmobile: Move shmob_drm_crtc_finish_page_flip()
Move the shmob_drm_crtc_finish_page_flip() function up, to avoid having to move it during the modification in the next change.
Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/4c87bb31403d142f8f146176cb859a10a28a3601.1694767209.git.geert+renesas@glider.be
show more ...
|
| 03f716f6 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Use drm_crtc_handle_vblank()
Replace the call to the legacy drm_handle_vblank() function with a call to the new drm_crtc_handle_vblank() helper.
Reviewed-by: Laurent Pinchar
drm: renesas: shmobile: Use drm_crtc_handle_vblank()
Replace the call to the legacy drm_handle_vblank() function with a call to the new drm_crtc_handle_vblank() helper.
Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/bef278cc9b7536505f41faaa2f13184d9354fa7e.1694767209.git.geert+renesas@glider.be
show more ...
|
| a83d383e | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Rename shmob_drm_plane.plane
Rename the "plane" member of the shmob_drm_plane subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinchart <laurent.pi
drm: renesas: shmobile: Rename shmob_drm_plane.plane
Rename the "plane" member of the shmob_drm_plane subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/73809d0a94f9075dd868cf567790d10f8ae61603.1694767209.git.geert+renesas@glider.be
show more ...
|
| 9d7bd3b1 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Rename shmob_drm_connector.connector
Rename the "connector" member of the shmob_drm_connector subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinc
drm: renesas: shmobile: Rename shmob_drm_connector.connector
Rename the "connector" member of the shmob_drm_connector subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/2382c4c796b53b5d2b24f99b85954ce632f21b90.1694767209.git.geert+renesas@glider.be
show more ...
|
| 51955324 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Rename shmob_drm_crtc.crtc
Rename the "crtc" member of the shmob_drm_crtc subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinchart <laurent.pincha
drm: renesas: shmobile: Rename shmob_drm_crtc.crtc
Rename the "crtc" member of the shmob_drm_crtc subclass structure to "base", to improve readability.
Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/b42a32082d25bde6db7a57d8dc0d9f45820f6716.1694767209.git.geert+renesas@glider.be
show more ...
|
| c2288234 | 15-Sep-2023 |
Geert Uytterhoeven <[email protected]> |
drm: renesas: shmobile: Unify plane allocation
Unify primary and overlay plane allocation: - Enhance shmob_drm_plane_create() so it can be used to create the primary plane, too, - Move overl
drm: renesas: shmobile: Unify plane allocation
Unify primary and overlay plane allocation: - Enhance shmob_drm_plane_create() so it can be used to create the primary plane, too, - Move overlay plane creation next to primary plane creation.
Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/adbc5febc0099fd1910f32a7af1c8e0f570f74b4.1694767209.git.geert+renesas@glider.be
show more ...
|