Re: [Intel-gfx] [PATCH 00/11]: Color manager framework for I915 driver

2014-07-23 Thread Sharma, Shashank
Hi Daniel, Thanks for your time and comments. The current design is exactly same as we discussed previously in the mail chain, color manager is just the framework which does this job: 1. Create a DRM property for requesting object. 2. Attach the DRM property with the object. There is no

Re: [Intel-gfx] ResettRe: [Xen-devel] [v5][PATCH 0/5] xen: add Intel IGD passthrough support

2014-07-23 Thread Chen, Tiejun
On 2014/7/24 4:54, Konrad Rzeszutek Wilk wrote: On Sat, Jul 19, 2014 at 12:27:21AM +, Kay, Allen M wrote: For the MCH PCI registers that do need to be read - can you tell us which ones those are? In qemu/hw/xen_pt_igd.c/igd_pci_read(), following MCH PCI config register reads are passthro

Re: [Intel-gfx] [PATCH] drm/i915: fix cursor handling when runtime suspended

2014-07-23 Thread Paulo Zanoni
2014-07-23 19:41 GMT-03:00 Daniel Vetter : > On Thu, Jul 24, 2014 at 12:35:25AM +0200, Daniel Vetter wrote: >> On Wed, Jul 23, 2014 at 06:30:59PM -0300, Paulo Zanoni wrote: >> > From: Paulo Zanoni >> > >> > If we're runtime suspended and try to use the cursor interfaces, we >> > will get a lot of

Re: [Intel-gfx] [PATCH] drm/i915: fix cursor handling when runtime suspended

2014-07-23 Thread Daniel Vetter
On Thu, Jul 24, 2014 at 12:35:25AM +0200, Daniel Vetter wrote: > On Wed, Jul 23, 2014 at 06:30:59PM -0300, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > If we're runtime suspended and try to use the cursor interfaces, we > > will get a lot of WARNs saying we did the wrong thing. > > > > For

Re: [Intel-gfx] [PATCH] drm/i915: fix cursor handling when runtime suspended

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 06:30:59PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > If we're runtime suspended and try to use the cursor interfaces, we > will get a lot of WARNs saying we did the wrong thing. > > For intel_crtc_update_cursor(), all we need to do is return if the > CRTC is not

[Intel-gfx] [PATCH] tests/pm_rpm: add cursor subtests

2014-07-23 Thread Paulo Zanoni
From: Paulo Zanoni These tests currently trigger WARNs on our Kernel. Let's make sure we fix the bugs and they never come back. Signed-off-by: Paulo Zanoni --- tests/pm_rpm.c | 111 +++-- 1 file changed, 101 insertions(+), 10 deletions(-) di

[Intel-gfx] [PATCH] drm/i915: fix cursor handling when runtime suspended

2014-07-23 Thread Paulo Zanoni
From: Paulo Zanoni If we're runtime suspended and try to use the cursor interfaces, we will get a lot of WARNs saying we did the wrong thing. For intel_crtc_update_cursor(), all we need to do is return if the CRTC is not active, since writing the registers won't really have any effect if the scr

Re: [Intel-gfx] ResettRe: [Xen-devel] [v5][PATCH 0/5] xen: add Intel IGD passthrough support

2014-07-23 Thread Konrad Rzeszutek Wilk
On Sat, Jul 19, 2014 at 12:27:21AM +, Kay, Allen M wrote: > > For the MCH PCI registers that do need to be read - can you tell us which > > ones those are? > > In qemu/hw/xen_pt_igd.c/igd_pci_read(), following MCH PCI config register > reads are passthrough to the host HW. Some of the regi

[Intel-gfx] [PATCH] NEWS: Updates

2014-07-23 Thread Daniel Vetter
--- NEWS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 1b5ee83ec849..4866d59b5619 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,12 @@ Release 1.8 (-xx-xx) - As usual piles of new tests. +- Improved plane/pipe handling in the igt_kms library (Damien). + +- Unified

Re: [Intel-gfx] [PATCH] tests/pm_rpm: Convert to new optparsing

2014-07-23 Thread Paulo Zanoni
2014-07-23 16:16 GMT-03:00 Daniel Vetter : > Thomas missed the add-hoc parameter parsing in here, which did break > things for Paulo since the core now fails for unknown options. > > Convert them over to the new infrastructure, which has the nice upside > that we can remove the comments and put the

[Intel-gfx] [PATCH] tests/pm_rpm: Convert to new optparsing

2014-07-23 Thread Daniel Vetter
Thomas missed the add-hoc parameter parsing in here, which did break things for Paulo since the core now fails for unknown options. Convert them over to the new infrastructure, which has the nice upside that we can remove the comments and put them into the usage available with --help. Cc: Thomas

Re: [Intel-gfx] [RFC 15/44] drm/i915: Added deferred work handler for scheduler

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 5:37 PM, John Harrison wrote: >>> diff --git a/drivers/gpu/drm/i915/i915_drv.h >>> b/drivers/gpu/drm/i915/i915_drv.h >>> index 0977653..fbafa68 100644 >>> --- a/drivers/gpu/drm/i915/i915_drv.h >>> +++ b/drivers/gpu/drm/i915/i915_drv.h >>> @@ -1075,6 +1075,16 @@ struct i91

Re: [Intel-gfx] [PATCH 00/11]: Color manager framework for I915 driver

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:34:54PM +0530, shashank.sha...@intel.com wrote: > From: Shashank Sharma > > This patchset adds color-manager, a new framework in I915 driver which > adds color correction and tweak capabilities in the driver. > > Color manager creates a DRM propery based interface for

Re: [Intel-gfx] [RFC 17/44] drm/i915: Prelude to splitting i915_gem_do_execbuffer in two

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 05:33:42PM +0100, John Harrison wrote: > > On 07/07/2014 20:21, Daniel Vetter wrote: > >On Wed, Jul 02, 2014 at 11:34:23AM -0700, Jesse Barnes wrote: > >>On Thu, 26 Jun 2014 18:24:08 +0100 > >>john.c.harri...@intel.com wrote: > >> > >>>From: John Harrison > >>> > >>>The sc

[Intel-gfx] [PATCH 11/11] drm/i915: Plug-in color manager exit

2014-07-23 Thread shashank . sharma
From: Shashank Sharma Call color manager exit from the CRTC destroy/ plane destroy function to free all the allocated memory, and cleanup all the registered DRM properties. Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_sprite.c | 1 +

[Intel-gfx] [PATCH 09/11] drm/i915: Add set plane property functions

2014-07-23 Thread shashank . sharma
From: Shashank Sharma Color manager's plane level correction properties are registered as plane property. So its required to have a .set_property function in plane functions. This patch adds: 1. A .set_property function for intel_plane, intel_plane_set_property which checks if a plane propert

[Intel-gfx] [PATCH 06/11] drm/i915: Add contrast and brightness correction

2014-07-23 Thread shashank . sharma
From: Shashank Sharma This patch adds support for color property to set sprite plane contrast and brightness for intel color manager framework. As, in valleyview the register for contrast and brightess adjustment is same, one common function has been added to serve both. It adds three functions:

[Intel-gfx] [PATCH 10/11] drm/i915: Plug-in color manager init

2014-07-23 Thread shashank . sharma
From: Shashank Sharma Call color manager init and attach color properties during the pipe and plane init time. This will register all pipe level properties with each intel_crtc and all plane level properties with each intel_plane objects. Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 07/11] drm/i915: Add hue and saturation correction

2014-07-23 Thread shashank . sharma
From: Shashank Sharma This patch adds support for color property to set sprite plane hue and saturation values, for intel color manager framework. It adds two functions: 1. intel_clrmgr_set_hue_sat: This is a wrapper function which checks the platform type, and calls the valleyview sp

[Intel-gfx] [PATCH 04/11] drm/i915: Add color manager CSC correction

2014-07-23 Thread shashank . sharma
From: Shashank Sharma This patch adds support for pipe CSC correction color property for intel color manager framework. It adds two functions: 1. intel_clrmgr_set_csc: This is a wrapper function which checks the platform type, and calls the valleyview specific set_csc function. As different

[Intel-gfx] [PATCH 05/11] drm/i915: Add color manager gamma correction

2014-07-23 Thread shashank . sharma
From: Shashank Sharma This patch adds support for pipe gamma correction color property for intel color manager framework. It adds two functions: 1. intel_clrmgr_set_gamma: This is a wrapper function which checks the platform type, and calls the valleyview specific set_gamma function. As dif

[Intel-gfx] [PATCH 08/11] drm/i915: Add CRTC set property functions

2014-07-23 Thread shashank . sharma
From: Shashank Sharma Color manager's pipe level correction properties are registered as CRTC property. So its required to have a .set_crtc function in CRTC functions. This patch adds: 1. A .set_property function for intel_crtc, intel_crtc_set_property which checks if a CRTC property is of ty

[Intel-gfx] [PATCH 03/11] drm/i915: Register plane level color properties

2014-07-23 Thread shashank . sharma
From: Shashank Sharma In valleyview we have three possible sprite plane level color correction: 1. Contrast 2. Brightness What this patch does: 1. This patch adds software infrastructure to register plane level color correction properties per plane. Adding a new function, intel_att

[Intel-gfx] [PATCH 02/11] drm/i915: Register pipe level color properties

2014-07-23 Thread shashank . sharma
From: Shashank Sharma In valleyview we have two pipe level color correction properties: 1. CSC correction (wide gamut) 2. Gamma correction What this patch does: 1. This patch adds software infrastructure to register pipe level color correction properties per CRTC. Adding a new function, in

[Intel-gfx] [PATCH 01/11] drm/i915: Color manager framework for valleyview

2014-07-23 Thread shashank . sharma
From: Shashank Sharma Color manager is a framework which adds color correction and tuning capabilities in I915 driver. This framework creates DRM properties for each color correction property, and allows userspace to tune the display appearance. This is the first patch of the series, what this p

[Intel-gfx] [PATCH 00/11]: Color manager framework for I915 driver

2014-07-23 Thread shashank . sharma
From: Shashank Sharma This patchset adds color-manager, a new framework in I915 driver which adds color correction and tweak capabilities in the driver. Color manager creates a DRM propery based interface for each color correction, and based on the property type, registers it with each CRTC/plan

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Prevent recursive deadlock on releasing a busy userptr

2014-07-23 Thread Chris Wilson
On Wed, Jul 23, 2014 at 05:39:49PM +0100, Tvrtko Ursulin wrote: > On 07/21/2014 01:21 PM, Chris Wilson wrote: > >+mn = i915_mmu_notifier_get(obj->userptr.mm); > >+if (IS_ERR(mn)) > >+return PTR_ERR(mn); > > Very minor, but I would perhaps consider renaming this to _find > since

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Prevent recursive deadlock on releasing a busy userptr

2014-07-23 Thread Tvrtko Ursulin
On 07/21/2014 01:21 PM, Chris Wilson wrote: During release of the GEM object we hold the struct_mutex. As the object may be holding onto the last reference for the task->mm, calling mmput() may trigger exit_mmap() which close the vma which will call drm_gem_vm_close() and attempt to reacquire th

Re: [Intel-gfx] [RFC 17/44] drm/i915: Prelude to splitting i915_gem_do_execbuffer in two

2014-07-23 Thread John Harrison
On 07/07/2014 20:21, Daniel Vetter wrote: On Wed, Jul 02, 2014 at 11:34:23AM -0700, Jesse Barnes wrote: On Thu, 26 Jun 2014 18:24:08 +0100 john.c.harri...@intel.com wrote: From: John Harrison The scheduler decouples the submission of batch buffers to the driver with their submission to the

[Intel-gfx] [ANNOUNCE] xf86-video-intel 2.99.914

2014-07-23 Thread Chris Wilson
Snapshot 2.99.914 (2014-07-23) == And a brown paper bag to hide the rebuilding from the tarball with 'autoreconf -fi' error that arose from not distributing the libobj/ directory. Complete list of changes since 2.99.913 --- Chris Wi

Re: [Intel-gfx] [RFC 13/44] drm/i915: Added scheduler hook when closing DRM file handles

2014-07-23 Thread Jesse Barnes
On Wed, 23 Jul 2014 16:10:32 +0100 John Harrison wrote: > On 02/07/2014 19:20, Jesse Barnes wrote: > > On Thu, 26 Jun 2014 18:24:04 +0100 > > john.c.harri...@intel.com wrote: > > > >> From: John Harrison > >> > >> The scheduler decouples the submission of batch buffers to the driver with > >> su

Re: [Intel-gfx] [RFC 15/44] drm/i915: Added deferred work handler for scheduler

2014-07-23 Thread John Harrison
On 07/07/2014 20:14, Daniel Vetter wrote: On Thu, Jun 26, 2014 at 06:24:06PM +0100, john.c.harri...@intel.com wrote: From: John Harrison The scheduler needs to do interrupt triggered work that is too complex to do in the interrupt handler. Thus it requires a deferred work handler to process t

Re: [Intel-gfx] [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed

2014-07-23 Thread Chris Wilson
On Wed, Jul 23, 2014 at 04:12:55PM +0100, Tvrtko Ursulin wrote: > Just tell the test to expect them to work then. > > Signed-off-by: Tvrtko Ursulin > Cc: Chris Wilson For funsies we should also make sure that the results written to one are visible in the other. -Chris -- Chris Wilson, Intel O

[Intel-gfx] [PATCH] igt/gem_userptr_blits: Overlapping objects are now allowed

2014-07-23 Thread Tvrtko Ursulin
Just tell the test to expect them to work then. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson --- tests/gem_userptr_blits.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index 2a52856..cc6d31f 100644 --- a/tests/gem_us

Re: [Intel-gfx] [RFC 16/44] drm/i915: Alloc early seqno

2014-07-23 Thread John Harrison
On 02/07/2014 19:29, Jesse Barnes wrote: On Thu, 26 Jun 2014 18:24:07 +0100 john.c.harri...@intel.com wrote: From: John Harrison The scheduler needs to explicitly allocate a seqno to track each submitted batch buffer. This must happen a long time before any commands are actually written to th

Re: [Intel-gfx] [RFC 13/44] drm/i915: Added scheduler hook when closing DRM file handles

2014-07-23 Thread John Harrison
On 02/07/2014 19:20, Jesse Barnes wrote: On Thu, 26 Jun 2014 18:24:04 +0100 john.c.harri...@intel.com wrote: From: John Harrison The scheduler decouples the submission of batch buffers to the driver with submission of batch buffers to the hardware. Thus it is possible for an application to su

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Allow overlapping userptr objects

2014-07-23 Thread Tvrtko Ursulin
On 07/23/2014 03:34 PM, Daniel Vetter wrote: On Wed, Jul 23, 2014 at 02:23:53PM +0100, Tvrtko Ursulin wrote: I think it would be good to add some more tests to cover the tracking "handover" between the interval tree and linear list to ensure invalidation still works correctly in non-trivial cas

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Allow overlapping userptr objects

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 02:23:53PM +0100, Tvrtko Ursulin wrote: > Looks fine. Performance impact is potentially big as we discussed but I > suppose we can leave that for later if an issue. So: > > Reviewed-by: Tvrtko Ursulin Merged, thanks for patch and review. > I think it would be good to add

[Intel-gfx] [PATCH] drm/i915: Ditch UMS config option

2014-07-23 Thread Daniel Vetter
Let's march ahead with the deprecation plan laid out in commit b30324adaf8d2e5950a602bde63030d15a61826f Author: Daniel Vetter Date: Wed Nov 13 22:11:25 2013 +0100 drm/i915: Deprecated UMS support Thus far no regression report yet, so the transparent fallback plan seems to pan out. Cc: Da

Re: [Intel-gfx] [PATCH] igt/gem_userptr_benchmark: Testing of overlapping synchronized objects

2014-07-23 Thread Chris Wilson
On Wed, Jul 23, 2014 at 02:14:19PM +0100, Tvrtko Ursulin wrote: > Larger performance impact is expected with first draft of the kernel > implementation for overlapping objects so this is just to confirm that. > > Signed-off-by: Tvrtko Ursulin > Cc: Chris Wilson Looks fine. I can't comment on li

[Intel-gfx] [ANNOUNCE] xf86-video-intel 2.99.913

2014-07-23 Thread Chris Wilson
Snapshot 2.99.913 (2014-07-23) == This should be it... A few fixes from testing the new code, we should be ready for the final release. However, we do have one standout feature in this snapshot, we now officially recognise HD Graphics 5300/5500/5600, Iris Graphics 6100 a

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Allow overlapping userptr objects

2014-07-23 Thread Tvrtko Ursulin
On 07/21/2014 01:21 PM, Chris Wilson wrote: Whilst I strongly advise against doing so for the implicit coherency issues between the multiple buffer objects accessing the same backing store, it nevertheless is a valid use case, akin to mmaping the same file multiple times. The reason why we forb

Re: [Intel-gfx] [REGRESSION BISECTED] backlight control stops workin with 3.14 and later

2014-07-23 Thread Bertrik Sikken
>> On Tue, Jul 22, 2014 at 8:42 AM, Hans de Goede > Bertrik, can you try blacklisting the samsung-laptop module, then > check /sys/class/backlight, the samsung_laptop dir should be gone > replaced by an acpi_video0 (or some such) dir. Please try if that > works. If that does not work, try booting

[Intel-gfx] [PATCH] igt/gem_userptr_benchmark: Testing of overlapping synchronized objects

2014-07-23 Thread Tvrtko Ursulin
Larger performance impact is expected with first draft of the kernel implementation for overlapping objects so this is just to confirm that. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson --- benchmarks/gem_userptr_benchmark.c | 97 -- 1 file changed, 72 inse

Re: [Intel-gfx] [PATCH] igt/gem_userptr_benchmark: Fix for upstream ioctl number

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 01:33:18PM +0100, Tvrtko Ursulin wrote: > Hardcoding has upsides and downsides. > > Signed-off-by: Tvrtko Ursulin Ooops, merged. -Daniel > --- > benchmarks/gem_userptr_benchmark.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/benchmarks/gem_u

[Intel-gfx] [PATCH 1/2] tests: Move root check to lib/drm_lib.sh

2014-07-23 Thread Daniel Vetter
All tests want that anyway. Signed-off-by: Daniel Vetter --- tests/drm_lib.sh | 2 ++ tests/test_rte_check | 2 -- tests/tools_test | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index 97f6f9253072..38befa88acb8 100755 --- a/tes

[Intel-gfx] [PATCH 2/2] lib/drm_lib.sh: Bare-bones long option parsing

2014-07-23 Thread Daniel Vetter
Just enough to stay compatible with simple subtests. Signed-off-by: Daniel Vetter --- tests/drm_lib.sh | 13 + 1 file changed, 13 insertions(+) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index 38befa88acb8..d71e6ae2223e 100755 --- a/tests/drm_lib.sh +++ b/tests/drm_lib.sh @@ -

[Intel-gfx] [PATCH] igt/gem_userptr_benchmark: Fix for upstream ioctl number

2014-07-23 Thread Tvrtko Ursulin
Hardcoding has upsides and downsides. Signed-off-by: Tvrtko Ursulin --- benchmarks/gem_userptr_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/gem_userptr_benchmark.c b/benchmarks/gem_userptr_benchmark.c index bdfce12..4d7442b 100644 --- a/benchmarks/g

Re: [Intel-gfx] [PATCH] igt/gem_userptr_blits: Fix forked access test

2014-07-23 Thread Chris Wilson
On Tue, Jul 22, 2014 at 12:33:49PM +0100, Tvrtko Ursulin wrote: > copy() blit helper assumes a certain object size much larger than a page size. > > Signed-off-by: Tvrtko Ursulin > Cc: Chris Wilson Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre _

Re: [Intel-gfx] [PATCH i-g-t 3/8] lib: move option parsing into common_init

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 02:13:14PM +0200, Daniel Vetter wrote: > On Wed, Jul 23, 2014 at 11:57:50AM +0100, Thomas Wood wrote: > > Move option parsing into common_init so it can be shared between simple > > tests and tests with subtests. This allows for more common command line > > behaviour across

Re: [Intel-gfx] [PATCH i-g-t 3/8] lib: move option parsing into common_init

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:57:50AM +0100, Thomas Wood wrote: > Move option parsing into common_init so it can be shared between simple > tests and tests with subtests. This allows for more common command line > behaviour across all tests. > > Signed-off-by: Thomas Wood > --- > lib/igt_core.c | 1

[Intel-gfx] [PATCH i-g-t 3/8] lib: move option parsing into common_init

2014-07-23 Thread Thomas Wood
Move option parsing into common_init so it can be shared between simple tests and tests with subtests. This allows for more common command line behaviour across all tests. Signed-off-by: Thomas Wood --- lib/igt_core.c | 118 - 1 file change

[Intel-gfx] [PATCH i-g-t 8/8] lib: add a command line option to enable debug output in tests

2014-07-23 Thread Thomas Wood
Add --debug as a common command line option for all tests to enable debug output. Signed-off-by: Thomas Wood --- lib/igt_core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 42b22fc..d90e6bb 100644 --- a/lib/igt_core.c +++ b/lib/

[Intel-gfx] [PATCH i-g-t 7/8] lib: always warn about unknown options

2014-07-23 Thread Thomas Wood
All tests can now register extra options, so there should not be any unknown options. Signed-off-by: Thomas Wood --- lib/igt_core.c | 27 --- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 0867c27..42b22fc 100644 --- a

[Intel-gfx] [PATCH i-g-t 2/8] tests: remove unused getopt header includes

2014-07-23 Thread Thomas Wood
Signed-off-by: Thomas Wood --- lib/drmtest.c | 1 - lib/igt_aux.c | 1 - lib/rendercopy_gen6.c | 1 - lib/rendercopy_gen7.c | 1 - lib/rendercopy_gen8.c | 1 - lib/rendercopy_i830.c | 1 - lib/rendercopy_i915.c

[Intel-gfx] [PATCH i-g-t 5/8] lib: don't ignore unknown options in multi-tests

2014-07-23 Thread Thomas Wood
None of the current tests have additional options that might make use of any unknown options and igt_subtest_init_parse_opts is available that integrates additional option parsing. Signed-off-by: Thomas Wood --- lib/igt_core.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-)

[Intel-gfx] [PATCH i-g-t 1/8] lib: warn when attempting to run an unknown subtest

2014-07-23 Thread Thomas Wood
Signed-off-by: Thomas Wood --- lib/igt_core.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index b197932..5c20581 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -204,6 +204,7 @@ static unsigned int exit_handler_count;

[Intel-gfx] [PATCH i-g-t 4/8] lib: add igt_simple_init_parse_opts

2014-07-23 Thread Thomas Wood
This function allows simple tests to register additional command line options. Signed-off-by: Thomas Wood --- lib/igt_core.c | 22 ++ lib/igt_core.h | 5 + 2 files changed, 27 insertions(+) diff --git a/lib/igt_core.c b/lib/igt_core.c index ee6f90c..72c77e6 100644 --- a

[Intel-gfx] [PATCH i-g-t 0/8] command line parsing

2014-07-23 Thread Thomas Wood
The following series attempts to standardise command line parsing and options across the various types of tests. This allows all tests to respond to common options such as --help and --debug, and also warn when unknown or invalid options are used. Thomas Wood (8): lib: warn when attempting to ru

[Intel-gfx] [PATCH i-g-t 6/8] tests: convert simple tests to use igt_simple_init_parse_opts

2014-07-23 Thread Thomas Wood
Convert simple tests to use igt_simple_init_parse_opts if they require extra options. Signed-off-by: Thomas Wood --- lib/igt_core.h | 1 + tests/gem_ctx_basic.c | 20 +++-- tests/gem_render_copy.c | 25 +--- tests/gem_seqno_wrap.c | 82 +++

Re: [Intel-gfx] [REGRESSION BISECTED] backlight control stops workin with 3.14 and later

2014-07-23 Thread Hans de Goede
Hi, On 07/22/2014 08:52 AM, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 8:42 AM, Hans de Goede wrote: >> Hi Jani et al, >> >> A friend of mine Bertrik Sikken (in the Cc) his backlight control >> stopped working for him on his Samsung N150Plus netbook. >> >> I took a quick look, and the raw int