| 6c62dfd2 | 10-Sep-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm/verisilicon: remove ARGB formats from primary plane
As the blending of the primary plane is currently explicitly disabled (and it's not possible on DC8000), remove the ARGB formats from the prim
drm/verisilicon: remove ARGB formats from primary plane
As the blending of the primary plane is currently explicitly disabled (and it's not possible on DC8000), remove the ARGB formats from the primary plane format tables.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260910095000.3505878-2-zhengxingda@iscas.ac.cn
show more ...
|
| e5d43d7e | 10-Sep-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm/verisilicon: add primary modifier for format tables
Currently the format tables are only used for the primary plane.
Add primary modifiers to names related to the tables.
Signed-off-by: Icenow
drm/verisilicon: add primary modifier for format tables
Currently the format tables are only used for the primary plane.
Add primary modifiers to names related to the tables.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260910095000.3505878-1-zhengxingda@iscas.ac.cn
show more ...
|
| 063019ac | 13-Aug-2026 |
Chen-Yu Tsai <wenst@chromium.org> |
drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses
The verisilicon driver has a custom framebuffer address calculating helper that the common drm_fb_dma_get_addr() can substi
drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses
The verisilicon driver has a custom framebuffer address calculating helper that the common drm_fb_dma_get_addr() can substitute.
Differences from drm_fb_dma_get_addr():
- Uses drm_format_info_min_pitch() to calculate the horizontal offset; however the driver does not support any of the blocked formats, so this just ends up being the same as in drm_fb_dma_get_addr(): "cpp[plane] * y"
- Uses clipped source coordinates instead of non-clipped coordinates as in drm_fb_dma_get_addr();
For the primary plane this doesn't matter, since the primary plane must match the output, i.e. it cannot be clipped. Also this driver doesn't support scaling.
For the cursor plane this seems wrong, as the clipping seems to be done by the hardware, and thus the buffer address should be unclipped.
As such, it should be fine to use the common helper and drop the custom code.
Tested-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Fixes: 8c4ae2189125 ("drm: verisilicon: add support for cursor planes") Link: https://patch.msgid.link/20260813065127.341349-1-wenst@chromium.org Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
show more ...
|
| 8c4ae218 | 06-May-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm: verisilicon: add support for cursor planes
Verisilicon display controllers support hardware cursors per output port.
Add support for them as cursor planes.
Signed-off-by: Icenowy Zheng <zheng
drm: verisilicon: add support for cursor planes
Verisilicon display controllers support hardware cursors per output port.
Add support for them as cursor planes.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://patch.msgid.link/20260506175610.2542888-3-zhengxingda@iscas.ac.cn
show more ...
|
| c0d650bd | 31-Mar-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm: verisilicon: fill plane's vs_format in atomic_check
Move the conversion from drm_format to vs_format to atomic_check, which is before the point of no return and can properly bail out.
Signed-o
drm: verisilicon: fill plane's vs_format in atomic_check
Move the conversion from drm_format to vs_format to atomic_check, which is before the point of no return and can properly bail out.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260331060126.1291966-5-zhengxingda@iscas.ac.cn
show more ...
|
| eae3903e | 31-Mar-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm: verisilicon: call atomic helper's plane state check even if no CRTC
The `drm_atomic_helper_check_plane_state()` helper function needs to be called even if the plane is bound to no CRTCs.
Remov
drm: verisilicon: call atomic helper's plane state check even if no CRTC
The `drm_atomic_helper_check_plane_state()` helper function needs to be called even if the plane is bound to no CRTCs.
Remove the early return in the primary plane's atomic_check, and use NULL for crtc_state in this situation.
Fixes: dbf21777caa8 ("drm: verisilicon: add a driver for Verisilicon display controllers") Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260331060126.1291966-4-zhengxingda@iscas.ac.cn
show more ...
|
| 1a2e3754 | 31-Mar-2026 |
Icenowy Zheng <zhengxingda@iscas.ac.cn> |
drm: verisilicon: subclass drm_plane_state
Create a subclass of drm_plane_state to store hardware-specific state information (e.g. hardware plane format settings) in the future.
Signed-off-by: Icen
drm: verisilicon: subclass drm_plane_state
Create a subclass of drm_plane_state to store hardware-specific state information (e.g. hardware plane format settings) in the future.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260331060126.1291966-3-zhengxingda@iscas.ac.cn
show more ...
|