Re: [Intel-gfx] 3.13 i915 brightness settings broken when going from docked -> undocked

2014-02-19 Thread Paul Bolle
On Wed, 2014-02-19 at 21:20 -0500, Josh Boyer wrote: > We've had a rather weird report[1] of the brightness adjustments being > broken in a specific case with Thinkpad x220 hardware (SandyBridge > based). If you boot the machine with it in a dock and then undock, > the brightness adjustments do no

[Intel-gfx] [PATCH 11/11] [v4] drm/i915/bdw: Ensure a context is loaded before RC6

2014-02-19 Thread Ben Widawsky
RC6 works a lot like HW contexts in that when the GPU enters RC6 it saves away the state to a context, and loads it upon wake. It's to be somewhat expected that BIOS will not set up valid GPU state. As a result, if loading bad state can cause the GPU to get angry, it would make sense then that we

[Intel-gfx] [PATCH 11/13] drm/i915: unleash semaphores on gen8

2014-02-19 Thread Ben Widawsky
Everything should be lined up now to make gen8 semaphores work like they did on previous generations, so just do it. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i91

[Intel-gfx] [PATCH 13/13] DONT_MERGE drm/i915: FORCE_RESTORE for gen8 semaphores

2014-02-19 Thread Ben Widawsky
This appears to not actually be needed on the current code. Just putting it on the ML so we can point bug reports at it later. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_context.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_context.

[Intel-gfx] [PATCH 12/13] drm/i915: semaphore debugfs

2014-02-19 Thread Ben Widawsky
Simple debugfs file to display the current state of semaphores. This is useful if you want to see the state without hanging the GPU. NOTE: This patch is optional to the series. NOTE2: Like the GPU error state collection, the reads are currently incoherent. Signed-off-by: Ben Widawsky --- drive

[Intel-gfx] [PATCH 10/13] drm/i915/bdw: collect semaphore error state

2014-02-19 Thread Ben Widawsky
Since the semaphore information is in an object, just dump it, and let the user parse it later. NOTE: The page being used for the semaphores are incoherent with the CPU. No matter what I do, I cannot figure out a way to read anything but 0s. Note that the semaphore waits are indeed working. v2: D

[Intel-gfx] [PATCH 02/13] drm/i915: Virtualize the ringbuffer signal func

2014-02-19 Thread Ben Widawsky
This abstraction again is in preparation for gen8. Gen8 will bring new semantics for doing this operation. While here, make the writes of MI_NOOPs explicit for non-existent rings. This should have been implicit before. NOTE: This is going to be removed in a few patches. Reviewed-by: Ville Syrjäl

[Intel-gfx] [PATCH 01/13] drm/i915: Move semaphore specific ring members to struct

2014-02-19 Thread Ben Widawsky
This will be helpful in abstracting some of the code in preparation for gen8 semaphores. v2: Move mbox stuff to a separate struct Reviewed-by: Ville Syrjälä (v1) Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem.c | 10 ++-- drivers/gpu/drm/i915/i915_gpu_error.c | 6 +--

[Intel-gfx] [PATCH 09/13] drm/i915: Extract semaphore error collection

2014-02-19 Thread Ben Widawsky
Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gpu_error.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index bcab114..2b64493 100644 --- a/drivers/gpu/

[Intel-gfx] [PATCH 06/13] drm/i915/bdw: implement semaphore signal

2014-02-19 Thread Ben Widawsky
Semaphore signalling works similarly to previous GENs with the exception that the per ring mailboxes no longer exist. Instead you must define your own space, somewhere in the GTT. The comments in the code define the layout I've opted for, which should be fairly future proof. Ie. I tried to define

[Intel-gfx] [PATCH 04/13] drm/i915: Make semaphore updates more precise

2014-02-19 Thread Ben Widawsky
With the ring mask we now have an easy way to know the number of rings in the system, and therefore can accurately predict the number of dwords to emit for semaphore signalling. This was not possible (easily) previously. There should be no functional impact, simply fewer instructions emitted. Whi

[Intel-gfx] [PATCH 05/13] drm/i915: gen specific ring init

2014-02-19 Thread Ben Widawsky
Gen8 has already had some differentiation with how it handles rings. Semaphores bring yet more differences, and now is as good a time as any to do the split. Also, since gen8 doesn't actually use semaphores up until this point, put the proper "NULL" values in for the mbox info. v2: v1 had a stale

[Intel-gfx] [PATCH 03/13] drm/i915: Move ring_begin to signal()

2014-02-19 Thread Ben Widawsky
Add_request has always contained both the semaphore mailbox updates as well as the breadcrumb writes. Since the semaphore signal is the one which actually knows about the number of dwords it needs to emit to the ring, we move the ring_begin to that function. This allows us to remove the hideously s

[Intel-gfx] [PATCH 07/13] drm/i915/bdw: implement semaphore wait

2014-02-19 Thread Ben Widawsky
Semaphore waits use a new instruction, MI_SEMAPHORE_WAIT. The seqno to wait on is all well defined by the table in the previous patch. There is nothing else different from previous GEN's semaphore synchronization code. v2: Update macros to not require the other ring's ring->id (Chris) Signed-off-

[Intel-gfx] [PATCH 08/13] drm/i915/bdw: poll semaphores

2014-02-19 Thread Ben Widawsky
Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/intel_ringbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 3d5dd4a..5f7bee8 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/

[Intel-gfx] [PATCH 8/9] drm/i915: Split GEN6 PPGTT cleanup

2014-02-19 Thread Ben Widawsky
This cleanup is similar to the GEN8 cleanup (though less necessary). Having everything split will make cleaning the initialization path error paths easier to understand. Reviewed-by: Chris Wilson Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_gtt.c | 26 +++---

[Intel-gfx] [PATCH 3/9] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Ben Widawsky
Like cleanup in an earlier patch, the code becomes much more readable, and easier to extend if we extract out helper functions for the various stages of init. Note that with this patch it becomes really simple, and tempting to begin using the 'goto out' idiom with explicit free/fini semantics. I'v

[Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Ben Widawsky
The previous allocation mechanism would get 2 contiguous allocations, one for the page directories, and one for the page tables. As each page table is 1 page, and there are 512 of these per page directory, this goes to 2MB. An unfriendly request at best. Worse still, our HW now supports 4 page dire

[Intel-gfx] [PATCH 9/9] drm/i915: Split GEN6 PPGTT initialization up

2014-02-19 Thread Ben Widawsky
Simply to match the GEN8 style of PPGTT initialization, split up the allocations and mappings. Unlike GEN8, we skip a separate dma_addr_t allocation function, as it is much simpler pre-gen8. With this code it would be easy to make a more general PPGTT initialization function with per GEN alloc/map

[Intel-gfx] [PATCH 1/9] drm/i915/bdw: Free PPGTT struct

2014-02-19 Thread Ben Widawsky
GEN8 never freed the PPGTT struct. As GEN8 doesn't use full PPGTT, the leak is small and only found on a module reload. ie. I don't think this needs to go to stable. Reported-by: Ville Syrjälä Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_gtt.c | 1 + 1 file changed, 1 insertion

[Intel-gfx] [PATCH 4/9] drm/i915: Make clear/insert vfuncs args absolute

2014-02-19 Thread Ben Widawsky
This patch converts insert_entries and clear_range, both functions which are specific to the VM. These functions tend to encapsulate the gen specific PTE writes. Passing absolute addresses to the insert_entries, and clear_range will help make the logic clearer within the functions as to what's goin

[Intel-gfx] [PATCH 6/9] Revert "drm/i915/bdw: Limit GTT to 2GB"

2014-02-19 Thread Ben Widawsky
This reverts commit 3a2ffb65eec6dbda2fd8151894f51c18b42c8d41. Now that the code is fixed to use smaller allocations, it should be safe to let the full GGTT be used on DW. The testcase for this is anything which uses more than half of the GTT, thus eclipsing the old limit. With pre-requisite patc

[Intel-gfx] [PATCH 7/9] drm/i915: Update i915_gem_gtt.c copyright

2014-02-19 Thread Ben Widawsky
I keep meaning to do this... by now almost the entire file has been written by an Intel employee (including Daniel post-2010). Reviewed-by: Imre Deak Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_gtt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915

[Intel-gfx] [PATCH 2/9] drm/i915/bdw: Reorganize PPGTT init

2014-02-19 Thread Ben Widawsky
Create 3 clear stages in PPGTT init. This will help with upcoming changes be more readable. The 3 stages are, allocation, dma mapping, and writing the P[DT]Es One nice benefit to the patches is that it makes 2 very clear error points, allocation, and mapping, and avoids having to do any handling a

[Intel-gfx] [PATCH 0/9] [v2] BDW 4G GGTT + PPGTT cleanups

2014-02-19 Thread Ben Widawsky
Thanks to Imre's very detailed review, and Ville's observation of a missed free (earlier bug), I think the series is finally starting to shape up. I am having some unrelated problems on my BDW platform at the moment, so they are not well tested. Many patches are way past v2, but for th series it's

Re: [Intel-gfx] Need your advice: Add a new communication inteface between HD-Audio and Gfx drivers for hotplug notification/ELD update

2014-02-19 Thread Lin, Mengdong
> -Original Message- > From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > Sent: Wednesday, February 19, 2014 7:30 PM > > > > Is there a 1:1 mapping between these connector nodes and ports of > > > > Gfx > > > display engine? > > > > Eg. For Haswell Ultrabook, under > > > > /sys/d

[Intel-gfx] [PATCH] drm/i915/bdw: Add FBC support

2014-02-19 Thread Ben Widawsky
This got lost when we shuffled around our internal branch and GEN7_FEATURES macro. There were no HW changes to support FBC, so we just need to set the flag. Cc: Daisy Sun Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver

[Intel-gfx] 3.13 i915 brightness settings broken when going from docked -> undocked

2014-02-19 Thread Josh Boyer
Hi All, We've had a rather weird report[1] of the brightness adjustments being broken in a specific case with Thinkpad x220 hardware (SandyBridge based). If you boot the machine with it in a dock and then undock, the brightness adjustments do not work. That is with either the FN keys or the GNOM

Re: [Intel-gfx] [PATCH 3/9] [v3] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 14:40 -0800, Ben Widawsky wrote: > On Wed, Feb 19, 2014 at 11:50:51PM +0200, Imre Deak wrote: > > On Wed, 2014-02-19 at 12:09 -0800, Ben Widawsky wrote: > > > Like cleanup in an earlier patch, the code becomes much more readable, > > > and easier to extend if we extract out he

Re: [Intel-gfx] [PATCH 3/9] [v3] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Ben Widawsky
On Wed, Feb 19, 2014 at 11:50:51PM +0200, Imre Deak wrote: > On Wed, 2014-02-19 at 12:09 -0800, Ben Widawsky wrote: > > Like cleanup in an earlier patch, the code becomes much more readable, > > and easier to extend if we extract out helper functions for the various > > stages of init. > > > > Not

Re: [Intel-gfx] [PATCH 3/9] [v3] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 12:09 -0800, Ben Widawsky wrote: > Like cleanup in an earlier patch, the code becomes much more readable, > and easier to extend if we extract out helper functions for the various > stages of init. > > Note that with this patch it becomes really simple, and tempting to begin

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Ben Widawsky
On Wed, Feb 19, 2014 at 11:20:51PM +0200, Imre Deak wrote: > On Wed, 2014-02-19 at 13:06 -0800, Ben Widawsky wrote: > > On Wed, Feb 19, 2014 at 09:11:46PM +0200, Imre Deak wrote: > > > On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > > > > The previous allocation mechanism would get 2 conti

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 13:06 -0800, Ben Widawsky wrote: > On Wed, Feb 19, 2014 at 09:11:46PM +0200, Imre Deak wrote: > > On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > > > The previous allocation mechanism would get 2 contiguous allocations, > > > one for the page directories, and one for

Re: [Intel-gfx] [PATCH] [v3] drm/i915/bdw: Reorganize PPGTT init

2014-02-19 Thread Ben Widawsky
On Wed, Feb 19, 2014 at 11:00:17PM +0200, Imre Deak wrote: > On Wed, 2014-02-19 at 12:06 -0800, Ben Widawsky wrote: > > Create 3 clear stages in PPGTT init. This will help with upcoming > > changes be more readable. The 3 stages are, allocation, dma mapping, and > > writing the P[DT]Es > > > > One

[Intel-gfx] [PATCH] drm/i915: Revert workaround for disabling L3 cache aging on BYT

2014-02-19 Thread Sinclair Yeh
V2: edit the commit message to contain more info The W/A spreadsheet says this is still required, but the b-spec says it's not for BYT-T. So the documentation is not clear. However, our experience with the other SKUs of BYT-I/M on Android and Linux suggests that setting this bit actually causes

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Ben Widawsky
On Wed, Feb 19, 2014 at 09:11:46PM +0200, Imre Deak wrote: > On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > > The previous allocation mechanism would get 2 contiguous allocations, > > one for the page directories, and one for the page tables. As each page > > table is 1 page, and there ar

Re: [Intel-gfx] [PATCH] [v3] drm/i915/bdw: Reorganize PPGTT init

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 12:06 -0800, Ben Widawsky wrote: > Create 3 clear stages in PPGTT init. This will help with upcoming > changes be more readable. The 3 stages are, allocation, dma mapping, and > writing the P[DT]Es > > One nice benefit to the patches is that it makes 2 very clear error > poin

[Intel-gfx] [PATCH 3/9] [v3] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Ben Widawsky
Like cleanup in an earlier patch, the code becomes much more readable, and easier to extend if we extract out helper functions for the various stages of init. Note that with this patch it becomes really simple, and tempting to begin using the 'goto out' idiom with explicit free/fini semantics. I'v

[Intel-gfx] [PATCH] [v3] drm/i915/bdw: Reorganize PPGTT init

2014-02-19 Thread Ben Widawsky
Create 3 clear stages in PPGTT init. This will help with upcoming changes be more readable. The 3 stages are, allocation, dma mapping, and writing the P[DT]Es One nice benefit to the patches is that it makes 2 very clear error points, allocation, and mapping, and avoids having to do any handling a

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 21:11 +0200, Imre Deak wrote: > On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > > The previous allocation mechanism would get 2 contiguous allocations, > > one for the page directories, and one for the page tables. As each page > > table is 1 page, and there are 512 o

Re: [Intel-gfx] [PATCH 7/9] drm/i915: Update i915_gem_gtt.c copyright

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > I keep meaning to do this... by now almost the entire file has been > written by an Intel employee (including Daniel post-2010). > > Signed-off-by: Ben Widawsky > --- > drivers/gpu/drm/i915/i915_gem_gtt.c | 1 + > 1 file changed, 1 inserti

Re: [Intel-gfx] [PATCH 6/9] Revert "drm/i915/bdw: Limit GTT to 2GB"

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > This reverts commit 3a2ffb65eec6dbda2fd8151894f51c18b42c8d41. > > Now that the code is fixed to use smaller allocations, it should be safe > to let the full GGTT be used on DW. > > The testcase for this is anything which uses more than half

Re: [Intel-gfx] [PATCH 5/9] drm/i915/bdw: Reorganize PT allocations

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > The previous allocation mechanism would get 2 contiguous allocations, > one for the page directories, and one for the page tables. As each page > table is 1 page, and there are 512 of these per page directory, this > goes to 1MB. An unfriendl

Re: [Intel-gfx] [PATCH 4/9] drm/i915: Make clear/insert vfuncs args absolute

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > This patch converts insert_entries and clear_range, both functions which > are specific to the VM. These functions tend to encapsulate the gen > specific PTE writes. Passing absolute addresses to the insert_entries, > and clear_range will hel

Re: [Intel-gfx] [PATCH 0/9] [REPOST] BDW 4G GGTT + PPGTT cleanups

2014-02-19 Thread Ben Widawsky
On Thu, Feb 13, 2014 at 01:47:57PM +0200, Ville Syrjälä wrote: > On Wed, Feb 12, 2014 at 02:28:43PM -0800, Ben Widawsky wrote: > > Rebased series from what I submitted a while ago: > > http://lists.freedesktop.org/archives/intel-gfx/2013-December/037815.html > > > > It was mostly a clean rebase, b

Re: [Intel-gfx] [PATCH 3/9] drm/i915/bdw: Split ppgtt initialization up

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > Like cleanup in an earlier patch, the code becomes much more readable, > and easier to extend if we extract out helper functions for the various > stages of init. > > Note that with this patch it becomes really simple, and tempting to begin

[Intel-gfx] [PATCH 1/2] drm/i915: Do forcewake reset on gen8

2014-02-19 Thread mika . kuoppala
From: Mika Kuoppala When we get control from BIOS there might be mt forcewake bits already set. Apparently double write into mt forcewake without proper clear/ack sequence in between will cause system hang. Fix this by clearing mt forcewake register on init, like we do with older gens. Signed-o

[Intel-gfx] [PATCH 2/2] drm/i915: Don't access fifodbg registers on gen8

2014-02-19 Thread mika . kuoppala
From: Mika Kuoppala as they don't exists. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/intel_uncore.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index 25ceac4..cfb8011 10064

Re: [Intel-gfx] [PATCH 2/9] drm/i915/bdw: Reorganize PPGTT init

2014-02-19 Thread Imre Deak
On Wed, 2014-02-12 at 14:28 -0800, Ben Widawsky wrote: > Create 3 clear stages in PPGTT init. This will help with upcoming > changes be more readable. The 3 stages are, allocation, dma mapping, and > writing the P[DT]Es > > One nice benefit to the patches is that it makes 2 very clear error > poin

Re: [Intel-gfx] [PATCH] build: Skip kms_plane on Android

2014-02-19 Thread Santos, Joao
That was a slip-up. All sound with EDID retrieval test - no need to skip it, just tested it. Thanks. -Original Message- From: Lespiau, Damien Sent: Wednesday, February 19, 2014 2:46 PM To: Santos, Joao Cc: intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH] build: Skip kms_p

Re: [Intel-gfx] [PATCH] build: Skip kms_plane on Android

2014-02-19 Thread Damien Lespiau
On Wed, Feb 19, 2014 at 02:19:19PM +, joao.san...@intel.com wrote: > From: Joao Santos > > Skipping this test until we have Cairo in the build. > > Signed-off-by: Joao Santos Thanks for the patch, pushed. Any more news on the EDID retrieval script? -- Damien _

[Intel-gfx] [PATCH] build: Skip kms_plane on Android

2014-02-19 Thread joao . santos
From: Joao Santos Skipping this test until we have Cairo in the build. Signed-off-by: Joao Santos --- tests/Android.mk |1 + 1 file changed, 1 insertion(+) diff --git a/tests/Android.mk b/tests/Android.mk index 30be4a6..3069819 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -32,6

Re: [Intel-gfx] [PATCH 08/19] drm/i915: get port power domain in connector detect

2014-02-19 Thread Imre Deak
On Wed, 2014-02-19 at 14:35 +0200, Ville Syrjälä wrote: > On Tue, Feb 18, 2014 at 12:02:09AM +0200, Imre Deak wrote: > > The connector detect and get_mode handlers need to access the port > > specific HW blocks to read the EDID etc. Get/put the port power domains > > around these handlers. > > > >

Re: [Intel-gfx] [PATCH 08/19] drm/i915: get port power domain in connector detect

2014-02-19 Thread Ville Syrjälä
On Tue, Feb 18, 2014 at 12:02:09AM +0200, Imre Deak wrote: > The connector detect and get_mode handlers need to access the port > specific HW blocks to read the EDID etc. Get/put the port power domains > around these handlers. > > Signed-off-by: Imre Deak > --- > drivers/gpu/drm/i915/intel_crt.c

Re: [Intel-gfx] [PATCH 19/19] drm/i915: power domains: add vlv power wells

2014-02-19 Thread Ville Syrjälä
On Tue, Feb 18, 2014 at 12:02:20AM +0200, Imre Deak wrote: > Based on an early draft from Jesse. > > Add support for powering on/off the dynamic power wells on VLV by > registering its display and dpio dynamic power wells with the power > domain framework. > > For now power on all PHY TX lanes re

Re: [Intel-gfx] Need your advice: Add a new communication inteface between HD-Audio and Gfx drivers for hotplug notification/ELD update

2014-02-19 Thread Ville Syrjälä
On Wed, Feb 19, 2014 at 09:08:39AM +, Lin, Mengdong wrote: > > -Original Message- > > From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > > Sent: Tuesday, February 18, 2014 10:23 PM > > To: Lin, Mengdong > > Cc: Daniel Vetter; Takashi Iwai; alsa-de...@alsa-project.org; Barnes,

Re: [Intel-gfx] Request for feedback : New Panel-fitter property for connectors

2014-02-19 Thread Ville Syrjälä
On Wed, Feb 19, 2014 at 09:33:11AM +, Goel, Akash wrote: > Thanks for your inputs. > > Actually for our use cases, the 'scaling_mode' property currently being used > for 'lvds' & 'dp', cannot be used as it is. > > For our use cases, we need to provide a fine level control to User, so as to

Re: [Intel-gfx] [PATCH] drm/i915: Accurately track when we mark the hardware as idle/busy

2014-02-19 Thread Chris Wilson
On Tue, Feb 18, 2014 at 07:23:13PM -0300, Paulo Zanoni wrote: > 2014-02-18 18:34 GMT-03:00 Paulo Zanoni : > > 2014-02-18 16:25 GMT-03:00 Mika Kuoppala : > >> Chris Wilson writes: > >> > >>> We currently call intel_mark_idle() too often, as we do so as a > >>> side-effect of processing the request

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Add full pipe rotation

2014-02-19 Thread Sagar Arun Kamble
Reviewed-by: Sagar Kamble On Wed, 2014-02-12 at 23:15 +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > We can pretend that we can rotate the entire pipe by rotating all the > planes and adjusting their positions appropriately. Add a "rotation" > property on the crtc which w

[Intel-gfx] [RFC 1/1] drm/i915: Added support for setting plane alpha through drm property

2014-02-19 Thread sagar . a . kamble
From: Sagar Kamble With this patch two properties are added. One for CRTC+Sprite planes and another for Cursor planes. Through these client will be able to change the pixel format of the planes w.r.t Alpha channel. Number of drm properties are limited so should we restrain from adding this as drm

Re: [Intel-gfx] Request for feedback : New Panel-fitter property for connectors

2014-02-19 Thread Goel, Akash
Thanks for your inputs. Actually for our use cases, the 'scaling_mode' property currently being used for 'lvds' & 'dp', cannot be used as it is. For our use cases, we need to provide a fine level control to User, so as to be able to choose the LetterBox/Pillar-box modes & also the Manual mode w

Re: [Intel-gfx] Need your advice: Add a new communication inteface between HD-Audio and Gfx drivers for hotplug notification/ELD update

2014-02-19 Thread Lin, Mengdong
> -Original Message- > From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > Sent: Tuesday, February 18, 2014 10:23 PM > To: Lin, Mengdong > Cc: Daniel Vetter; Takashi Iwai; alsa-de...@alsa-project.org; Barnes, Jesse; > Zanoni, Paulo R; dri-devel; intel-gfx@lists.freedesktop.org > Su

Re: [Intel-gfx] [PATCH] drm/i915/opregion: work around buggy firmware that provides 8+ output devices

2014-02-19 Thread Aaron Lu
On 02/19/2014 03:33 PM, Matthew Garrett wrote: > On Wed, Feb 19, 2014 at 03:31:29PM +0800, Aaron Lu wrote: > >> DID2 is in system memory region and has some assigned value like 0x400 >> when we read it. For this case it is easy since there is only one output >> device that is of type LVDS so we ca

Re: [Intel-gfx] Request for feedback : New Panel-fitter property for connectors

2014-02-19 Thread Chris Wilson
On Wed, Feb 19, 2014 at 06:13:53AM +, Goel, Akash wrote: > > Hello, > > We are planning to expose a new panel fitter property for the connectors. > We have some use cases like a full screen video playback, where we can flip > the frame buffer of any size irrespective of the pipe timings an