projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378f2bc
)
drm/nva3/disp: Fix HDMI audio regression
author
Ilia Mirkin
<
[email protected]
>
Wed, 3 Jul 2013 07:06:02 +0000
(
03:06
-0400)
committer
Ben Skeggs
<
[email protected]
>
Fri, 5 Jul 2013 04:43:59 +0000
(14:43 +1000)
This is the nva3 counterpart to commit
beba44b17
(drm/nv84/disp: Fix
HDMI audio regression). The regression happened as a result of
refactoring in commit
8e9e3d2de
(drm/nv84/disp: move hdmi control into
core).
Reported-and-tested-by: Max Baldwin <
[email protected]
>
Signed-off-by: Ilia Mirkin <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
b/drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
index f065fc248adfc9bba86beb476bd2545e884cc476..db8c6fd462784a8ebf8257ba4ab0965fa608348f 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
+++ b/
drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
@@
-55,6
+55,10
@@
nva3_hdmi_ctrl(struct nv50_disp_priv *priv, int head, int or, u32 data)
nv_wr32(priv, 0x61c510 + soff, 0x00000000);
nv_mask(priv, 0x61c500 + soff, 0x00000001, 0x00000001);
+ nv_mask(priv, 0x61c5d0 + soff, 0x00070001, 0x00010001); /* SPARE, HW_CTS */
+ nv_mask(priv, 0x61c568 + soff, 0x00010101, 0x00000000); /* ACR_CTRL, ?? */
+ nv_mask(priv, 0x61c578 + soff, 0x80000000, 0x80000000); /* ACR_0441_ENABLE */
+
/* ??? */
nv_mask(priv, 0x61733c, 0x00100000, 0x00100000); /* RESETF */
nv_mask(priv, 0x61733c, 0x10000000, 0x10000000); /* LOOKUP_EN */