drm/nouveau: Force TV encoder DPMS reinit after resume.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
d9184fa97b
commit
bf929efa56
@@ -579,6 +579,8 @@ static void nv17_tv_restore(struct drm_encoder *encoder)
|
|||||||
nouveau_encoder(encoder)->restore.output);
|
nouveau_encoder(encoder)->restore.output);
|
||||||
|
|
||||||
nv17_tv_state_load(dev, &to_tv_enc(encoder)->saved_state);
|
nv17_tv_state_load(dev, &to_tv_enc(encoder)->saved_state);
|
||||||
|
|
||||||
|
nouveau_encoder(encoder)->last_dpms = NV_DPMS_CLEARED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nv17_tv_create_resources(struct drm_encoder *encoder,
|
static int nv17_tv_create_resources(struct drm_encoder *encoder,
|
||||||
|
Reference in New Issue
Block a user