[Intel-gfx] [PATCH 3/3] drm/i915: Update prop, int co-eff and gain threshold for CHV

2015-03-05 Thread Vijay Purushothaman
odify those bits as part of RMW. v4: TDC target cnt is 10 bits and not 8 bits (Ville) Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |2 ++ drivers/gpu/drm/i915/intel_display.c | 43 -- 2 files changed, 33 insertions(+), 12 dele

[Intel-gfx] [PATCH 2/3] drm/i915: Initialize CHV digital lock detect threshold

2015-03-05 Thread Vijay Purushothaman
enabled (Ville) Signed-off-by: Vijay Purushothaman Signed-off-by: Ville Syrjala --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c |9 + 2 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH 1/3] drm/i915: Disable M2 frac division for integer case

2015-03-05 Thread Vijay Purushothaman
v2 : Handle M2 frac division for both M2 frac and int cases v3 : Addressed Ville's review comments. Cleared the old bits for RMW v4 : Fix feedfwd gain (Ville) Signed-off-by: Vijay Purushothaman Signed-off-by: Ville Syrjala --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gp

[Intel-gfx] [PATCH 2/3] drm/i915: Initialize CHV digital lock detect threshold

2015-03-03 Thread Vijay Purushothaman
RMW Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 8200e98..1a0f94e 100644

[Intel-gfx] [PATCH 3/3] drm/i915: Update prop, int co-eff and gain threshold for CHV

2015-03-03 Thread Vijay Purushothaman
odify those bits as part of RMW. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |2 ++ drivers/gpu/drm/i915/intel_display.c | 43 -- 2 files changed, 33 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_re

[Intel-gfx] [PATCH 1/3] drm/i915: Disable M2 frac division for integer case

2015-03-03 Thread Vijay Purushothaman
v2 : Handle M2 frac division for both M2 frac and int cases v3 : Addressed Ville's review comments. Cleared the old bits for RMW Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c | 24 ++-- 2

[Intel-gfx] [v2 5/5] drm/i915: Update prop, int co-eff and gain threshold for CHV

2015-02-16 Thread Vijay Purushothaman
This patch implements latest PHY changes in Gain, prop and int co-efficients based on the vco freq. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c | 42 -- 2 files changed, 31

[Intel-gfx] [v2 2/5] drm/i915: Limit max VCO supported in CHV to 6.48GHz

2015-02-16 Thread Vijay Purushothaman
As per the recommendation from PHY team, limit the max vco supported in CHV to 6.48 GHz Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm

[Intel-gfx] [v2 3/5] drm/i915: Disable M2 frac division for integer case

2015-02-16 Thread Vijay Purushothaman
Handle M2 frac division for both M2 frac and int cases Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915

[Intel-gfx] [v2 4/5] drm/i915: Initialize CHV digital lock detect threshold

2015-02-16 Thread Vijay Purushothaman
Initialize lock detect threshold and select coarse threshold if M2 is zero Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c

[Intel-gfx] [v2 1/5] drm/i915: Add new PHY reg definitions for lock threshold

2015-02-16 Thread Vijay Purushothaman
Added new PHY register definitions to control TDC buffer calibration and digital lock threshold. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915

[Intel-gfx] [v2 0/5] More DPIO magic for CHV HDMI & DP

2015-02-16 Thread Vijay Purushothaman
Changes since version 1: Addressed Ville's review comments Decoded the magic numbers as much as possible Split the single patch into logical patch set Dropped the DPIO_CLK_EN changes Vijay Purushothaman (5): drm/i915: Add new PHY reg definitions for

[Intel-gfx] [PATCH] drm/i915: More DPIO magic for CHV HDMI & DP

2015-01-29 Thread Vijay Purushothaman
This patch implements latest changes in Gain, lock threshold and integer co-efficient values using sideband r/w. Without these changes there will be signal integrity issues for both HDMI and DP. Change-Id: I7b7151b5ab3a52c4c912cf10602c69a7d1a70222 Signed-off-by: Vijay Purushothaman Tested-by

Re: [Intel-gfx] [PATCH v2 3/3] drm/i915: gmch: fix stuck primary plane due to memory self-refresh mode

2014-06-29 Thread Vijay Purushothaman
ined above. */ - if (IS_GEN2(dev)) - intel_wait_for_vblank(dev, pipe); + intel_wait_for_vblank(dev, pipe); intel_disable_pipe(dev_priv, pipe); Reviewed-by: Vijay Purushothaman ___ Intel-gfx mailing list Intel-gfx@lists.freed

Re: [Intel-gfx] [PATCH v2 2/3] drm/i915: gmch: set SR WMs to valid values before enabling them

2014-06-29 Thread Vijay Purushothaman
update cursor SR watermark */ I915_WRITE(DSPFW3, (cursor_sr << DSPFW_CURSOR_SR_SHIFT)); + + if (cxsr_enabled) + intel_set_memory_cxsr(dev_priv, true); } static void i9xx_update_wm(struct drm_crtc *unused_crtc) Reviewed-by: Vijay Purushothaman

Re: [Intel-gfx] [PATCH 00/11] HSW/BDW PSR.

2014-06-12 Thread Vijay Purushothaman
enabling guide document. After going through that document, things are clear for me. For the series, Reviewed-by: Vijay Purushothaman Thanks, Vijay ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 11/11] drm/i915: PSR HSW: update after enabling sprite.

2014-06-03 Thread Vijay Purushothaman
On 5/16/2014 5:43 AM, Rodrigo Vivi wrote: On the current structure HSW doesn't support PSR with sprites enabled but sprites can be enabled after PSR was enabled what would cause user to miss screen updates. Could you please explain this a bit more? Did you get a confirmation from h/w team that

Re: [Intel-gfx] [PATCH 10/11] drm/i915: Improve PSR debugfs status.

2014-06-03 Thread Vijay Purushothaman
On 6/3/2014 1:10 PM, Daniel Vetter wrote: On Mon, Jun 02, 2014 at 11:54:10PM +0530, Vijay Purushothaman wrote: On 5/16/2014 5:43 AM, Rodrigo Vivi wrote: Now we have the active/inactive state for exit and this actually changes the HW enable bit the status was a bit confusing for users. So let&#

Re: [Intel-gfx] [PATCH 08/11] drm/i915: BDW PSR: Remove limitations that aren't valid for BDW.

2014-06-03 Thread Vijay Purushothaman
On 5/16/2014 5:43 AM, Rodrigo Vivi wrote: Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_dp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 28144d3..9421b0b 100644 --- a/drivers/gpu/drm/i915/intel_d

Re: [Intel-gfx] [PATCH 06/11] drm/i915: Force PSR exit by inactivating it.

2014-06-03 Thread Vijay Purushothaman
On 5/16/2014 10:12 PM, Rodrigo Vivi wrote: On Fri, May 16, 2014 at 3:23 AM, Chris Wilson mailto:ch...@chris-wilson.co.uk>> wrote: On Thu, May 15, 2014 at 08:13:05PM -0400, Rodrigo Vivi wrote: > The perfect solution for psr_exit is the hardware tracking the changes and > doin

Re: [Intel-gfx] [PATCH 04/11] drm/i915: Don't let update_psr function actually enable PSR.

2014-06-03 Thread Vijay Purushothaman
for_each_entry(encoder, &dev->mode_config.encoder_list, base.head) if (encoder->type == INTEL_OUTPUT_EDP) { intel_dp = enc_to_intel_dp(&encoder->base); Reviewed-by: Vijay Purushothaman ___ I

Re: [Intel-gfx] [PATCH 03/11] drm/i915: Use HAS_PSR to avoid unecessary interactions.

2014-06-03 Thread Vijay Purushothaman
ncoder *encoder; struct intel_dp *intel_dp = NULL; + if (!HAS_PSR(dev)) + return; + list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.head) if (encoder->type == INTEL_OUTPUT_EDP) { intel_dp = e

Re: [Intel-gfx] [PATCH 10/11] drm/i915: Improve PSR debugfs status.

2014-06-02 Thread Vijay Purushothaman
On 5/16/2014 5:43 AM, Rodrigo Vivi wrote: Now we have the active/inactive state for exit and this actually changes the HW enable bit the status was a bit confusing for users. So let's provide more info. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 4 +++- 1 file chan

Re: [Intel-gfx] [PATCH] drm/i915: Fix correct FIFO size for Baytrail

2014-02-07 Thread Vijay Purushothaman
On 2/7/2014 9:28 PM, Ville Syrjälä wrote: On Fri, Feb 07, 2014 at 08:43:12PM +0530, Vijay Purushothaman wrote: B-spec says the FIFO total size is 512. So fix this to 512. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |2 +- 1 file changed, 1 insertion(+), 1

[Intel-gfx] [PATCH] drm/i915: Fix correct FIFO size for Baytrail

2014-02-07 Thread Vijay Purushothaman
B-spec says the FIFO total size is 512. So fix this to 512. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/i915_reg.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index cc3ea04..fb73031

Re: [Intel-gfx] Request for feedback - Sprite flip notification support

2014-02-06 Thread Vijay Purushothaman
On 2/6/2014 12:28 PM, Vijay Purushothaman wrote: On 2/5/2014 10:18 PM, Ville Syrjälä wrote: On Wed, Feb 05, 2014 at 09:25:36PM +0530, Vijay Purushothaman wrote: On 2/5/2014 8:43 PM, Ville Syrjälä wrote: On Wed, Feb 05, 2014 at 08:35:11PM +0530, Vijay Purushothaman wrote: Hello, In our

Re: [Intel-gfx] Request for feedback - Sprite flip notification support

2014-02-05 Thread Vijay Purushothaman
On 2/5/2014 10:18 PM, Ville Syrjälä wrote: On Wed, Feb 05, 2014 at 09:25:36PM +0530, Vijay Purushothaman wrote: On 2/5/2014 8:43 PM, Ville Syrjälä wrote: On Wed, Feb 05, 2014 at 08:35:11PM +0530, Vijay Purushothaman wrote: Hello, In our current driver implementation we support flip

Re: [Intel-gfx] Request for feedback - Sprite flip notification support

2014-02-05 Thread Vijay Purushothaman
On 2/5/2014 8:43 PM, Ville Syrjälä wrote: On Wed, Feb 05, 2014 at 08:35:11PM +0530, Vijay Purushothaman wrote: Hello, In our current driver implementation we support flip notifications only for primary plane. So, in a full screen video playback scenario where only one sprite plane is active

[Intel-gfx] Request for feedback - Sprite flip notification support

2014-02-05 Thread Vijay Purushothaman
Hello, In our current driver implementation we support flip notifications only for primary plane. So, in a full screen video playback scenario where only one sprite plane is active, the user space is forced to rely on primary plane flip notification even though there is no real need for this

Re: [Intel-gfx] [PATCH] drm/i915: Don't wait for vblank for sprite plane flips

2013-06-30 Thread Vijay Purushothaman
On 6/28/2013 9:35 PM, Chris Wilson wrote: On Fri, Jun 28, 2013 at 05:24:50PM +0300, Ville Syrjälä wrote: On Fri, Jun 28, 2013 at 07:45:31PM +0530, Vijay Purushothaman wrote: Since the sprite planes are using synchronized MMIO based flip, no need to wait for vblank. Removing this wait allows us

Re: [Intel-gfx] [PATCH] drm/i915: Don't wait for vblank for sprite plane flips

2013-06-30 Thread Vijay Purushothaman
On 6/28/2013 7:54 PM, Ville Syrjälä wrote: On Fri, Jun 28, 2013 at 07:45:31PM +0530, Vijay Purushothaman wrote: Since the sprite planes are using synchronized MMIO based flip, no need to wait for vblank. Removing this wait allows us to get a nice performance boost to both 3D & media workl

[Intel-gfx] [PATCH] drm/i915: Don't wait for vblank for sprite plane flips

2013-06-28 Thread Vijay Purushothaman
Since the sprite planes are using synchronized MMIO based flip, no need to wait for vblank. Removing this wait allows us to get a nice performance boost to both 3D & media workloads based on sprite (~60 fps from ~20 fps) Signed-off-by: Vijay Purushothaman Signed-off-by: Gary Smith --- dri

[Intel-gfx] [PATCH v2 8/9] drm/i915: panel power sequencing for VLV eDP

2012-09-27 Thread Vijay Purushothaman
PPS register offsets have changed in Valleyview. Signed-off-by: Gajanan Bhat Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |9 +++ drivers/gpu/drm/i915/intel_dp.c | 122 +++ 2 files changed, 93

[Intel-gfx] [PATCH v2 9/9] drm/i915: Fixup HDMI output on Valleyview

2012-09-27 Thread Vijay Purushothaman
Fixed correct min, max vco limits and dip ctl reg Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |2 +- drivers/gpu/drm/i915/intel_display.c |2 +- 2 files changed, 2 insertions(+), 2 deletions

[Intel-gfx] [PATCH v2 7/9] drm/i915: Add eDP support for Valleyview

2012-09-27 Thread Vijay Purushothaman
unconditional enabling of 6bpc dithering based on comments from Daniel & Jani Nikula. Also changed the display enabling order to force eDP detection first. Signed-off-by: Gajanan Bhat Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c | 15 --- drivers

[Intel-gfx] [PATCH v2 5/9] drm/i915: Disable CRT hotplug detection for valleyview

2012-09-27 Thread Vijay Purushothaman
Temporary work around to avoid spurious crt hotplug interrupts. Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat --- drivers/gpu/drm/i915/intel_crt.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c

[Intel-gfx] [PATCH v2 6/9] drm/i915: Enable DisplayPort in Valleyview

2012-09-27 Thread Vijay Purushothaman
arate patch. Also moved i9xx_update_pll_dividers to i8xx_update_pll and i9xx_update_pll. Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat --- drivers/gpu/drm/i915/i915_reg.h |8 +-- drivers/gpu/drm/i915/intel_display.c | 90 -- 2 files change

[Intel-gfx] [PATCH v2 3/9] drm/i915: Add Valleyview lane control definitions

2012-09-27 Thread Vijay Purushothaman
Added DPIO data lane register definitions for Valleyview Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index

[Intel-gfx] [PATCH v2 4/9] drm/i915: Program correct m n tu register for Valleyview

2012-09-27 Thread Vijay Purushothaman
m n tu register offset has changed in Valleyview. Also fixed DP limit frequencies. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_display.c |6 +++--- drivers/gpu/drm/i915/intel_dp.c |5 + 2 files changed, 8 insertions(+), 3

[Intel-gfx] [PATCH v2 2/9] drm/i915: Fix SDVO IER and status bits for Valleyview

2012-09-27 Thread Vijay Purushothaman
Fixed SDVOB and SDVOC bit definitions for Valleyview. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_irq.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915

[Intel-gfx] [PATCH v2 1/9] drm/i915: Set aux clk to 100MHz for Valleyview

2012-09-27 Thread Vijay Purushothaman
Set hrawclk to 200 MHz and aux divider clock to 100 MHz for Valleyview. This enables the aux transactions in Valleyview. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_dp.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[Intel-gfx] [PATCH v2 0/9] Enable all display interfaces in Valleyview

2012-09-27 Thread Vijay Purushothaman
This patch set enables all supported display interfaces like HDMI, DisplayPort and eDP for Valleyview. This also enables support for multi-display configurations. v2: Addressed review comments from Daniel and Jani Nikula. Gajanan Bhat (1): drm/i915: Add eDP support for Valleyview Vijay

Re: [Intel-gfx] [PATCH 6/9] drm/i915: Add eDP support for Valleyview

2012-09-27 Thread Vijay Purushothaman
On 9/27/2012 12:48 PM, Jani Nikula wrote: On Wed, 26 Sep 2012, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 07:07:35PM +0530, Vijay Purushothaman wrote: diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a8a81d1..aee6151 100644 --- a/drivers/gpu

Re: [Intel-gfx] [PATCH 6/9] drm/i915: Add eDP support for Valleyview

2012-09-27 Thread Vijay Purushothaman
On 9/26/2012 8:19 PM, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 04:31:46PM +0200, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 07:07:35PM +0530, Vijay Purushothaman wrote: Eventhough Valleyview display block is derived from Cantiga, VLV supports eDP. So, added eDP checks in

Re: [Intel-gfx] [PATCH 9/9] drm/i915: Enable multi display support in VLV

2012-09-27 Thread Vijay Purushothaman
On 9/26/2012 8:10 PM, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 07:07:38PM +0530, Vijay Purushothaman wrote: From: "Bhat, Gajanan" Clened up DPLL calculations for Valleyview. Moved DPLL register and DPIO programming to vlv_update_pll function. With all the changes multi disp

Re: [Intel-gfx] [PATCH 8/9] drm/i915: Reverse min, max vco limits for VLV HDMI

2012-09-27 Thread Vijay Purushothaman
On 9/26/2012 8:08 PM, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 07:07:37PM +0530, Vijay Purushothaman wrote: Fixed min, max vco limits for VLV HDMI. Also fixed correct register offset for VLV_VIDEO_DIP_CTL_A Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat Signed-off-by: Ben

Re: [Intel-gfx] [PATCH 5/9] drm/i915: Fix lanecontrol, vswing, preemp for Valleyview DisplayPort

2012-09-27 Thread Vijay Purushothaman
On 9/26/2012 7:54 PM, Daniel Vetter wrote: On Wed, Sep 26, 2012 at 07:07:34PM +0530, Vijay Purushothaman wrote: In Valleyview voltage swing, pre-emphasis and lane control registers can be programmed only through the h/w side band fabric. Also use i9xx_update_pll to program the correct DPLL

[Intel-gfx] [PATCH 9/9] drm/i915: Enable multi display support in VLV

2012-09-26 Thread Vijay Purushothaman
From: "Bhat, Gajanan" Clened up DPLL calculations for Valleyview. Moved DPLL register and DPIO programming to vlv_update_pll function. With all the changes multi display (clone, extended desktop) should work for VLV. Signed-off-by: Gajanan Bhat --- drivers/gpu/drm/i915/i915_reg.h |8 +

[Intel-gfx] [PATCH 8/9] drm/i915: Reverse min, max vco limits for VLV HDMI

2012-09-26 Thread Vijay Purushothaman
Fixed min, max vco limits for VLV HDMI. Also fixed correct register offset for VLV_VIDEO_DIP_CTL_A Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |2 +- drivers/gpu/drm/i915/intel_display.c |2 +- 2

[Intel-gfx] [PATCH 6/9] drm/i915: Add eDP support for Valleyview

2012-09-26 Thread Vijay Purushothaman
Bhat Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_display.c |6 ++ drivers/gpu/drm/i915/intel_dp.c | 13 - 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu

[Intel-gfx] [PATCH 7/9] drm/i915: panel power sequencing for VLV eDP

2012-09-26 Thread Vijay Purushothaman
PPS register offsets have changed in Valleyview. Signed-off-by: Gajanan Bhat Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |9 +++ drivers/gpu/drm/i915/intel_dp.c | 122 +++ 2 files changed, 93

[Intel-gfx] [PATCH 4/9] drm/i915: Program correct m n tu register for Valleyview

2012-09-26 Thread Vijay Purushothaman
m n tu register offset has changed in Valleyview. Also fixed DP limit frequencies. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_display.c |6 +++--- drivers/gpu/drm/i915/intel_dp.c |5 + 2 files changed, 8 insertions(+), 3

[Intel-gfx] [PATCH 5/9] drm/i915: Fix lanecontrol, vswing, preemp for Valleyview DisplayPort

2012-09-26 Thread Vijay Purushothaman
In Valleyview voltage swing, pre-emphasis and lane control registers can be programmed only through the h/w side band fabric. Also use i9xx_update_pll to program the correct DPLL sequence. Signed-off-by: Vijay Purushothaman Signed-off-by: Gajanan Bhat Signed-off-by: Ben Widawsky --- drivers

[Intel-gfx] [PATCH 3/9] drm/i915: Add Valleyview lane control definitions

2012-09-26 Thread Vijay Purushothaman
Added DPIO data lane register definitions for Valleyview Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_reg.h |8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index

[Intel-gfx] [PATCH 1/9] drm/i915: Set aux clk to 100MHz for Valleyview

2012-09-26 Thread Vijay Purushothaman
Set hrawclk to 200 MHz and aux divider clock to 100 MHz for Valleyview. This enables the aux transactions in Valleyview. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_dp.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[Intel-gfx] [PATCH 2/9] drm/i915: Fix SDVO IER and status bits for Valleyview

2012-09-26 Thread Vijay Purushothaman
Fixed SDVOB and SDVOC bit definitions for Valleyview. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_irq.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 0/9] Enable all display interfaces in Valleyview

2012-09-26 Thread Vijay Purushothaman
tags? Bhat, Gajanan (1): drm/i915: Enable multi display support in VLV Vijay Purushothaman (8): drm/i915: Set aux clk to 100MHz for Valleyview drm/i915: Fix SDVO IER and status bits for Valleyview drm/i915: Add Valleyview lane control definitions drm/i915: Program correct m n tu register

Re: [Intel-gfx] [PATCH 00/58] modeset-rework, the basic conversion

2012-08-27 Thread Vijay Purushothaman
Dual display is still work in progress for Valleyview. So, i did not test the combinations like VGA+HDMI or VGA+DP. Tested-by: Vijay Purushothaman Acked-by: Vijay Purushothaman Thanks, Vijay Daniel Vetter (58): drm/i915: add crtc->enable/disable vfuncs insted of dpms drm/i915: rip ou

[Intel-gfx] [PATCH v3] drm/i915: fix color order for BGR formats on IVB

2012-08-22 Thread Vijay Purushothaman
definitions. Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_sprite.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index cc8df4d..7644f31 100644 --- a/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH v2] drm/i915: fix color order for BGR formats on IVB

2012-08-22 Thread Vijay Purushothaman
On 8/22/2012 6:30 PM, Antti Koskipää wrote: Hi, On 08/22/12 12:17, Vijay Purushothaman wrote: This is already fixed for ILK and SNB in the below commit but somehow IVB is missed. commit ab2f9df10dd955f1fc0a8650e377588c98f1c029 Author: Jesse Barnes Date: Mon Feb 27 12:40:10 2012 -0800

Re: [Intel-gfx] [PATCH] drm/i915: fix color order for BGR formats on IVB

2012-08-22 Thread Vijay Purushothaman
On 8/22/2012 1:19 PM, Paul Menzel wrote: Dear Vijay, Am Mittwoch, den 22.08.2012, 11:47 +0530 schrieb Vijay Purushothaman: This is already fixed for ILK and SNB … in what commits? Added the previous commit number which solved this problem on Sandybridge and description in the second version

[Intel-gfx] [PATCH v2] drm/i915: fix color order for BGR formats on IVB

2012-08-22 Thread Vijay Purushothaman
. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Lin --- drivers/gpu/drm/i915/intel_sprite.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index cc8df4d..6045a01 100644 --- a/drivers/gpu/drm

[Intel-gfx] [PATCH] drm/i915: fix color order for BGR formats on IVB

2012-08-21 Thread Vijay Purushothaman
This is already fixed for ILK and SNB but somehow IVB is missed. Signed-off-by: Vijay Purushothaman Signed-off-by: Ben Lin --- drivers/gpu/drm/i915/intel_sprite.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm

[Intel-gfx] [PATCH intel-gpu-tools] tools: Added intel_dpio_read and intel_dpio_write

2012-08-17 Thread Vijay Purushothaman
In Valleyview the DPLL and lane control registers are accessible only through side band fabric called DPIO. Added two tools to read and write registers residing in this space. v2: Moved the core read/write functions to lib/intel_dpio.c based on Ben's feedback Signed-off-by: Vijay Purushot

Re: [Intel-gfx] [PATCH intel-gpu-tools] tools: Added intel_dpio_read and intel_dpio_write

2012-08-06 Thread Vijay Purushothaman
On Fri, 3 Aug 2012 10:05:41 +0300 Jani Nikula wrote: > On Thu, 02 Aug 2012, Ben Widawsky wrote: > > On 2012-08-02 05:07, Vijay Purushothaman wrote: > >> In Valleyview the DPLL and lane control registers are accessible > >> only through side band fabric called DP

Re: [Intel-gfx] [PATCH intel-gpu-tools] tools: Added intel_dpio_read and intel_dpio_write

2012-08-06 Thread Vijay Purushothaman
On Thu, 2 Aug 2012 09:06:48 -0700 Ben Widawsky wrote: > On 2012-08-02 05:07, Vijay Purushothaman wrote: > > In Valleyview the DPLL and lane control registers are accessible > > only through side band fabric called DPIO. Added two tools to read > > and write > > regis

[Intel-gfx] [PATCH intel-gpu-tools] tools: Added intel_dpio_read and intel_dpio_write

2012-08-02 Thread Vijay Purushothaman
In Valleyview the DPLL and lane control registers are accessible only through side band fabric called DPIO. Added two tools to read and write registers residing in this space. Signed-off-by: Vijay Purushothaman --- tools/Makefile.am|2 + tools/intel_dpio_read.c | 105

[Intel-gfx] [PATCH 2/2] drm/i915: cleanup Valleyview PLL calculation

2012-06-15 Thread Vijay Purushothaman
replaced hardcoded numbers with valid PLL limit values Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c | 52 + 1 files changed, 21 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm

[Intel-gfx] [PATCH 1/2] drm/i915 : fix incorrect p2 values for Valleyview

2012-06-15 Thread Vijay Purushothaman
Signed-off-by: Vijay Purushothaman --- drivers/gpu/drm/i915/intel_display.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 157dcb0a..0707b7a 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 0/2] Valleyview PLL fix and cleanup

2012-06-15 Thread Vijay Purushothaman
code refactoring, most welcome! Thanks, Vijay Vijay Purushothaman (2): drm/i915 : fix incorrect p2 values for Valleyview drm/i915: cleanup Valleyview PLL calculation drivers/gpu/drm/i915/intel_display.c | 58 ++ 1 files changed, 24 insertions(+), 34 dele