Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-27 Thread Daniel Vetter
On Fri, Sep 27, 2013 at 01:07:19PM +0300, Ville Syrjälä wrote: > On Fri, Sep 27, 2013 at 03:31:00PM +0800, Chon Ming Lee wrote: > > CDCLK is used to generate the gmbus clock. This is normally done by > > BIOS. Program the value if the BIOS-less system doesn't do it. > > > > v2: Move this to intel

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-27 Thread Ville Syrjälä
On Fri, Sep 27, 2013 at 03:31:00PM +0800, Chon Ming Lee wrote: > CDCLK is used to generate the gmbus clock. This is normally done by > BIOS. Program the value if the BIOS-less system doesn't do it. > > v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency > during resume. (Danie

[Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-27 Thread Chon Ming Lee
CDCLK is used to generate the gmbus clock. This is normally done by BIOS. Program the value if the BIOS-less system doesn't do it. v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency during resume. (Daniel) v3: Change GMBUS_FREQ to GMBUSFREQ_VLV, and use VLV_DISPLAY_BASE. (Vi

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-24 Thread Ville Syrjälä
On Tue, Sep 24, 2013 at 09:18:57PM +0800, Lee, Chon Ming wrote: > On 09/24 15:54, Ville Syrjälä wrote: > > On Tue, Sep 24, 2013 at 05:47:57PM +0800, Chon Ming Lee wrote: > > > CDCLK is used to generate the gmbus clock. This is normally done by > > > BIOS. Program the value if the BIOS-less system

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-24 Thread Lee, Chon Ming
On 09/24 15:54, Ville Syrjälä wrote: > On Tue, Sep 24, 2013 at 05:47:57PM +0800, Chon Ming Lee wrote: > > CDCLK is used to generate the gmbus clock. This is normally done by > > BIOS. Program the value if the BIOS-less system doesn't do it. > > > > v2: Move this to intel_i2c_reset to allow reprog

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-24 Thread Ville Syrjälä
On Tue, Sep 24, 2013 at 05:47:57PM +0800, Chon Ming Lee wrote: > CDCLK is used to generate the gmbus clock. This is normally done by > BIOS. Program the value if the BIOS-less system doesn't do it. > > v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency > during resume. (Danie

[Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-24 Thread Chon Ming Lee
CDCLK is used to generate the gmbus clock. This is normally done by BIOS. Program the value if the BIOS-less system doesn't do it. v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency during resume. (Daniel) v3: Change GMBUS_FREQ to GMBUSFREQ_VLV, and use VLV_DISPLAY_BASE. (Vi

[Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK for VLV.

2013-09-24 Thread Chon Ming Lee
CDCLK is used to generate the gmbus clock. This is normally done by BIOS. Program the value if the BIOS-less system doesn't do it. v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency during resume. (Daniel) v3: Change GMBUS_FREQ to GMBUSFREQ_VLV, and use VLV_DISPLAY_BASE. (Vi

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK

2013-09-13 Thread Daniel Vetter
On Fri, Sep 13, 2013 at 1:23 PM, Ville Syrjälä wrote: > > So you might want to turn this function into some generic function to > calculate both GMBUS and AUX clocks for VLV. You could just take the > target frequency (2 or 4 in these cases) as a parameter and return the > calculated divider. I t

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK

2013-09-13 Thread Ville Syrjälä
On Fri, Sep 13, 2013 at 02:39:21PM +0800, Chon Ming Lee wrote: > CDCLK is used to generate the gmbus clock. This is normally done by > BIOS. This is only for valleyview platform. > > v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency > during resume. (Daniel) > > Signed-off-

[Intel-gfx] [PATCH 2/2] drm/i915: Program GMBUS Frequency based on the CDCLK

2013-09-12 Thread Chon Ming Lee
CDCLK is used to generate the gmbus clock. This is normally done by BIOS. This is only for valleyview platform. v2: Move this to intel_i2c_reset to allow reprogram the gmbus frequency during resume. (Daniel) Signed-off-by: Chon Ming Lee --- drivers/gpu/drm/i915/i915_reg.h |8 +++ driv