Displaying 2 results from an estimated 2 matches for "nv84_disp_sor_hdmi_pwr_state_on".
2014 Sep 07
0
drm/nve0/disp: Fix HDMI InfoFrame initialisation.
Hi.
(sorry for non-threaded reply, I expected to receive my own "git
send-email"-generated post)
This patch is an RFC, with at least 3 things to change before it could
be committed:
- commented-out NV84_DISP_SOR_HDMI_PWR_STATE_ON test: what is this
needed for ? I couldn't find an equivalent in my trace, but maybe I
just didn't do what is needed to generate these writes
- commented-out original 0x69040c write, just in case someone think
it's better to use it (and if so, should I replace in other
similar f...
2014 Sep 07
0
drm/nve0/disp: Fix HDMI InfoFrame initialisation.
...0x01020038 PDISPLAY+0x6f98 => 0x1020038
+[0] 277.973112 MMIO32 W 0x690480 0x82000000 0x690480 <= 0x82000000
+[0] 277.973139 MMIO32 W 0x616f98 0x41020038 PDISPLAY+0x6f98 <= 0x41020038
+*/
+
+int
+nve0_hdmi_ctrl(struct nv50_disp_priv *priv, int head, int or, u32 data)
+{
+ /*if (!(data & NV84_DISP_SOR_HDMI_PWR_STATE_ON)) {
+ nv_mask(priv, 0x616f98 + hoff, 0x40000000, 0x00000000);
+ nv_mask(priv, 0x6167a4 + hoff, 0x00000001, 0x00000000);
+ nv_mask(priv, 0x616714 + hoff, 0x00000001, 0x00000000);
+ return 0;
+ }*/
+
+ /* AVI InfoFrame */
+ nv_mask(priv, 0x690400, 0x00000001, 0x00000001);
+ nv_wr32(priv, 0x690408...