Re: [Intel-gfx] [PATCH] drm/i915: Explosion following OOM in do_execbuffer.

2010-07-06 Thread Eric Anholt
On Fri,  2 Jul 2010 08:57:15 +0100, Chris Wilson ch...@chris-wilson.co.uk 
wrote:
 Oops, when merging the extra details following an OOM, I missed that
 driver_private is now NULL and the correct way to convert from the
 drm_gem_object into the drm_i915_gem_object is to use to_intel_bo().

Applied.  Thanks!


pgp5GAjQTCpVz.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: Remove the WARN when failing to set tiling.

2010-07-06 Thread Eric Anholt
On Sun,  6 Jun 2010 13:21:26 +0100, Chris Wilson ch...@chris-wilson.co.uk 
wrote:
 We generally issue an error message at the point of failure, and so this
 warning with a fairly pointless stacktrace is superfluous and ugly.
 Needless to say, the common trigger for this WARN happens to be EIO
 where this is pure noise.

Applied.  Thanks!


pgpDs4SF28OLT.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: Include instdone[1] in hangcheck

2010-07-06 Thread Eric Anholt
On Sun,  6 Jun 2010 12:16:24 +0100, Chris Wilson ch...@chris-wilson.co.uk 
wrote:
 References:
 
   Bug 26691 - Spurious hangcheck whilst executing a long shader over a
   large vertex buffer
   https://bugs.freedesktop.org/show_bug.cgi?id=26691

This is a nice workaround to the problem.  Awesome!  Applied to -next.


pgpPFHBGpJdal.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915/pch: Cosmetic fix to FDI link training

2010-07-06 Thread Eric Anholt
On Fri, 25 Jun 2010 15:32:14 -0400, Adam Jackson a...@redhat.com wrote:
 Unmask the bits for link training reporting before starting link
 training.  If stage 1 training finished before we unmask them, then we'd
 spin around in a loop a few times until smashing on through.  Which is
 harmless, since training _did_ succeed, it just looks ugly in dmesg.

Applied.  Thanks!


pgp8w1tu4rtvM.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 2/7 resend] drm/i915: Configure dither for eDP

2010-07-06 Thread Eric Anholt
On Sat, 12 Jun 2010 14:32:22 +0800, Zhenyu Wang zhen...@linux.intel.com wrote:
 From: Zhao Yakui yakui.z...@intel.com
 
 The non-8 BPC can be used for the eDP output device that is
 connected through DP-A or DP-D on PCH. In such case we should
 set the PIPECONF dither correctly.

Applied all of this series but this one -- this patch still looks wrong
to me.


pgpRteSTmlCIk.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] Fair eviction for i915, based on Daniel's drm_mm scanner

2010-07-06 Thread Eric Anholt
On Fri,  2 Jul 2010 15:02:10 +0100, Chris Wilson ch...@chris-wilson.co.uk 
wrote:
 This is a resend of Daniel Vetter's drm mm work to provide a basis for
 performing fair eviction in i915. I've taken the liberty of attaching the
 acks and review comments from the previous round, so please look over and
 check that they still hold true.

This is in Dave's hands now to review the core bits -- I like the i915
bits.


pgp5oBh0tnjCZ.pgp
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] Get brightness/gamma/contrast (currently IEGD user)

2010-07-06 Thread Dirk De Becker

Hi all,

I am currently using IEGD (the Intel Embedded Graphics Driver), but I 
would like to switch to the open driver supporting my 915GM device.
With iegd, I am able to regulate brightness, contrast and gamma by using 
iegd_esc_attr_t arrays.

Can someone give me a hint on how to do this with the open driver?

If my question is unclear, I can give some more code of what I am 
currently doing.


Thanks a lot in advance,

Dirk

--
dZine

Dirk De Becker
Coordinator Digital Signage Software Development
Linux Software Engineer

`t Hoge 49
8500 Kortrijk
Belgium

tel: +32 (0) 56 24 90 90
fax: +32 (0) 56 24 90 99

Email:   dirk.debec...@dzine.be
Web: www.dZine.be

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] Fair eviction for i915, based on Daniel's drm_mm scanner

2010-07-06 Thread Dave Airlie
On Tue, Jul 6, 2010 at 5:13 PM, Eric Anholt e...@anholt.net wrote:
 On Fri,  2 Jul 2010 15:02:10 +0100, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 This is a resend of Daniel Vetter's drm mm work to provide a basis for
 performing fair eviction in i915. I've taken the liberty of attaching the
 acks and review comments from the previous round, so please look over and
 check that they still hold true.

 This is in Dave's hands now to review the core bits -- I like the i915
 bits.

Okay I've pushed out a new drm-core-next branch, please pull or base
the intel next branch on that,

I've only pushed the drm_mm changes to that which I think is the first
6 patches of the series
  drm: implement helper functions for scanning lru list
  drm_mm: extract check_free_mm_node
  drm: sane naming for drm_mm.c
  drm: kill dead code in drm_mm.c
  drm: kill drm_mm_node-private
  drm: use list_for_each_entry in drm_mm.c

I'll be pushing out a drm-next soon, don't base any trees or pull from it.

Dave.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 1/3] drm: add vblank event trace point

2010-07-06 Thread Dave Airlie
On Fri, Jul 2, 2010 at 9:47 AM, Jesse Barnes jbar...@virtuousgeek.org wrote:
 Emit a trace point for vblank events.  This can be helpful for mapping
 drawing activity against the vblank frequency and period.


Pushed these 3 out to drm-core-next.

Dave.
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx