[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 vijay.a.purushotha...@linux.intel.com Signed-off-by: Ville Syrjala ville.syrj...@linux.intel.com

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

2015-03-05 Thread Vijay Purushothaman
is enabled (Ville) Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@linux.intel.com Signed-off-by: Ville Syrjala ville.syrj...@linux.intel.com --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c |9 + 2 files changed, 10 insertions(+) diff --git

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

2015-03-05 Thread Vijay Purushothaman
those bits as part of RMW. v4: TDC target cnt is 10 bits and not 8 bits (Ville) Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/i915_reg.h |2 ++ drivers/gpu/drm/i915/intel_display.c | 43 -- 2 files

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

2015-03-03 Thread Vijay Purushothaman
of RMW Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@linux.intel.com --- 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

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

2015-03-03 Thread Vijay Purushothaman
those bits as part of RMW. Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@linux.intel.com --- 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

[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 vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/intel_display.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b

[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 vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/intel_display.c | 42

[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 vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915

[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 vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/intel_display.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915

[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 vijay.a.purushotha...@linux.intel.com --- drivers/gpu/drm/i915/i915_reg.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/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 lock

[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

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
)); + + if (cxsr_enabled) + intel_set_memory_cxsr(dev_priv, true); } static void i9xx_update_wm(struct drm_crtc *unused_crtc) Reviewed-by: Vijay Purushothaman vijay.a.purushotha...@intel.com ___ Intel-gfx mailing list Intel-gfx

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
explained 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 vijay.a.purushotha...@intel.com

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

2014-06-12 Thread Vijay Purushothaman
, things are clear for me. For the series, Reviewed-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Thanks, Vijay ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

2014-06-03 Thread Vijay Purushothaman
= 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 = enc_to_intel_dp(encoder-base); Reviewed-by: Vijay Purushothaman

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

2014-06-03 Thread Vijay Purushothaman
; + list_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 vijay.a.purushotha...@intel.com

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 ch...@chris-wilson.co.uk 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

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 rodrigo.v...@gmail.com --- 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 ---

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 rodrigo.v...@gmail.com --- drivers/gpu/drm/i915/i915_debugfs.c

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 vijay.a.purushotha...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |2 +- 1 file

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

[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] 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] [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 workloads

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

[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 vijay.a.purushotha...@intel.com Signed-off

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

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 vijay.a.purushotha...@intel.com Signed-off

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 gajanan.b...@intel.com Clened up DPLL calculations for Valleyview. Moved DPLL register and DPIO programming to vlv_update_pll function. With all the changes multi

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

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 dan...@ffwll.ch 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

[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

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/intel_dp.c |8

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_irq.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/intel_display.c |6 +++--- drivers/gpu/drm/i915/intel_dp.c

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm

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

2012-09-27 Thread Vijay Purushothaman
patch. Also moved i9xx_update_pll_dividers to i8xx_update_pll and i9xx_update_pll. Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Signed-off-by: Gajanan Bhat gajanan.b...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |8 +-- drivers/gpu/drm/i915/intel_display.c | 90

[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 vijay.a.purushotha...@intel.com Signed-off-by: Gajanan Bhat gajanan.b...@intel.com --- drivers/gpu/drm/i915/intel_crt.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm

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

2012-09-27 Thread Vijay Purushothaman
interfaces v4: removed 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 gajanan.b...@intel.com Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com

[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 vijay.a.purushotha...@intel.com Signed-off-by: Gajanan Bhat gajanan.b...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |2 +- drivers/gpu/drm/i915

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

2012-09-26 Thread Vijay Purushothaman
? 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

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_irq.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/intel_dp.c |8

[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 vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm

[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 vijay.a.purushotha...@intel.com Signed-off-by: Gajanan Bhat gajanan.b

[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 gajanan.b...@intel.com Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/i915_reg.h |9 +++ drivers/gpu/drm/i915

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

2012-09-26 Thread Vijay Purushothaman
Bhat gajanan.b...@intel.com Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm/i915/intel_display.c |6 ++ drivers/gpu/drm/i915/intel_dp.c | 13 - 2 files changed, 14 insertions

[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 vijay.a.purushotha...@intel.com Signed-off-by: Gajanan Bhat gajanan.b...@intel.com Signed-off-by: Ben Widawsky benjamin.widaw...@intel.com --- drivers/gpu/drm

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

2012-09-26 Thread Vijay Purushothaman
From: Bhat, Gajanan gajanan.b...@intel.com 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 gajanan.b...@intel.com ---

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

2012-08-27 Thread Vijay Purushothaman
in progress for Valleyview. So, i did not test the combinations like VGA+HDMI or VGA+DP. Tested-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Acked-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Thanks, Vijay Daniel Vetter (58): drm/i915: add crtc-enable/disable vfuncs insted

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

2012-08-23 Thread Vijay Purushothaman
the wrong bits and field definitions. Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com --- 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

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

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

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

2012-08-22 Thread Vijay Purushothaman
and field definitions. Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com Signed-off-by: Ben Lin ben.y@intel.com --- 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

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 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 Purushothaman

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 b...@bwidawsk.net 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 registers residing

[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 vijay.a.purushotha...@intel.com --- tools/Makefile.am|2 + tools

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

2012-06-15 Thread Vijay Purushothaman
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 deletions

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

2012-06-15 Thread Vijay Purushothaman
Signed-off-by: Vijay Purushothaman vijay.a.purushotha...@intel.com --- 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

[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 vijay.a.purushotha...@intel.com --- drivers/gpu/drm/i915/intel_display.c | 52 + 1 files changed, 21 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/i915