[Freedreno] [PATCH v6 02/10] drm: add helper functions to retrieve old and new crtc
Doug Anderson
dianders at chromium.org
Fri Jul 29 00:18:20 UTC 2022
Hi,
On Mon, Jul 11, 2022 at 5:57 AM Vinod Polimera
<quic_vpolimer at quicinc.com> wrote:
>
> Add new helper functions, drm_atomic_get_old_crtc_for_encoder
> and drm_atomic_get_new_crtc_for_encoder to retrieve the
> corresponding crtc for the encoder.
>
> Signed-off-by: Sankeerth Billakanti <quic_sbillaka at quicinc.com>
> Signed-off-by: Vinod Polimera <quic_vpolimer at quicinc.com>
> ---
> drivers/gpu/drm/drm_atomic.c | 60 ++++++++++++++++++++++++++++++++++++++++++++
> include/drm/drm_atomic.h | 7 ++++++
> 2 files changed, 67 insertions(+)
I don't have a lot of intuition about the code here since I haven't
messed much at this level, but what you have here looks right and
matches other similar helpers. I'm happy enough with:
Reviewed-by: Douglas Anderson <dianders at chromium.org>
More information about the Freedreno
mailing list