diff options
| author | Maxime Ripard <[email protected]> | 2020-11-02 13:38:32 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2020-11-03 11:20:09 +0000 |
| commit | 3fd9886815af458ab88fc4518a9f5137beb0097e (patch) | |
| tree | d23e62cf53474800f7bb1743aac10b1879985817 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drivers/video: Fix -Wstringop-truncation in hdmi.c (diff) | |
| download | kernel-3fd9886815af458ab88fc4518a9f5137beb0097e.tar.gz kernel-3fd9886815af458ab88fc4518a9f5137beb0097e.zip | |
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ä <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
