diff options
| author | 2016-09-06 09:41:48 +0200 | |
|---|---|---|
| committer | 2016-09-20 11:32:05 +0200 | |
| commit | 5552aad35d439ad96ae55f0e3db25b6268170259 (patch) | |
| tree | bc234eed2644272e8de5a1efdc547cfd97f08624 /drivers/gpu/drm/tilcdc/tilcdc_external.h | |
| parent | drm/sti: run gdp init sequence only once (diff) | |
| download | wireguard-linux-5552aad35d439ad96ae55f0e3db25b6268170259.tar.xz wireguard-linux-5552aad35d439ad96ae55f0e3db25b6268170259.zip | |
drm/sti: fix atomic_disable check
When a drm_plane is being disabled, its ->crtc member is set to NULL
before the .atomic_disable() func is called.
To get the crtc of the plane, read old_state->crtc instead of
drm_plane->crtc
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_external.h')
0 files changed, 0 insertions, 0 deletions
