Re: [PATCH v4 1/2] drm/atomic-helper: Don't allocated plane state in CRTC check

2022-10-06 Thread Thomas Zimmermann
Hi Am 06.10.22 um 22:18 schrieb Javier Martinez Canillas: Hello Thomas, On 10/5/22 13:40, Thomas Zimmermann wrote: In drm_atomic_helper_check_crtc_state(), do not add a new plane state to the global state if it does not exist already. Adding a new plane state will result in overhead for the pl

Re: [PATCH v4 1/2] drm/atomic-helper: Don't allocated plane state in CRTC check

2022-10-06 Thread Javier Martinez Canillas
Hello Thomas, On 10/5/22 13:40, Thomas Zimmermann wrote: > In drm_atomic_helper_check_crtc_state(), do not add a new plane state > to the global state if it does not exist already. Adding a new plane > state will result in overhead for the plane during the atomic-commit > step. > > For the test i

[PATCH v4 1/2] drm/atomic-helper: Don't allocated plane state in CRTC check

2022-10-05 Thread Thomas Zimmermann
In drm_atomic_helper_check_crtc_state(), do not add a new plane state to the global state if it does not exist already. Adding a new plane state will result in overhead for the plane during the atomic-commit step. For the test in drm_atomic_helper_check_crtc_state() to succeed, it is important tha