public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* force DP lane count on Broadwell platform
@ 2016-05-18  0:08 Sanchez, AdolfoX
  2016-05-18  6:37 ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Sanchez, AdolfoX @ 2016-05-18  0:08 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org


[-- Attachment #1.1: Type: text/plain, Size: 242 bytes --]

Hello

What PRM registers should be modified to force the source lanes to report 2 lanes maximum?
Is it enough to modify the registers DP_TP_CTL and DDI_BUF_CTL, or should any other register be modified?

Best Regards,
Adolfo Sanchez.

[-- Attachment #1.2: Type: text/html, Size: 2120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: force DP lane count on Broadwell platform
  2016-05-18  0:08 force DP lane count on Broadwell platform Sanchez, AdolfoX
@ 2016-05-18  6:37 ` Jani Nikula
  2016-05-18 19:21   ` Sanchez, AdolfoX
  0 siblings, 1 reply; 4+ messages in thread
From: Jani Nikula @ 2016-05-18  6:37 UTC (permalink / raw)
  To: Sanchez, AdolfoX, intel-gfx@lists.freedesktop.org

On Wed, 18 May 2016, "Sanchez, AdolfoX" <adolfox.sanchez@intel.com> wrote:
> What PRM registers should be modified to force the source lanes to
> report 2 lanes maximum?  Is it enough to modify the registers
> DP_TP_CTL and DDI_BUF_CTL, or should any other register be modified?

You should probably look at intel_ddi_init() in intel_ddi.c, and set
intel_dig_port->max_lanes to 2. Then it should limit the source to two
lanes wherever it's needed.

Of course, I should ask you why you need this; maybe you should be
asking a different question. ;)

BR,
Jani.



-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: force DP lane count on Broadwell platform
  2016-05-18  6:37 ` Jani Nikula
@ 2016-05-18 19:21   ` Sanchez, AdolfoX
  2016-05-19  6:31     ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Sanchez, AdolfoX @ 2016-05-18 19:21 UTC (permalink / raw)
  To: Jani Nikula, intel-gfx@lists.freedesktop.org

Thanks Jani

A customer of mine decided to work with  a modified DP port with only two lanes and is facing issues.
I guess modifying the suggested values might be useful at O.S leve, however I was wondering if modifyint the register that I mentioned earlier in the VBIOS would accomplish the same for the pre-OS stage.

Best Regards,
Adolfo Sanchez

-----Original Message-----
From: Jani Nikula [mailto:jani.nikula@linux.intel.com] 
Sent: Wednesday, May 18, 2016 12:38 AM
To: Sanchez, AdolfoX <adolfox.sanchez@intel.com>; intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] force DP lane count on Broadwell platform

On Wed, 18 May 2016, "Sanchez, AdolfoX" <adolfox.sanchez@intel.com> wrote:
> What PRM registers should be modified to force the source lanes to 
> report 2 lanes maximum?  Is it enough to modify the registers 
> DP_TP_CTL and DDI_BUF_CTL, or should any other register be modified?

You should probably look at intel_ddi_init() in intel_ddi.c, and set intel_dig_port->max_lanes to 2. Then it should limit the source to two lanes wherever it's needed.

Of course, I should ask you why you need this; maybe you should be asking a different question. ;)

BR,
Jani.



--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: force DP lane count on Broadwell platform
  2016-05-18 19:21   ` Sanchez, AdolfoX
@ 2016-05-19  6:31     ` Jani Nikula
  0 siblings, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2016-05-19  6:31 UTC (permalink / raw)
  To: Sanchez, AdolfoX, intel-gfx@lists.freedesktop.org


On Wed, 18 May 2016, "Sanchez, AdolfoX" <adolfox.sanchez@intel.com> wrote:
> A customer of mine decided to work with a modified DP port with only
> two lanes and is facing issues.  I guess modifying the suggested
> values might be useful at O.S leve, however I was wondering if
> modifyint the register that I mentioned earlier in the VBIOS would
> accomplish the same for the pre-OS stage.

For the most part, the pre-OS stage is a black box to me. So I don't
really know. But if I had to guess, not a chance. DP just isn't that
simple.


BR,
Jani.

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-19  6:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-18  0:08 force DP lane count on Broadwell platform Sanchez, AdolfoX
2016-05-18  6:37 ` Jani Nikula
2016-05-18 19:21   ` Sanchez, AdolfoX
2016-05-19  6:31     ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox