[PATCH 1/3] drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer
Maxime Ripard
maxime at cerno.tech
Tue Nov 3 10:07:04 UTC 2020
On Mon, Nov 02, 2020 at 06:06:30PM +0200, Ville Syrjälä wrote:
> On Mon, Nov 02, 2020 at 02:38:32PM +0100, Maxime Ripard wrote:
> > dispnv50 references the crtc->state pointer in order to get the current
> > CRTC state in its atomic_check hook, which would be the old CRTC state in
> > the global atomic state.
> >
> > Use the drm_atomic_get_old_crtc_state helper to get that state to make it
> > more obvious.
> >
> > Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > Signed-off-by: Maxime Ripard <maxime at cerno.tech>
>
> Looks correct
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Applied, thanks!
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201103/25c29ba7/attachment-0001.sig>
More information about the dri-devel
mailing list