forked from luck/tmp_suning_uos_patched
drm/nvd0/disp: enable hdmi audio
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
27517ddbdc
commit
091e40cd95
@ -859,6 +859,9 @@ nvd0_hdmi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode)
|
|||||||
nv_mask(dev, 0x616798 + head, 0x401f007f, 0x40000000 | rekey |
|
nv_mask(dev, 0x616798 + head, 0x401f007f, 0x40000000 | rekey |
|
||||||
max_ac_packet << 16);
|
max_ac_packet << 16);
|
||||||
|
|
||||||
|
/* NFI, audio doesn't work without it though.. */
|
||||||
|
nv_mask(dev, 0x616548 + head, 0x00000070, 0x00000000);
|
||||||
|
|
||||||
nvd0_audio_mode_set(encoder, mode);
|
nvd0_audio_mode_set(encoder, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user