[Intel-gfx] [PATCH v3] ACPI / video: Add systems that should favor native backlight interface

2014-01-18 Thread Igor Gnatenko
From: Aaron Lu Some system's ACPI video backlight control interface is broken and the native backlight control interface should be used by default. This patch sets the use_native_backlight parameter to true for those systems so that video backlight control interface will not be created. To be spe

Re: [Intel-gfx] [PATCH 1/3] drm/i915: get basic encoder state before reading CRTC state

2014-01-18 Thread Ville Syrjälä
On Fri, Jan 17, 2014 at 01:16:56PM -0800, Jesse Barnes wrote: > In DDI configs, we need to get the encoder to CRTC mapping early on so > we can read out and calculate the clock state correctly, as it depends > on the port. > > Signed-off-by: Jesse Barnes > --- > drivers/gpu/drm/i915/intel_displa

Re: [Intel-gfx] [PATCH 3/3] pm_rps: Fix verbose option and streamline its use

2014-01-18 Thread Daniel Vetter
On Fri, Jan 17, 2014 at 04:56:06PM -0600, jeff.mc...@intel.com wrote: > From: Jeff McGee > > Signed-off-by: Jeff McGee Ah, now I understand your question for a unified verbose handling. I guess if someone is bored (or if there's a need in testrunner frameworks for it) we could add a bit of infr

[Intel-gfx] NULL ptr dereference in i915_gem_alloc_object()

2014-01-18 Thread Linus Torvalds
Testing running out of file descriptors shows a NULL pointer dereference in i915_gem_alloc_object() because base.filp ends up being NULL. So the line mapping = file_inode(obj->base.filp)->i_mapping; will cause an oops. The call chain is SyS_ioctl -> do_vfs_ioctl -> drm_ioctl -> i