All of lore.kernel.org
 help / color / mirror / Atom feed
* [GMA500] Valid VCO frequency range on GMA500 platform?
@ 2013-02-08 13:51 "David Müller (ELSOFT AG)"
  2013-02-10 17:26 ` Patrik Jakobsson
  0 siblings, 1 reply; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2013-02-08 13:51 UTC (permalink / raw)
  To: dri-devel

Hello

I have a problem using a 1024x768 Eizo Monitor attached by DVI-D to a
system with GMA500 based graphics and running under Linux-3.7.

As soon as the GMA500 driver is taking over control, the refresh
rate raises to 64.5Hz and the monitor reports a "signal error".

For me i looks like the GMA500 driver is reprogramming the VCO to a too
high dot clock. If i lower the "I9XX_VCO_MIN" value to 1300000,
everything is fine.

Is the "I9XX_VCO_MIN" value used in the GMA500 driver correct?


Dave

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

* Re: [GMA500] Valid VCO frequency range on GMA500 platform?
  2013-02-08 13:51 [GMA500] Valid VCO frequency range on GMA500 platform? "David Müller (ELSOFT AG)"
@ 2013-02-10 17:26 ` Patrik Jakobsson
  2013-02-11 13:15   ` "David Müller (ELSOFT AG)"
  0 siblings, 1 reply; 6+ messages in thread
From: Patrik Jakobsson @ 2013-02-10 17:26 UTC (permalink / raw)
  To: David Müller (ELSOFT AG); +Cc: dri-devel

On Fri, Feb 8, 2013 at 2:51 PM, "David Müller (ELSOFT AG)"
<d.mueller@elsoft.ch> wrote:
>
> Hello
>
> I have a problem using a 1024x768 Eizo Monitor attached by DVI-D to a
> system with GMA500 based graphics and running under Linux-3.7.
>
> As soon as the GMA500 driver is taking over control, the refresh
> rate raises to 64.5Hz and the monitor reports a "signal error".
>
> For me i looks like the GMA500 driver is reprogramming the VCO to a too
> high dot clock. If i lower the "I9XX_VCO_MIN" value to 1300000,
> everything is fine.
>
> Is the "I9XX_VCO_MIN" value used in the GMA500 driver correct?
>
>
> Dave

Hi Dave
The value of VCO_MIN comes from the Intel PRM for similar GPUs.

Instead of changing VCO_MIN, could you try setting N_MIN=1, N_MAX=6 and
M1_MAX=22? I'll test it on my own hardware tomorrow.

-Patrik

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

* Re: [GMA500] Valid VCO frequency range on GMA500 platform?
  2013-02-10 17:26 ` Patrik Jakobsson
@ 2013-02-11 13:15   ` "David Müller (ELSOFT AG)"
  2013-02-11 22:18     ` Patrik Jakobsson
  0 siblings, 1 reply; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2013-02-11 13:15 UTC (permalink / raw)
  To: Patrik Jakobsson; +Cc: dri-devel

Hi Patrik

Patrik Jakobsson wrote:
> The value of VCO_MIN comes from the Intel PRM for similar GPUs.
> 
> Instead of changing VCO_MIN, could you try setting N_MIN=1, N_MAX=6 and
> M1_MAX=22? I'll test it on my own hardware tomorrow.

Thanks for your suggestion.

With "N_MIN=1, N_MAX=6 and M1_MAX=22", i get a refresh rate of 59.9Hz.


Dave

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

* Re: [GMA500] Valid VCO frequency range on GMA500 platform?
  2013-02-11 13:15   ` "David Müller (ELSOFT AG)"
@ 2013-02-11 22:18     ` Patrik Jakobsson
  2013-02-17 17:38       ` Patrik Jakobsson
  0 siblings, 1 reply; 6+ messages in thread
From: Patrik Jakobsson @ 2013-02-11 22:18 UTC (permalink / raw)
  To: David Müller (ELSOFT AG); +Cc: dri-devel

On Mon, Feb 11, 2013 at 2:15 PM, "David Müller (ELSOFT AG)"
<d.mueller@elsoft.ch> wrote:
> Hi Patrik
>
> Patrik Jakobsson wrote:
>> The value of VCO_MIN comes from the Intel PRM for similar GPUs.
>>
>> Instead of changing VCO_MIN, could you try setting N_MIN=1, N_MAX=6 and
>> M1_MAX=22? I'll test it on my own hardware tomorrow.
>
> Thanks for your suggestion.
>
> With "N_MIN=1, N_MAX=6 and M1_MAX=22", i get a refresh rate of 59.9Hz.
>
>
> Dave
>

Those values come from the i915 driver and should work fine for us as well.
I had no problems at my end so I'll submit a patch for this.

-Patrik

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

* Re: [GMA500] Valid VCO frequency range on GMA500 platform?
  2013-02-11 22:18     ` Patrik Jakobsson
@ 2013-02-17 17:38       ` Patrik Jakobsson
  2013-02-18  9:41         ` "David Müller (ELSOFT AG)"
  0 siblings, 1 reply; 6+ messages in thread
From: Patrik Jakobsson @ 2013-02-17 17:38 UTC (permalink / raw)
  To: David Müller (ELSOFT AG); +Cc: dri-devel

On Mon, Feb 11, 2013 at 11:18 PM, Patrik Jakobsson
<patrik.r.jakobsson@gmail.com> wrote:
> On Mon, Feb 11, 2013 at 2:15 PM, "David Müller (ELSOFT AG)"
> <d.mueller@elsoft.ch> wrote:
>> Hi Patrik
>>
>> Patrik Jakobsson wrote:
>>> The value of VCO_MIN comes from the Intel PRM for similar GPUs.
>>>
>>> Instead of changing VCO_MIN, could you try setting N_MIN=1, N_MAX=6 and
>>> M1_MAX=22? I'll test it on my own hardware tomorrow.
>>
>> Thanks for your suggestion.
>>
>> With "N_MIN=1, N_MAX=6 and M1_MAX=22", i get a refresh rate of 59.9Hz.
>>
>>
>> Dave
>>
>
> Those values come from the i915 driver and should work fine for us as well.
> I had no problems at my end so I'll submit a patch for this.
>
> -Patrik

I've sent in a patch for this:
http://lists.freedesktop.org/archives/dri-devel/2013-February/034990.html
it is slightly different to what I proposed earlier. Would be nice if you could
give it a spin and report back.

Thanks
Patrik

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

* Re: [GMA500] Valid VCO frequency range on GMA500 platform?
  2013-02-17 17:38       ` Patrik Jakobsson
@ 2013-02-18  9:41         ` "David Müller (ELSOFT AG)"
  0 siblings, 0 replies; 6+ messages in thread
From: "David Müller (ELSOFT AG)" @ 2013-02-18  9:41 UTC (permalink / raw)
  To: Patrik Jakobsson; +Cc: dri-devel

Patrik Jakobsson wrote:

> I've sent in a patch for this:
> http://lists.freedesktop.org/archives/dri-devel/2013-February/034990.html
> it is slightly different to what I proposed earlier. Would be nice if you could
> give it a spin and report back.


Seems to be ok.

Tested-by: <d.mueller@elsoft.ch>

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

end of thread, other threads:[~2013-02-18  9:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-08 13:51 [GMA500] Valid VCO frequency range on GMA500 platform? "David Müller (ELSOFT AG)"
2013-02-10 17:26 ` Patrik Jakobsson
2013-02-11 13:15   ` "David Müller (ELSOFT AG)"
2013-02-11 22:18     ` Patrik Jakobsson
2013-02-17 17:38       ` Patrik Jakobsson
2013-02-18  9:41         ` "David Müller (ELSOFT AG)"

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.