Re: [Intel-gfx] [PATCH] list-workarounds: Convert to python3

2013-05-10 Thread Kenneth Graunke
On 05/10/2013 03:28 PM, Ben Widawsky wrote: The rest of the tool suite that uses python already uses python3. The tool configure requires python >= 3 (which is confusing because of the no backward compat problem). The world is slowly moving to python3. Converted with 2to3. CC: Damien Lespiau

[Intel-gfx] [PATCH] list-workarounds: Convert to python3

2013-05-10 Thread Ben Widawsky
The rest of the tool suite that uses python already uses python3. The tool configure requires python >= 3 (which is confusing because of the no backward compat problem). The world is slowly moving to python3. Converted with 2to3. CC: Damien Lespiau CC: Kenneth Graunke Signed-off-by: Ben Widaws

Re: [Intel-gfx] [PATCH] drm/i915: add encoder get_config function v4

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 9:21 AM, Daniel Vetter wrote: > On Thu, May 09, 2013 at 01:28:12AM +0300, Ville Syrjälä wrote: >> On Wed, May 08, 2013 at 02:01:02PM -0700, Jesse Barnes wrote: >> > We can use this for fetching encoder specific pipe_config state, like >> > mode flags, adjusted clock, etc. >

[Intel-gfx] [PATCH] drm/i915: add DDI get_config function too

2013-05-10 Thread Jesse Barnes
Missed out when doing the rest of the outputs. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_ddi.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index cddcf4a..27a74a9 100644 --- a/d

[Intel-gfx] [PATCH] drm/i915: fetch PCH PLL state at init time v2

2013-05-10 Thread Jesse Barnes
We need to properly track PCH PLL sharing configs, and generally set up PCH PLL state at init time as part of the state readout process. v2: update to new code, use intel_crtc instead (Jesse) I-told-you-so-by: Daniel Vetter Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c |

[Intel-gfx] [PATCH 4/4] HACK: drm/i915: flip on a no fb -> fb transition

2013-05-10 Thread Jesse Barnes
This needs better checking since the display could be off in this case. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c ind

Re: [Intel-gfx] [PATCH 3/4] drm/i915: VLV support is no longer preliminary

2013-05-10 Thread Jesse Barnes
On Fri, 10 May 2013 20:58:17 +0200 Daniel Vetter wrote: > On Fri, May 10, 2013 at 09:10:27AM -0700, Jesse Barnes wrote: > > On Fri, 10 May 2013 09:29:28 +0200 > > Daniel Vetter wrote: > > > > > On Wed, May 08, 2013 at 10:45:15AM -0700, Jesse Barnes wrote: > > > > Works pretty well actually. > >

[Intel-gfx] [PATCH 2/4] drm/i915: copy fetched mode state into crtc at setup_hw time

2013-05-10 Thread Jesse Barnes
We already fetch and track other state into the main CRTC and encoder structs, and for fastboot we need to do the same with the mode and clock data we read out. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 29 + 1 file changed, 29 insertion

[Intel-gfx] [PATCH 3/4] HACK: drm/i915: turn off panel fitting at flip time if needed

2013-05-10 Thread Jesse Barnes
Need better pfit tracking to do this right. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 53ad51c..591ac2d 100644 --- a/dr

[Intel-gfx] [PATCH 1/4] drm/i915: get mode clock when reading the pipe config v4

2013-05-10 Thread Jesse Barnes
We need this for comparing modes between configuration changes. v2: try harder to calulate non-simple pixel clocks (Daniel) call get_clock after getting the encoder config, needed for pixel multiply (Jesse) v3: drop get_clock now that the pixel_multiply has been moved into get_pipe_con

Re: [Intel-gfx] [PATCH] drm: check user mode flags for validity

2013-05-10 Thread Ville Syrjälä
On Fri, May 10, 2013 at 09:08:08AM -0700, Jesse Barnes wrote: > On Thu, 9 May 2013 01:25:59 +0300 > Ville Syrjälä wrote: > > > On Wed, May 08, 2013 at 02:01:25PM -0700, Jesse Barnes wrote: > > > Requested-by: Ville Syrjälä > > > Signed-off-by: Jesse Barnes > > > --- > > > drivers/gpu/drm/drm_c

Re: [Intel-gfx] [PATCH] drm/i915: implement WADPOClockGatingDisable for LPT

2013-05-10 Thread Daniel Vetter
On Wed, May 08, 2013 at 01:54:17PM +0100, Damien Lespiau wrote: > On Tue, May 07, 2013 at 03:40:21PM +0100, Damien Lespiau wrote: > > On Tue, May 07, 2013 at 10:46:01AM -0300, Paulo Zanoni wrote: > > > 2013/5/7 Damien Lespiau : > > > > On Tue, May 07, 2013 at 02:10:05PM +0100, Damien Lespiau wrote:

Re: [Intel-gfx] [PATCH 3/4] drm/i915: VLV support is no longer preliminary

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 09:10:27AM -0700, Jesse Barnes wrote: > On Fri, 10 May 2013 09:29:28 +0200 > Daniel Vetter wrote: > > > On Wed, May 08, 2013 at 10:45:15AM -0700, Jesse Barnes wrote: > > > Works pretty well actually. > > > > > > Signed-off-by: Jesse Barnes > > > > Patches 1-3 merged to

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915: disable interrupts earlier in the driver unload code"

2013-05-10 Thread Jesse Barnes
On Fri, 10 May 2013 09:27:09 +0200 Daniel Vetter wrote: > On Wed, May 08, 2013 at 10:45:16AM -0700, Jesse Barnes wrote: > > This reverts commit fd0c06420d39958032655a04cfd194d5a7b38f83. > > A bit thin on details about what exactly blows up ... can you please dig a > bit more? Oh and this wasn't

Re: [Intel-gfx] [PATCH 3/4] drm/i915: VLV support is no longer preliminary

2013-05-10 Thread Jesse Barnes
On Fri, 10 May 2013 09:29:28 +0200 Daniel Vetter wrote: > On Wed, May 08, 2013 at 10:45:15AM -0700, Jesse Barnes wrote: > > Works pretty well actually. > > > > Signed-off-by: Jesse Barnes > > Patches 1-3 merged to dinq, thanks. I'm a bit unhappy that we don't have > mipi yet, otoh mipi needs s

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915: disable interrupts earlier in the driver unload code"

2013-05-10 Thread Jesse Barnes
On Fri, 10 May 2013 09:27:09 +0200 Daniel Vetter wrote: > On Wed, May 08, 2013 at 10:45:16AM -0700, Jesse Barnes wrote: > > This reverts commit fd0c06420d39958032655a04cfd194d5a7b38f83. > > A bit thin on details about what exactly blows up ... can you please dig a > bit more? On unload, we cras

Re: [Intel-gfx] [PATCH] drm: check user mode flags for validity

2013-05-10 Thread Jesse Barnes
On Thu, 9 May 2013 01:25:59 +0300 Ville Syrjälä wrote: > On Wed, May 08, 2013 at 02:01:25PM -0700, Jesse Barnes wrote: > > Requested-by: Ville Syrjälä > > Signed-off-by: Jesse Barnes > > --- > > drivers/gpu/drm/drm_crtc.c | 12 > > 1 file changed, 12 insertions(+) > > > > diff

Re: [Intel-gfx] [PATCH] drm/i915: s/valleyview/baytrail

2013-05-10 Thread Chad Versace
On 05/08/2013 09:53 PM, Ben Widawsky wrote: Bay Trail is the marketing name for the new Silvermont based SOCs we've been calling Valleyview. All recent Intel disclosed documents use the term "Bay Trail." AFAICT, only leaked docs (and our code) use the term Valleyview. I've also verified with inte

Re: [Intel-gfx] [PATCH] drm/i915: Advance seqno upon reseting the GPU following a hang

2013-05-10 Thread Daniel Vetter
On Wed, May 8, 2013 at 4:06 PM, Chris Wilson wrote: > On Wed, May 08, 2013 at 04:02:00PM +0200, Daniel Vetter wrote: >> On Wed, May 08, 2013 at 02:29:30PM +0100, Chris Wilson wrote: >> > There is an unlikely corner case whereby a lockless wait may not notice >> > a GPU hang and reset, and so conti

Re: [Intel-gfx] [PATCH intel-gpu-tools] assembler: Add support for the SENDC instruction.

2013-05-10 Thread Damien Lespiau
On Thu, May 09, 2013 at 10:44:48AM -0700, Matt Turner wrote: > --- > assembler/gram.y | 20 > assembler/lex.l | 1 + > 2 files changed, 13 insertions(+), 8 deletions(-) Looks good to me. Reviewed-by: Damien Lespiau -- Damien > > diff --git a/assembler/gram.y b/assembl

Re: [Intel-gfx] [PATCH] drm/i915: Add missing platform tags to FBC workaround comments

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 02:33:17PM +0100, Damien Lespiau wrote: > There was a race between Rodrigo writing those patches and me > formalizing the addition of platform tags. This patches fixes it. > > Signed-off-by: Damien Lespiau Queued for -next, thanks for the patch. -Daniel > --- > drivers/g

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Use pipe config state to control gmch pfit enable/disable

2013-05-10 Thread Mika Kuoppala
Daniel Vetter writes: > Allows us to rip out a few fragile checks (which are duplicated in the > hw state readout now, too). Also prepares us a bit for more than one > panel/pfit. > > Signed-off-by: Daniel Vetter Reviewed-by: Mika Kuoppala ___ Intel-

Re: [Intel-gfx] [PATCH 7/7] drm/i915: rip out an unused lvds_reg variable

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 02:42:03PM +0300, Jani Nikula wrote: > On Tue, 30 Apr 2013, Daniel Vetter wrote: > > Somehow this has been forgotten in > > > > commit 1974cad0ee4ce84e5cb792e49c4f0d9421e0312c > > Author: Daniel Vetter > > Date: Mon Nov 26 17:22:09 2012 +0100 > > > > drm/i915: move i

[Intel-gfx] [PATCH i-g-t] list-workarounds: Don't add an already present platform

2013-05-10 Thread Damien Lespiau
Currently if we come across several sites that say that a specific workaround is implemented for a platform, we just add the platform several times to the list. eg. WaFbcDisableDpfcClockGating: ivb, hsw, ivb, hsw This patch prevent that by only adding the plaform if it's not already there. Signe

[Intel-gfx] [PATCH] drm/i915: Add missing platform tags to FBC workaround comments

2013-05-10 Thread Damien Lespiau
There was a race between Rodrigo writing those patches and me formalizing the addition of platform tags. This patches fixes it. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_pm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH] drm/i915: Compute WR PLL dividers dynamically

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 02:01:51PM +0100, Damien Lespiau wrote: > Up to now, we were using a static table to match the clock frequency > with a (r2,n2,p) triplet. Despite this table being big, it's by no mean > comprehensive and we had to fall back to the closest frequency when the > requested TMDS

Re: [Intel-gfx] [PATCH] drm/i915: panel fitter hw state readout&check support

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 3:07 PM, Mika Kuoppala wrote: > As discussed in irc, we might come across a case where panel fitter > is not aligned to the same pipe in ilk+. Perhaps warn if we > encounter such a weird setup? Yeah, our current code doesn't support different pfit->pipe associations. They'

Re: [Intel-gfx] [PATCH] drm/i915: HSW FBC WaFbcDisableDpfcClockGating

2013-05-10 Thread Daniel Vetter
On Thu, May 09, 2013 at 02:20:50PM -0300, Rodrigo Vivi wrote: > Display register 46500h bit 23 must be set to 1b for the entire time that > Frame Buffer Compression is enabled. > > v2: Ville suggested to enable it back when disabling fbc to avoid wasting > power. > > v3: RMW to preserve other

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Use pipe_config state to disable ilk+ pfit

2013-05-10 Thread Mika Kuoppala
Daniel Vetter writes: > No more need to guard the write with a power well check on Haswell now > that we have proper pfit state readout: We can simply only clear the > pfit if it's actually on. > > This removes some duplication of knowledge between the haswell pfit > disable and pfit state readou

Re: [Intel-gfx] [PATCH] drm/i915: panel fitter hw state readout&check support

2013-05-10 Thread Mika Kuoppala
Daniel Vetter writes: > On Fri, May 10, 2013 at 02:37:59PM +0300, Mika Kuoppala wrote: >> >> Hi Daniel, >> >> Daniel Vetter writes: >> >> > Pfit state readout is a bit ugly on gen2/3 due to the intermingling >> > with the lvds state, but alas. >> > >> > Also note that since state is always cl

[Intel-gfx] [PATCH] drm/i915: Compute WR PLL dividers dynamically

2013-05-10 Thread Damien Lespiau
Up to now, we were using a static table to match the clock frequency with a (r2,n2,p) triplet. Despite this table being big, it's by no mean comprehensive and we had to fall back to the closest frequency when the requested TMDS clock wasn't in the table. This patch computes (r2,n2,p) dynamically a

Re: [Intel-gfx] [PATCH] drm/i915: Compute WR PLL dividers dynamically

2013-05-10 Thread Damien Lespiau
On Wed, May 08, 2013 at 09:37:14PM +0200, Daniel Vetter wrote: > Oops, blows up on 32bit machines. I guess the igt will be useful once more > to check that the 32bit version is solid, too. Dropped from dinq for now. > -Daniel Oops indeed. Turns out the mistake was an easy one to spot. I used 1e6

Re: [Intel-gfx] [PATCH] drm/i915: Organize VBT stuff inside drm_i915_private

2013-05-10 Thread Daniel Vetter
On Thu, May 09, 2013 at 08:03:18PM -0300, Rodrigo Vivi wrote: > drm_i915_private is getting bigger and bigger when adding new vbt stuff. > So, the better way of getting drm_i915_private organized is to create > a special structure for vbt stuff. > > v2: Basically conflicts fixes > > Reviewed-by:

[Intel-gfx] [PATCH 4/4] drm: Only print a debug message when the polled connector has changed

2013-05-10 Thread Damien Lespiau
Suggested-by: Chris Wilson Signed-off-by: Damien Lespiau --- drivers/gpu/drm/drm_crtc_helper.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 9085db6..ed1334e 100644 --- a/drive

[Intel-gfx] [PATCH 3/4] drm: Don't prune modes loudly when a connector is disconnected

2013-05-10 Thread Damien Lespiau
drm_helper_probe_single_connector_modes() is responsible for pruning the previously detected modes on a disconnected connector. We don't really need to log, again, the full list of modes that used to be valid when connected. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/drm_crtc_helper.c | 4

[Intel-gfx] [PATCH 2/4] drm: Make the HPD status updates debug logs more readable

2013-05-10 Thread Damien Lespiau
Instead of just printing "status updated from 1 to 2", make those enum numbers immediately readable. v2: Also patch output_poll_execute() (Daniel Vetter) v3: Use drm_get_connector_status_name (Ville Syrjälä) Signed-off-by: Damien Lespiau Reviewed-by: Jesse Barnes (for v1) --- drivers/gpu/drm/d

[Intel-gfx] [PATCH 1/4] drm: Add missing break in the command line mode parsing code

2013-05-10 Thread Damien Lespiau
As we parse the string given on the command line one char at a time, it seems that we do want a break at every case. Signed-off-by: Damien Lespiau Reviewed-by: Rodrigo Vivi --- drivers/gpu/drm/drm_modes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/

[Intel-gfx] Some lost drm patches v2

2013-05-10 Thread Damien Lespiau
Updated series with: - Reviews applied, - Drop a patch that would conflict with Ville's latest changes, - Drop Chris (Cummins)'s patch as he rebased it on top of drm-next and sent it back himself, - Add a suggestion from Chris (Wilson) to not repeat the message in the poll handler. I did not d

[Intel-gfx] [PATCH 03/11] drm/i915: take msecs_to_jiffies_min into use

2013-05-10 Thread Imre Deak
Use msecs_to_jiffies_min instead of open-coding the same. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_dp.c |2 +- drivers/gpu/drm/i915/intel_drv.h |2 +- drivers/gpu/drm/i915/intel_i2c.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/dr

Re: [Intel-gfx] [PATCH] drm/i915: panel fitter hw state readout&check support

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 02:37:59PM +0300, Mika Kuoppala wrote: > > Hi Daniel, > > Daniel Vetter writes: > > > Pfit state readout is a bit ugly on gen2/3 due to the intermingling > > with the lvds state, but alas. > > > > Also note that since state is always cleared to zero we can > > unconditon

Re: [Intel-gfx] [PATCH 6/7] drm/i915: make SDVO TV-out work for multifunction devices

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > We need to track this correctly. While at it shovel the boolean > to track whether the sdvo is in tv mode or not into pipe_config. Reviewed-by: Jani Nikula > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36997 > Tested-by: Pierre Assal > Bug

Re: [Intel-gfx] [PATCH 7/7] drm/i915: rip out an unused lvds_reg variable

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > Somehow this has been forgotten in > > commit 1974cad0ee4ce84e5cb792e49c4f0d9421e0312c > Author: Daniel Vetter > Date: Mon Nov 26 17:22:09 2012 +0100 > > drm/i915: move is_dual_link_lvds to intel_lvds.c > Reviewed-by: Jani Nikula > Signed-off-b

Re: [Intel-gfx] [PATCH 5/7] drm/i915: rip out now unused is_foo tracking from crtc code

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > More ugly stuff gone for good! The big special case left now is > lvds (which is indeed really special). Reviewed-by: Jani Nikula A follow-up patch could switch the switches to ifs for the OCD folks. ;) > Signed-off-by: Daniel Vetter > --- > driver

Re: [Intel-gfx] [PATCH] drm/i915: panel fitter hw state readout&check support

2013-05-10 Thread Mika Kuoppala
Hi Daniel, Daniel Vetter writes: > Pfit state readout is a bit ugly on gen2/3 due to the intermingling > with the lvds state, but alas. > > Also note that since state is always cleared to zero we can > unconditonally compare all the state and completely neglect the actual > platform we're runni

Re: [Intel-gfx] [PATCH 4/7] drm/i915: rip out TV-out lore ...

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > This seems to be an impressive piece of copy&pasta lore. I've > checked all docs and on most platforms these bits are all MBZ, with > the exception of the SDVO pixel multiplier on gen3. On gen4 that > moved to a special DPLL_MD registers. > > No indicati

Re: [Intel-gfx] fbcon issues oh hd4000

2013-05-10 Thread Daniel Vetter
On Fri, May 10, 2013 at 1:26 PM, Fabio Coatti wrote: > Hi Daniel, > I'm contacting you as you are listed as i915 maintainer for linux > kernel and I'm not sure if it is ok to write in mailing lists for this > small issue. _Always_ cc a mailing list, since your maintainer tends to be busy. _Especi

Re: [Intel-gfx] [PATCH 3/7] drm/i915: drop TVclock special casing on ilk+

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > TV-out uses the same reference clock as everyone else. The only > difference seems to be in the slightly different CB tuning limit. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/i915/intel_display.c | 11 +-- > 1 file changed, 1 inse

Re: [Intel-gfx] [PATCH 2/7] drm/i915: move sdvo TV clock computation to intel_sdvo.c

2013-05-10 Thread Jani Nikula
On Tue, 30 Apr 2013, Daniel Vetter wrote: > We have a very nice infrastructure for this now! > > Note that the multifunction sdvo support is pretty neatly broken: We > completely ignore userspace's request for which connector to wire up > with the encoder and just use whatever the last detect call

Re: [Intel-gfx] [PATCH v2 5/7] drm/i915: stop using is_pch_edp() in is_cpu_edp()

2013-05-10 Thread Imre Deak
On Fri, 2013-05-10 at 10:49 +0200, Daniel Vetter wrote: > On Wed, May 08, 2013 at 01:14:06PM +0300, Imre Deak wrote: > > is_pch_edp() will be removed by the next patch, so replace it by a check > > for the port and device type. > > > > Signed-off-by: Imre Deak > > --- > > drivers/gpu/drm/i915/in

Re: [Intel-gfx] [PATCH v2 5/7] drm/i915: stop using is_pch_edp() in is_cpu_edp()

2013-05-10 Thread Daniel Vetter
On Wed, May 08, 2013 at 01:14:06PM +0300, Imre Deak wrote: > is_pch_edp() will be removed by the next patch, so replace it by a check > for the port and device type. > > Signed-off-by: Imre Deak > --- > drivers/gpu/drm/i915/intel_dp.c | 17 +++-- > 1 file changed, 11 insertions(+),

[Intel-gfx] [PATCH] drm/i915: hw state readout&check support for cpu_transcoder

2013-05-10 Thread Daniel Vetter
This allows us to drop a bunch of ugly hacks and finally implement what commit cc464b2a17c59adedbdc02cc54341d630354edc3 Author: Paulo Zanoni Date: Fri Jan 25 16:59:16 2013 -0200 drm/i915: set TRANSCODER_EDP even earlier tried to achieve, but that was reverted again in commit bba2181c49f1

[Intel-gfx] [QA] Testing report for `drm-intel-testing` (was: Updated -next) on ww19

2013-05-10 Thread Shui, YangweiX
Summary We finished a new round of kernel testing. Generally, in this circle, 4 new bugs are filed, 20 bugs are still opened,4 Duplicated bugs, 7 bugs are closed. Test Environment Kernel: f59736c314fc8835b5294cb955f3f16a75cd72d2 Merge: 2b87f3b a9b054e Author: Daniel Vetter Date: Fri May

Re: [Intel-gfx] [PATCH 3/4] drm/i915: VLV support is no longer preliminary

2013-05-10 Thread Daniel Vetter
On Wed, May 08, 2013 at 10:45:15AM -0700, Jesse Barnes wrote: > Works pretty well actually. > > Signed-off-by: Jesse Barnes Patches 1-3 merged to dinq, thanks. I'm a bit unhappy that we don't have mipi yet, otoh mipi needs sink drivers so meh. -Daniel -- Daniel Vetter Software Engineer, Intel C

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915: disable interrupts earlier in the driver unload code"

2013-05-10 Thread Daniel Vetter
On Wed, May 08, 2013 at 10:45:16AM -0700, Jesse Barnes wrote: > This reverts commit fd0c06420d39958032655a04cfd194d5a7b38f83. A bit thin on details about what exactly blows up ... can you please dig a bit more? -Daniel > --- > drivers/gpu/drm/i915/intel_display.c | 19 +++ > dr

Re: [Intel-gfx] [PATCH] drm/i915: add encoder get_config function v4

2013-05-10 Thread Daniel Vetter
On Thu, May 09, 2013 at 01:28:12AM +0300, Ville Syrjälä wrote: > On Wed, May 08, 2013 at 02:01:02PM -0700, Jesse Barnes wrote: > > We can use this for fetching encoder specific pipe_config state, like > > mode flags, adjusted clock, etc. > > > > Just used for mode flags atm, so we can check the pi

Re: [Intel-gfx] [RFC][PATCH 1/1] drm/i915: Rewrite ILK+ watermark handling

2013-05-10 Thread Ville Syrjälä
On Thu, May 09, 2013 at 12:09:30PM -0700, Jesse Barnes wrote: > On Mon, 6 May 2013 16:45:52 +0300 > ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > Rewrite the ILK+ watermark code to allow: > > - updating the watermarks safely (to avoid underruns) > > - pre-computing wate

Re: [Intel-gfx] [PATCH v2] drm/i915: Re-enable FBC WM if the watermark is good on gen6+

2013-05-10 Thread Daniel Vetter
On Thu, May 09, 2013 at 05:51:13PM -0300, Paulo Zanoni wrote: > 2013/4/24 : > > From: Ville Syrjälä > > > > If the calculated FBC watermark is no good, we simply disable FBC > > watermarks. But we fail to re-enable them later if the calculated > > watermark becomes good again. Fix that, but remem