Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 091e40cd authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nvd0/disp: enable hdmi audio



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 27517ddb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 |
						  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);
}