[Intel-gfx] [PATCH 1/1] intel-gpu-tools: add test case for testdisplay

2011-01-30 Thread Lan, Hai
Add test case for dumping display into, test all mode(including clone/twin mode) and support to test forced mode in testdisplay usage: ./testdisplay [-hiaf:] -i dump info -a test all modes -f test force mode Default is to test

[Intel-gfx] [PATCH 5/5] xvmc: Stop using uninitialized variable.

2011-01-30 Thread Cyril Brulebois
The actual code was removed in 5f64122551, where the get_surface_status driver callback was dropped. Just return Success if there were no issues with the parameter. Get rid of the following with CFLAGS="-Wall -Werror": | CC intel_xvmc.lo | cc1: warnings being treated as errors | intel_xvmc.c

[Intel-gfx] [PATCH 2/5] xvmc: Silence gcc, add parentheses around assignment.

2011-01-30 Thread Cyril Brulebois
Get rid of the following with CFLAGS="-Wall -Werror": | CC intel_xvmc_dump.lo | cc1: warnings being treated as errors | intel_xvmc_dump.c: In function ‘intel_xvmc_dump_open’: | intel_xvmc_dump.c:41: error: suggest parentheses around assignment used as truth value Signed-off-by: Cyril Bruleb

[Intel-gfx] [PATCH 1/5] xvmc: Get rid of unused variables.

2011-01-30 Thread Cyril Brulebois
Signed-off-by: Cyril Brulebois --- src/xvmc/i915_xvmc.c |3 +-- src/xvmc/intel_batchbuffer.c |2 -- src/xvmc/intel_xvmc.c| 13 - src/xvmc/xvmc_vld.c |1 - 4 files changed, 1 insertions(+), 18 deletions(-) diff --git a/src/xvmc/i915_xvmc.c b/src/

[Intel-gfx] [PATCH 3/5] xvmc: Silence gcc, add parentheses around arithmetic.

2011-01-30 Thread Cyril Brulebois
Get rid of those accordingly with CFLAGS="-Wall -Werror": | CC i915_xvmc.lo | cc1: warnings being treated as errors | i915_xvmc.c: In function ‘i915_mc_one_time_state_emit’: | i915_xvmc.c:369: error: suggest parentheses around arithmetic in operand of ‘|’ | i915_xvmc.c:374: error: suggest pa

[Intel-gfx] [PATCH 4/5] xvmc: Silence gcc, adding a cast to work around signedness issues.

2011-01-30 Thread Cyril Brulebois
Both exported XvMCPutSlice/XvMCPutSlice2 functions have a prototype with a parameter whose signedness differs from the one in the put_slice/put_slice2 functions they call. Make it unsigned through a cast. Get rid of this accordingly with CFLAGS="-Wall -Werror": | CC intel_xvmc.lo | cc1: warn

Re: [Intel-gfx] Patch to fix backlight on GM45

2011-01-30 Thread Niccolò Belli
Il 28/01/2011 23:13, Peter Clifton ha scritto: > Without this, querying the backlight value returns half of the value it > has been set to. Hilarity ensues, as my user-space likes to query first > before incrementing / decrementing brightness, leading to brightness > collapsing to near as I try to