drm/i915: Update Skylake DDI translation table for HDMI.
Subsystems (2)
Rodrigo Vivi
maintainerPATCH 1/1 drm/i915: Update Skylake DDI translation table for HDMI.
When debuging an intermittent corrupted screen I suspected on DDI translation table and checked we are out of date with the spec.
I'm not sure this will fix my bug yet, but it is always good to follow the spec.
--- drivers/gpu/drm/i915/intel_ddi.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/intel_ddi.c +10 -10
@@ -225,27 +225,27 @@ static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { { 0x00007011, 0x00000088, 0x0 }, { 0x00000018, 0x000000A1, 0x0 }, { 0x00000018, 0x00000098, 0x0 }, - { 0x00004013, 0x00000088, 0x0 }, - { 0x00006012, 0x00000087, 0x0 }, + { 0x00004013, 0x00000088, 0x1 }, + { 0x80006012, 0x000000CD, 0x0 }, { 0x00000018, 0x000000DF, 0x0 }, - { 0x00003015, 0x00000087, 0x0 }, /* Default */ - { 0x00003015, 0x000000C7, 0x0 }, - { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000CD, 0x1 }, /* Default */ + { 0x80003015, 0x000000C0, 0x1 }, + { 0x80000018, 0x000000C0, 0x1 }, };/* Skylake Y */ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { {0x00000018 ,0x000000A1 ,0x0 }, {0x00005012 ,0x000000DF ,0x0 }, - {0x00007011 ,0x00000084 ,0x0 }, + {0x80007011 ,0x000000CB ,0x3 }, {0x00000018 ,0x000000A4 ,0x0 }, {0x00000018 ,0x0000009D ,0x0 }, {0x00004013 ,0x00000080 ,0x0 }, - {0x00006013 ,0x000000C7 ,0x0 }, + {0x80006013 ,0x000000C0 ,0x3 }, {0x00000018 ,0x0000008A ,0x0 }, - {0x00003015 ,0x000000C7 ,0x0 },/* Default */ - {0x80003015 ,0x000000C7 ,0x7 },/* Uses I_boost level 0x7 */ - {0x00000018 ,0x000000C7 ,0x0 }, + {0x80003015 ,0x000000C0 ,0x3 },/* Default */ + {0x80003015 ,0x000000C0 ,0x3 }, + {0x80000018 ,0x000000C0 ,0x3 }, }; struct bxt_ddi_buf_trans {
Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ warning: Fi.CI.BAT
== Summary ==
== Summary ==
Built on bc303261a81a96298b2f9e02734aeaa0a25421a6 drm-intel-nightly: 2016y-01m-05d-16h-47m-54s UTC integration manifest
Test kms_flip:
Subgroup basic-flip-vs-modeset:
dmesg-warn -> PASS (bdw-nuci7) UNSTABLE
Subgroup basic-flip-vs-wf_vblank:
dmesg-warn -> PASS (snb-x220t) UNSTABLE
Subgroup basic-plain-flip:
pass -> DMESG-WARN (bdw-ultra)
Test kms_pipe_crc_basic:
Subgroup hang-read-crc-pipe-a:
pass -> DMESG-WARN (snb-x220t)
Subgroup read-crc-pipe-a:
pass -> DMESG-WARN (snb-dellxps)
Subgroup read-crc-pipe-b:
dmesg-warn -> PASS (skl-i5k-2) UNSTABLE
dmesg-warn -> PASS (snb-dellxps) UNSTABLE
Test kms_psr_sink_crc:
Subgroup psr_basic:
dmesg-warn -> PASS (bdw-ultra)
Test pm_rpm:
Subgroup basic-rte:
pass -> DMESG-WARN (byt-nuc) UNSTABLEbdw-nuci7 total:132 pass:122 dwarn:1 dfail:0 fail:0 skip:9 bdw-ultra total:132 pass:124 dwarn:2 dfail:0 fail:0 skip:6 bsw-nuc-2 total:135 pass:114 dwarn:1 dfail:0 fail:0 skip:20 byt-nuc total:135 pass:120 dwarn:2 dfail:0 fail:0 skip:13 hsw-brixbox total:135 pass:126 dwarn:2 dfail:0 fail:0 skip:7 hsw-gt2 total:135 pass:130 dwarn:1 dfail:0 fail:0 skip:4 ilk-hp8440p total:135 pass:100 dwarn:0 dfail:0 fail:0 skip:35 ivb-t430s total:135 pass:127 dwarn:2 dfail:0 fail:0 skip:6 skl-i5k-2 total:135 pass:125 dwarn:2 dfail:0 fail:0 skip:8 skl-i7k-2 total:135 pass:124 dwarn:3 dfail:0 fail:0 skip:8 snb-dellxps total:135 pass:121 dwarn:2 dfail:0 fail:0 skip:12 snb-x220t total:135 pass:121 dwarn:2 dfail:0 fail:1 skip:11
Results at /archive/results/CI_IGT_test/Patchwork_1088/
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 16 lines · Rodrigo Vivi
When debuging an intermittent corrupted screen I suspected on DDI translation table and checked we are out of date with the spec.
I'm not sure this will fix my bug yet, but it is always good to follow the spec.
Signed-off-by Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/i915/intel_ddi.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/intel_ddi.c +0
-0
drivers/gpu/drm/i915/intel_ddi.c static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { · line 228
Quoted 6 lines
drivers/gpu/drm/i915/intel_ddi.c +1
-2@@ -225,27 +225,27 @@ static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { { 0x00007011, 0x00000088, 0x0 }, { 0x00000018, 0x000000A1, 0x0 }, { 0x00000018, 0x00000098, 0x0 }, - { 0x00004013, 0x00000088, 0x0 }, - { 0x00006012, 0x00000087, 0x0 }, + { 0x00004013, 0x00000088, 0x1 },
^^^
0x0
drivers/gpu/drm/i915/intel_ddi.c static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { · line 229
Quoted 1 line
drivers/gpu/drm/i915/intel_ddi.c +1
-0+ { 0x80006012, 0x000000CD, 0x0 },
^^^
0x1
The rest looks fine.
Quoted 13 lines
drivers/gpu/drm/i915/intel_ddi.c +3
-3{ 0x00000018, 0x000000DF, 0x0 }, - { 0x00003015, 0x00000087, 0x0 }, /* Default */ - { 0x00003015, 0x000000C7, 0x0 }, - { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000CD, 0x1 }, /* Default */ + { 0x80003015, 0x000000C0, 0x1 }, + { 0x80000018, 0x000000C0, 0x1 }, };/* Skylake Y */ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { {0x00000018 ,0x000000A1 ,0x0 }, { 0x00005012, 0x000000DF, 0x0 },
drivers/gpu/drm/i915/intel_ddi.c static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { · line 247
Quoted 10 lines
drivers/gpu/drm/i915/intel_ddi.c +2
-4- { 0x00007011, 0x00000084, 0x0 }, + { 0x80007011, 0x000000CB, 0x3 }, { 0x00000018, 0x000000A4, 0x0 }, { 0x00000018, 0x0000009D, 0x0 }, { 0x00004013, 0x00000080, 0x0 }, - { 0x00006013, 0x000000C7, 0x0 }, + { 0x80006013, 0x000000C0, 0x3 }, { 0x00000018, 0x0000008A, 0x0 }, - { 0x00003015, 0x000000C7, 0x0 }, /* Default */ - { 0x80003015, 0x000000C7, 0x7 }, /* Uses I_boost level 0x7 */
Since you're removing this pointless "Uses I_boost..." comment, maybe remove all such comments as a followup?
Quoted 14 lines
drivers/gpu/drm/i915/intel_ddi.c +3
-1- { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000C0, 0x3 }, /* Default */ + { 0x80003015, 0x000000C0, 0x3 }, + { 0x80000018, 0x000000C0, 0x3 }, }; struct bxt_ddi_buf_trans {Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 28 lines · Ville Syrjälä
Quoted 18 lines · Rodrigo Vivi
When debuging an intermittent corrupted screen I suspected on DDI translation table and checked we are out of date with the spec.
I'm not sure this will fix my bug yet, but it is always good to follow
the spec.Signed-off-by Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/i915/intel_ddi.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/intel_ddi.c +0
-0drivers/gpu/drm/i915/intel_ddi.c static const struct ddi_buf_trans · line 229
Quoted 7 lines
drivers/gpu/drm/i915/intel_ddi.c +1
-2@@ -225,27 +225,27 @@ static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { { 0x00007011, 0x00000088, 0x0 }, { 0x00000018, 0x000000A1, 0x0 }, { 0x00000018, 0x00000098, 0x0 }, - { 0x00004013, 0x00000088, 0x0 }, - { 0x00006012, 0x00000087, 0x0 }, + { 0x00004013, 0x00000088, 0x1 },^^^
Quoted 5 lines
0x0drivers/gpu/drm/i915/intel_ddi.c static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { · line 229
Quoted 1 line
drivers/gpu/drm/i915/intel_ddi.c +1
-0+ { 0x80006012, 0x000000CD, 0x0 },^^^
0x1
Thanks
Quoted 23 lines
The rest looks fine.
Quoted 20 lines
drivers/gpu/drm/i915/intel_ddi.c +4
-5{ 0x00000018, 0x000000DF, 0x0 }, - { 0x00003015, 0x00000087, 0x0 }, /* Default */ - { 0x00003015, 0x000000C7, 0x0 }, - { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000CD, 0x1 }, /* Default */ + { 0x80003015, 0x000000C0, 0x1 }, + { 0x80000018, 0x000000C0, 0x1 }, };/* Skylake Y */ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { {0x00000018 ,0x000000A1 ,0x0 }, {0x00005012 ,0x000000DF ,0x0 }, - {0x00007011 ,0x00000084 ,0x0 }, + {0x80007011 ,0x000000CB ,0x3 }, {0x00000018 ,0x000000A4 ,0x0 }, {0x00000018 ,0x0000009D ,0x0 }, { 0x00004013, 0x00000080, 0x0 }, - { 0x00006013, 0x000000C7, 0x0 },
Quoted 8 lines
Quoted 5 lines
drivers/gpu/drm/i915/intel_ddi.c +1
-2+ { 0x80006013, 0x000000C0, 0x3 }, { 0x00000018, 0x0000008A, 0x0 }, - { 0x00003015, 0x000000C7, 0x0 }, /* Default */ - { 0x80003015, 0x000000C7, 0x7 }, /* Uses I_boostlevel
0x7*/Since you're removing this pointless "Uses
I_boost..." comment, maybe remove all such comments as a followup?
good idea. I will...
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/intel_ddi.c +3
-1- { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000C0, 0x3 }, /* Default */ + { 0x80003015, 0x000000C0, 0x3 }, + { 0x80000018, 0x000000C0, 0x3 }, };
Quoted 9 lines
Quoted 8 lines
struct
bxt_ddi_buf_trans{Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerPATCH 1/1 drm/i915: Update Skylake DDI translation table for HDMI.
In reply to Ville SyrjäläWhen debuging an intermittent corrupted screen I suspected on DDI translation table and checked we are out of date with the spec.
I'm not sure this will fix my bug yet, but it is always good to follow the spec.
v2: Ville caught a switched i-boost value. Thanks!
--- drivers/gpu/drm/i915/intel_ddi.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/intel_ddi.c +9 -9
@@ -226,26 +226,26 @@ static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { { 0x00000018, 0x000000A1, 0x0 }, { 0x00000018, 0x00000098, 0x0 }, { 0x00004013, 0x00000088, 0x0 }, - { 0x00006012, 0x00000087, 0x0 }, + { 0x80006012, 0x000000CD, 0x1 }, { 0x00000018, 0x000000DF, 0x0 }, - { 0x00003015, 0x00000087, 0x0 }, /* Default */ - { 0x00003015, 0x000000C7, 0x0 }, - { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000CD, 0x1 }, /* Default */ + { 0x80003015, 0x000000C0, 0x1 }, + { 0x80000018, 0x000000C0, 0x1 }, };/* Skylake Y */ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { {0x00000018 ,0x000000A1 ,0x0 }, {0x00005012 ,0x000000DF ,0x0 }, - {0x00007011 ,0x00000084 ,0x0 }, + {0x80007011 ,0x000000CB ,0x3 }, {0x00000018 ,0x000000A4 ,0x0 }, {0x00000018 ,0x0000009D ,0x0 }, {0x00004013 ,0x00000080 ,0x0 }, - {0x00006013 ,0x000000C7 ,0x0 }, + {0x80006013 ,0x000000C0 ,0x3 }, {0x00000018 ,0x0000008A ,0x0 }, - {0x00003015 ,0x000000C7 ,0x0 },/* Default */ - {0x80003015 ,0x000000C7 ,0x7 },/* Uses I_boost level 0x7 */ - {0x00000018 ,0x000000C7 ,0x0 }, + {0x80003015 ,0x000000C0 ,0x3 },/* Default */ + {0x80003015 ,0x000000C0 ,0x3 }, + {0x80000018 ,0x000000C0 ,0x3 }, }; struct bxt_ddi_buf_trans {
Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Rodrigo Vivi
When debuging an intermittent corrupted screen I suspected on DDI translation table and checked we are out of date with the spec.
I'm not sure this will fix my bug yet, but it is always good to follow the spec.
v2: Ville caught a switched i-boost value. Thanks!
Cc Ville Syrjälä <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>
Quoted 46 lines
--- drivers/gpu/drm/i915/intel_ddi.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)drivers/gpu/drm/i915/intel_ddi.c +9
-9@@ -226,26 +226,26 @@ static const struct ddi_buf_trans skl_ddi_translations_hdmi[] = { { 0x00000018, 0x000000A1, 0x0 }, { 0x00000018, 0x00000098, 0x0 }, { 0x00004013, 0x00000088, 0x0 }, - { 0x00006012, 0x00000087, 0x0 }, + { 0x80006012, 0x000000CD, 0x1 }, { 0x00000018, 0x000000DF, 0x0 }, - { 0x00003015, 0x00000087, 0x0 }, /* Default */ - { 0x00003015, 0x000000C7, 0x0 }, - { 0x00000018, 0x000000C7, 0x0 }, + { 0x80003015, 0x000000CD, 0x1 }, /* Default */ + { 0x80003015, 0x000000C0, 0x1 }, + { 0x80000018, 0x000000C0, 0x1 }, };/* Skylake Y */ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { {0x00000018 ,0x000000A1 ,0x0 }, {0x00005012 ,0x000000DF ,0x0 }, - {0x00007011 ,0x00000084 ,0x0 }, + {0x80007011 ,0x000000CB ,0x3 }, {0x00000018 ,0x000000A4 ,0x0 }, {0x00000018 ,0x0000009D ,0x0 }, {0x00004013 ,0x00000080 ,0x0 }, - {0x00006013 ,0x000000C7 ,0x0 }, + {0x80006013 ,0x000000C0 ,0x3 }, {0x00000018 ,0x0000008A ,0x0 }, - {0x00003015 ,0x000000C7 ,0x0 },/* Default */ - {0x80003015 ,0x000000C7 ,0x7 },/* Uses I_boost level 0x7 */ - {0x00000018 ,0x000000C7 ,0x0 }, + {0x80003015 ,0x000000C0 ,0x3 },/* Default */ + {0x80003015 ,0x000000C0 ,0x3 }, + {0x80000018 ,0x000000C0 ,0x3 }, }; struct bxt_ddi_buf_trans {Signature · 1 line
2.4.3
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ success: Fi.CI.BAT
In reply to Rodrigo Vivi== Summary ==
== Summary ==
Built on 24b053acb16b4b3b021575e4ee30ffedd3ab2920 drm-intel-nightly: 2016y-01m-06d-08h-16m-11s UTC integration manifest
Test gem_storedw_loop:
Subgroup basic-render:
dmesg-warn -> PASS (skl-i5k-2) UNSTABLE
dmesg-warn -> PASS (bdw-ultra) UNSTABLE
pass -> DMESG-WARN (skl-i7k-2) UNSTABLEbdw-nuci7 total:132 pass:123 dwarn:0 dfail:0 fail:0 skip:9 bdw-ultra total:132 pass:126 dwarn:0 dfail:0 fail:0 skip:6 bsw-nuc-2 total:135 pass:115 dwarn:0 dfail:0 fail:0 skip:20 byt-nuc total:135 pass:121 dwarn:1 dfail:0 fail:0 skip:13 hsw-brixbox total:135 pass:128 dwarn:0 dfail:0 fail:0 skip:7 hsw-gt2 total:135 pass:131 dwarn:0 dfail:0 fail:0 skip:4 ilk-hp8440p total:135 pass:100 dwarn:0 dfail:0 fail:0 skip:35 ivb-t430s total:135 pass:129 dwarn:0 dfail:0 fail:0 skip:6 skl-i5k-2 total:135 pass:126 dwarn:1 dfail:0 fail:0 skip:8 skl-i7k-2 total:135 pass:125 dwarn:2 dfail:0 fail:0 skip:8 snb-dellxps total:135 pass:123 dwarn:0 dfail:0 fail:0 skip:12 snb-x220t total:135 pass:123 dwarn:0 dfail:0 fail:1 skip:11
Results at /archive/results/CI_IGT_test/Patchwork_1093/
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx