This patch is a clean-up, since ring_put_irq/ring_get_irq are only used
by bsd_ring_put_irq and bsd_ring_get_irq.
This patch also serve the further fix about irq miss in bsd ring on g4x.
Interrupt control interfaces are different between g4x and ironlake,
they use different interrupt control reg
This patch depends on patch drm/i915:merge ring_put/get_irq into
bsd_ring_put/get_irq
On g4x, user interrupt in bsd ring is missed.
g4x and ironlake share the same bsd_ring, but their interrupt control
interfaces are different, g4x use I915 while ironlake use GT.
The interrupt mask reg address
We need this fix to enable h264 decoding on g4x platform.
There are two patches to fix the problem.
1. merge ring irq put-get pair into bsd_ring irq put-get pair
2. add conditional judgment about dev version to use different interrupt
control interfaces.
As the patches show, g4x
This patch is a clean-up, since ring_put_irq/ring_get_irq are only used
by bsd_ring_put_irq and bsd_ring_get_irq.
This patch also serve the further fix about irq miss in bsd ring on g4x.
Interrupt control interfaces are different between g4x and ironlake,
they use different interrupt control reg
This patch depends on patch drm/i915:merge ring_put/get_irq into
bsd_ring_put/get_irq
On g4x, user interrupt in bsd ring is missed.
g4x and ironlake share the same bsd_ring, but their interrupt control
interfaces are different, g4x use I915 while ironlake use GT.
The interrupt mask reg address
To the casual observer, our naming is a mess. However, we did have a plan
for how our functions should be named, just we were lax and let cruft
accrue. Explain how it was meant to look in the hope that someday it
will all make sense.
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
---
On Thu, 28 Apr 2011 15:22:05 +0800, Feng, Boqun boqun.f...@intel.com wrote:
This patch depends on patch drm/i915:merge ring_put/get_irq into
bsd_ring_put/get_irq
I'm being a nuisance, but this is the wrong way around. This a bug fix and
needs to apply cleanly on top of -fixes and marked for
On Wed, 2011-04-27 at 11:07 +0800, Zou, Nanhai wrote:
Hi,
We have merged HW accelerated SandyBridge encoding code to libva master
branch.
At this point we support I frame and P frame encoding for H.264 main
profile.
B frame support, frame rate control, performance tuning
I got it.
Thanks
-Boqun
-Original Message-
From: Chris Wilson [mailto:ch...@chris-wilson.co.uk]
Sent: Thursday, April 28, 2011 4:03 PM
To: Feng, Boqun; intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x
v2
On Thu, 28 Apr 2011
Bleh, I've fat-fingered the fdo address on the first submission, to
which Eric replied.
Pasting his response below:
On Wed, 27 Apr 2011 22:33:35 +0200, Daniel Vetter
daniel.vet...@ffwll.ch wrote:
This was just to facilitate product enablement with pre-production hw.
Allows us to kill quite a
On Thu, 28 Apr 2011 15:40:43 +0700, Magnus Kessler magnus.kess...@gmx.net
wrote:
On Thursday 28 April 2011 08:58:18 Chris Wilson wrote:
+General notes on file naming
+
+
+File naming is a little more complex due to hysterical raisons that we
Reverse the order of patches.
There are two patches
1. fix user irq miss in BSD ring on g4x
2. clean up unused functions
Feng, Boqun
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
On g4x, user interrupt in BSD ring is missed.
g4x and ironlake share the same bsd_ring, but their interrupt control
interfaces are different. On g4x i915_enable_irq and i915_disable_irq
are used to enable/disable irq,and user interrupt flag in BSD ring on
g4x is I915_BSD_USER_INTERRUPT.
This patch depends on patch drm/i915: fix user irq miss in BSD ring on
g4x.
Once the previous patch apply, ring_get_irq/ring_put_irq become unused.
So simply remove them.
Signed-off-by: Feng, Boqun boqun.f...@intel.com
Reviewed-by: Xiang, Haihao haihao.xi...@intel.com
---
On Wed, Apr 27, 2011 at 03:49:40PM -0700, Jesse Barnes wrote:
On Wed, 27 Apr 2011 23:03:14 +0100
Chris Wilson ch...@chris-wilson.co.uk wrote:
We should probably just enable fbc on the pipe connected to the
internal panel (if any) and keep it disabled otherwise.
On Arrandale, fbc is
Set the IRQ handling functions in driver load so they'll just be used
directly, rather than branching over most of the code in the chipset
functions.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_dma.c | 12 ++
drivers/gpu/drm/i915/i915_drv.h |6
Rather than branching in ironlake_pch_enable, add a new train_fdi
function to the display function pointer struct and use it instead.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.h |2 +-
drivers/gpu/drm/i915/intel_display.c |7 +++
2
Updated with review comments, just need to check and make sure all the
rebasing didn't mess anything up, and of course testing is always
needed.
Thanks,
Jesse
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
This makes the Ironlake+ code trivial and generally simplifies things.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_dma.c |4 +++
drivers/gpu/drm/i915/i915_drv.h |2 +
drivers/gpu/drm/i915/i915_irq.c | 42 --
3
Note: IS_GEN* are for render related checks. Display and other checks
should use IS_MOBILE, IS_$CHIPSET or test for specific features.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff
---
drivers/gpu/drm/i915/i915_drv.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 93ac632..3a23de6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -230,6
A0 stepping chips need to use manual training, but the bits have all
moved. So fix things up so we can at least train FDI for VGA links.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_reg.h | 10 +++
drivers/gpu/drm/i915/intel_display.c | 128
Treat it like Ironlake and Sandy Bridge.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_gem_tiling.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c
b/drivers/gpu/drm/i915/i915_gem_tiling.c
Ivy Bridge has a similar split display controller to Sandy Bridge, so
use HAS_PCH_SPLIT. And gen7 also has the pipe control instruction, so
use HAS_PIPE_CONTROL as well.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.h |4 ++--
1 files changed, 2
Ivy Bridge supports auto-training on the CPU side, so add a separate
training function to handle it.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_reg.h |2 +
drivers/gpu/drm/i915/intel_display.c | 82 +++--
2 files
On Thu, 28 Apr 2011 15:12:55 -0700
Jesse Barnes jbar...@virtuousgeek.org wrote:
Ivy Bridge supports auto-training on the CPU side, so add a separate
training function to handle it.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_reg.h |2 +
This is a little less confusing than relying on the implicit zeroing of
the dev_priv.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c
Add new interrupt handling functions for Ivy Bridge.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_dma.c | 12 +++-
drivers/gpu/drm/i915/i915_drv.h |7 ++
drivers/gpu/drm/i915/i915_irq.c | 156 +++
Just use the Sandy Bridge routines.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/char/agp/intel-agp.c |3 +++
drivers/char/agp/intel-agp.h |8
drivers/char/agp/intel-gtt.c | 10 ++
3 files changed, 21 insertions(+), 0 deletions(-)
diff --git
This helps contain the mess to init_display() instead.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.h |2 +-
drivers/gpu/drm/i915/i915_suspend.c |2 +-
drivers/gpu/drm/i915/intel_display.c | 337 +++---
3 files
We can treat PantherPoint as CougarPoint as far as display goes.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
Treat Ivy Bridge like previous chips as far as flip submission is
concerned.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/intel_display.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
Use Sandy Bridge paths in a few places.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/intel_ringbuffer.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
Treat it like Sandy Bridge in a few places.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/intel_dp.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index
Not fully tested.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/intel_display.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 3396043..fbb7a6b
There are several variants, set feature bits appropriately for both
mobile and desktop parts.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
---
drivers/gpu/drm/i915/i915_drv.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git
On Thu, 28 Apr 2011 15:12:47 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Rather than branching in ironlake_pch_enable, add a new train_fdi
function to the display function pointer struct and use it instead.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Reviewed-by: Keith
On Thu, 28 Apr 2011 15:12:48 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Set the IRQ handling functions in driver load so they'll just be used
directly, rather than branching over most of the code in the chipset
functions.
Reviewed-by: Keith Packard kei...@keithp.com
--
On Thu, 28 Apr 2011 15:12:49 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
This makes the Ironlake+ code trivial and generally simplifies things.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Reviewed-by: Keith Packard kei...@keithp.com
--
keith.pack...@intel.com
On Thu, 28 Apr 2011 15:12:50 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Note: IS_GEN* are for render related checks. Display and other checks
should use IS_MOBILE, IS_$CHIPSET or test for specific features.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Reviewed-by: Keith
On Thu, 28 Apr 2011 15:12:51 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
I don't see a patch in this series that sets this value from the PCI
ids. Is that still pending?
--
keith.pack...@intel.com
pgpfAzxA46ANr.pgp
Description: PGP signature
On Thu, 28 Apr 2011 15:12:52 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Ivy Bridge has a similar split display controller to Sandy Bridge, so
use HAS_PCH_SPLIT. And gen7 also has the pipe control instruction, so
use HAS_PIPE_CONTROL as well.
Signed-off-by: Jesse Barnes
On Thu, 28 Apr 2011 15:12:53 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Treat it like Ironlake and Sandy Bridge.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Should use gen = 5?
--
keith.pack...@intel.com
pgptprXAz4FhS.pgp
Description: PGP signature
On Thu, 28 Apr 2011 15:12:54 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
+ if (IS_GEN6(dev)) {
+ temp = ~FDI_LINK_TRAIN_NONE;
+ temp |= FDI_LINK_TRAIN_NONE | FDI_TX_ENHANCE_FRAME_ENABLE;
+ } else if (IS_IVYBRIDGE(dev)) {
+ temp =
On Thu, 28 Apr 2011 15:12:55 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Ivy Bridge supports auto-training on the CPU side, so add a separate
training function to handle it.
Let's leave this out of the kernel until we have hardware that actually
uses it.
--
keith.pack...@intel.com
On Thu, 28 Apr 2011 15:12:56 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
- if (IS_GEN6(dev)) {
+ if (IS_GEN6(dev) || IS_IVYBRIDGE(dev)) {
IS_GEN6 for SNB and IS_IVYBRIDGE for IVB? More consistency, please.
--
keith.pack...@intel.com
pgpPesA8nYOAV.pgp
On Thu, 28 Apr 2011 15:12:57 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
- if (IS_G4X(dev) || IS_GEN5(dev) || IS_GEN6(dev)) {
+ if (IS_G4X(dev) || IS_GEN5(dev) || IS_GEN6(dev) || IS_IVYBRIDGE(dev)) {
IS_G4X || gen = 5 ?
Otherwise, this looks good (seems like it's just bit
On Thu, 28 Apr 2011 15:12:59 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Treat it like Sandy Bridge in a few places.
gen = 6?
--
keith.pack...@intel.com
pgpqFHB2q8tev.pgp
Description: PGP signature
___
Intel-gfx mailing list
On Thu, 28 Apr 2011 15:13:00 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Use Sandy Bridge paths in a few places.
gen = 6 ?
--
keith.pack...@intel.com
pgp6Bmd9mjsyL.pgp
Description: PGP signature
___
Intel-gfx mailing list
On Thu, 28 Apr 2011 15:13:03 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
There are several variants, set feature bits appropriately for both
mobile and desktop parts.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Reviewed-by: Keith Packard kei...@keithp.com
--
On Thu, 28 Apr 2011 15:13:04 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
This is a little less confusing than relying on the implicit zeroing of
the dev_priv.
Thanks.
Reviewed-by: Keith Packard kei...@keithp.com
--
keith.pack...@intel.com
pgpFuOeuyyxOq.pgp
Description: PGP
On Thu, 28 Apr 2011 15:43:10 -0700
Keith Packard kei...@keithp.com wrote:
On Thu, 28 Apr 2011 15:12:54 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
+ if (IS_GEN6(dev)) {
+ temp = ~FDI_LINK_TRAIN_NONE;
+ temp |= FDI_LINK_TRAIN_NONE |
On Thu, 28 Apr 2011 15:42:13 -0700
Keith Packard kei...@keithp.com wrote:
On Thu, 28 Apr 2011 15:12:53 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
Treat it like Ironlake and Sandy Bridge.
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
Should use gen = 5?
Yeah, probably
On Thu, 28 Apr 2011 15:46:06 -0700
Keith Packard kei...@keithp.com wrote:
On Thu, 28 Apr 2011 15:12:56 -0700, Jesse Barnes jbar...@virtuousgeek.org
wrote:
- if (IS_GEN6(dev)) {
+ if (IS_GEN6(dev) || IS_IVYBRIDGE(dev)) {
IS_GEN6 for SNB and IS_IVYBRIDGE for IVB?
54 matches
Mail list logo