diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-11-02 14:38:32 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-03 12:20:09 +0100 |
commit | 3fd9886815af458ab88fc4518a9f5137beb0097e (patch) | |
tree | d23e62cf53474800f7bb1743aac10b1879985817 /drivers/xen/events/events_fifo.c | |
parent | 35bed3fa9ec58a5b5406c60f66faff86f00fa86b (diff) |
drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer
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@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201102133834.1176740-1-maxime@cerno.tech
Diffstat (limited to 'drivers/xen/events/events_fifo.c')
0 files changed, 0 insertions, 0 deletions