Skip to contentSkip to conversation

drm/i915: Broadwell DDI Buffer translation changed to give better margin.

PATCH In review Rodrigo Vivi 3 participants 7 messages Sep 25, 2014 – Sep 29, 2014

Subsystems (2)
lore
Share & tools
lore

Rodrigo Vivi

author maintainer
#0 lore raw

PATCH 1/2 drm/i915: Broadwell DDI Buffer translation changed to give better margin.

Reference: Predator r73977 / HSD 4394389

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_ddi.c +2 -2
index ba1103f..66231f0 100644
@@ -95,8 +95,8 @@ static const struct ddi_buf_trans bdw_ddi_translations_dp[] = {
 	{ 0x00BEFFFF, 0x00140006 },
 	{ 0x80B2CFFF, 0x001B0002 },
 	{ 0x00FFFFFF, 0x000E000A },
-	{ 0x00D75FFF, 0x00180004 },
-	{ 0x80CB2FFF, 0x001B0002 },
+	{ 0x00DB6FFF, 0x00160005 },
+	{ 0x00C71FFF, 0x001A0002 },
 	{ 0x00F7DFFF, 0x00180004 },
 	{ 0x80D75FFF, 0x001B0002 },
 };
Signature · 1 line
1.9.3
author maintainer
#1 lore raw

PATCH 2/2 drm/i915: Broadwell DDI Buffer translation - more tuning

BDW display - DP buffer translation values changed to give better margin.

Further change to entry 6; set dword 0 bit 31=1.

Both changes were approved already but this one didn't landed BSpec yet this is why it is in a separated patch. Making reviewer's life easier. Also alowing separated tests and any future bisect that might be needed.

Reference: Predator r74080 / HSD 4394389

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_ddi.c +1 -1
index 66231f0..2d8b4f5 100644
@@ -108,7 +108,7 @@ static const struct ddi_buf_trans bdw_ddi_translations_fdi[] = {
 	{ 0x00AAAFFF, 0x000C0000 },
 	{ 0x00FFFFFF, 0x0004000A },
 	{ 0x00D75FFF, 0x00090004 },
-	{ 0x00C30FFF, 0x000C0000 },
+	{ 0x00C30FFF, 0x800C0000 },
 	{ 0x00FFFFFF, 0x00070006 },
 	{ 0x00D75FFF, 0x000C0000 },
 };
Signature · 1 line
1.9.3
#2 lore raw

Re: [PATCH 2/2] drm/i915: Broadwell DDI Buffer translation - more tuning

You updated FDI entry 6 here, but Predator r74080 is just DP entry 6. I'll find out if FDI needs a similar change.

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_ddi.c +1 -1
index 66231f0..2d8b4f5 100644
@@ -108,7 +108,7 @@ static const struct ddi_buf_trans bdw_ddi_translations_fdi[] = {
 	{ 0x00AAAFFF, 0x000C0000 },
 	{ 0x00FFFFFF, 0x0004000A },
 	{ 0x00D75FFF, 0x00090004 },
-	{ 0x00C30FFF, 0x000C0000 },
+	{ 0x00C30FFF, 0x800C0000 },
 	{ 0x00FFFFFF, 0x00070006 },
 	{ 0x00D75FFF, 0x000C0000 },
 };
Signature · 1 line
1.9.3
author maintainer
#3 lore raw

PATCH 1/1 drm/i915: Broadwell DDI Buffer translation - more tuning

BDW display - DP buffer translation values changed to give better margin.

Further change to entry 6; set dword 0 bit 31=1.

Both changes were approved already but this one didn't landed BSpec yet this is why it is in a separated patch. Making reviewer's life easier. Also alowing separated tests and any future bisect that might be needed.

Reference: Predator r74080 / HSD 4394389

v2: Arthur noticed I was changing the wrong bit.

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_ddi.c +1 -1
index 66231f0..c9f4b3c 100644
@@ -96,7 +96,7 @@ static const struct ddi_buf_trans bdw_ddi_translations_dp[] = {
 	{ 0x80B2CFFF, 0x001B0002 },
 	{ 0x00FFFFFF, 0x000E000A },
 	{ 0x00DB6FFF, 0x00160005 },
-	{ 0x00C71FFF, 0x001A0002 },
+	{ 0x80C71FFF, 0x001A0002 },
 	{ 0x00F7DFFF, 0x00180004 },
 	{ 0x80D75FFF, 0x001B0002 },
 };
Signature · 1 line
1.9.3
Reviewed-by on v1 1/1
#4 lore raw

Re: [PATCH] drm/i915: Broadwell DDI Buffer translation - more tuning

That was a fast fix. Looks good now.

v2: Arthur noticed I was changing the wrong bit.

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_ddi.c +1 -1
index 66231f0..c9f4b3c 100644
@@ -96,7 +96,7 @@ static const struct ddi_buf_trans bdw_ddi_translations_dp[] = {
 	{ 0x80B2CFFF, 0x001B0002 },
 	{ 0x00FFFFFF, 0x000E000A },
 	{ 0x00DB6FFF, 0x00160005 },
-	{ 0x00C71FFF, 0x001A0002 },
+	{ 0x80C71FFF, 0x001A0002 },
 	{ 0x00F7DFFF, 0x00180004 },
 	{ 0x80D75FFF, 0x001B0002 },
 };
Signature · 1 line
1.9.3
#5 lore raw

Re: [PATCH] drm/i915: Broadwell DDI Buffer translation - more tuning

Quoted 2 lines · Arthur J

That was a fast fix. Looks good now.

Both merged, thanks for patches&review.
-Daniel

Quoted 31 lines

v2: Arthur noticed I was changing the wrong bit.

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_ddi.c +1 -1
index 66231f0..c9f4b3c 100644
@@ -96,7 +96,7 @@ static const struct ddi_buf_trans bdw_ddi_translations_dp[] = {
 	{ 0x80B2CFFF, 0x001B0002 },
 	{ 0x00FFFFFF, 0x000E000A },
 	{ 0x00DB6FFF, 0x00160005 },
-	{ 0x00C71FFF, 0x001A0002 },
+	{ 0x80C71FFF, 0x001A0002 },
 	{ 0x00F7DFFF, 0x00180004 },
 	{ 0x80D75FFF, 0x001B0002 },
 };
Signature · 6 lines
1.9.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Reviewed-by on v1 1/2
#6 lore raw
In reply to Rodrigo Vivi

Looks good

Cc Arthur Runyan <[email protected]>
Cc Paulo Zanoni <[email protected]>
---
 drivers/gpu/drm/i915/intel_ddi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_ddi.c +2 -2
index ba1103f..66231f0 100644
@@ -95,8 +95,8 @@ static const struct ddi_buf_trans bdw_ddi_translations_dp[] = {
 	{ 0x00BEFFFF, 0x00140006 },
 	{ 0x80B2CFFF, 0x001B0002 },
 	{ 0x00FFFFFF, 0x000E000A },
-	{ 0x00D75FFF, 0x00180004 },
-	{ 0x80CB2FFF, 0x001B0002 },
+	{ 0x00DB6FFF, 0x00160005 },
+	{ 0x00C71FFF, 0x001A0002 },
 	{ 0x00F7DFFF, 0x00180004 },
 	{ 0x80D75FFF, 0x001B0002 },
 };
Signature · 1 line
1.9.3