mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-31 13:40:18 +01:00
radeon: braino pointed out on mailing list
thanks to Ville Syrjälä
This commit is contained in:
parent
a4167e7b57
commit
f9d4c58d43
1 changed files with 1 additions and 1 deletions
|
|
@ -869,7 +869,7 @@ static void radeon_atom_tmds_dpms(struct drm_encoder *encoder, int mode)
|
|||
int index = -1;
|
||||
uint32_t bios_2_scratch, bios_3_scratch;
|
||||
|
||||
if (radeon_crtc) {
|
||||
if (encoder->crtc) {
|
||||
radeon_crtc = to_radeon_crtc(encoder->crtc);
|
||||
crtc_id = radeon_crtc->crtc_id;
|
||||
} else if (mode == DRM_MODE_DPMS_ON)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue