Re: [Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

2015-02-20 Thread Sean V Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/11/2015 05:02 AM, Daniel Vetter wrote: > On Wed, Feb 11, 2015 at 1:55 AM, Sean V Kelley > wrote: >> No corruption seen. I will add reloc domains to my growing audit >> list. > > One more for the libva audit list:

Re: [Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

2015-02-10 Thread Sean V Kelley
On 02/09/2015 08:46 AM, Chris Wilson wrote: > On Sun, Feb 08, 2015 at 03:27:13PM -0800, Sean V Kelley wrote: >> >> >> On 01/16/2015 08:05 PM, Daniel Vetter wrote: >>> On Thu, Jan 15, 2015 at 08:44:00PM +, Chris Wilson wrote: >>>> On Thu, Jan 15, 201

Re: [Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

2015-02-09 Thread Sean V Kelley
On 02/09/2015 08:46 AM, Chris Wilson wrote: > On Sun, Feb 08, 2015 at 03:27:13PM -0800, Sean V Kelley wrote: >> >> >> On 01/16/2015 08:05 PM, Daniel Vetter wrote: >>> On Thu, Jan 15, 2015 at 08:44:00PM +, Chris Wilson wrote: >>>> On Thu, Jan 1

Re: [Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

2015-02-08 Thread Sean V Kelley
On 01/16/2015 08:05 PM, Daniel Vetter wrote: > On Thu, Jan 15, 2015 at 08:44:00PM +, Chris Wilson wrote: >> On Thu, Jan 15, 2015 at 08:36:15PM +0100, Daniel Vetter wrote: >>> On Wed, Jan 14, 2015 at 9:34 PM, Chris Wilson >>> wrote: This (partially) reverts commit 5537252b6b6d

Re: [Intel-gfx] [PATCH] drm/i915: Do not invalidate obj->pages under mempressure

2015-01-14 Thread Sean V Kelley
t the swapin would mark the pages dirty again and >> so preserve them against the next cycle of invalidation - that >> appears to be false, and leads to memory corruption (even leak of >> stale pages to userspace). >> >> Reported-by: Sean V Kelley >> Signed-off

Re: [Intel-gfx] [PATCH 0/7] drm/i915: Disable hpd for disabled eDP ports

2015-01-12 Thread Sean V Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/09/2015 04:21 AM, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > My BSW has a nasty problem where it generates tons of spurious hpd > interrupts when the eDP display is disabled. The best solution > seems to be to disable hpd

[Intel-gfx] [RFC PATCH v4 0/4] drm driver for VED in Intel GPU

2015-01-07 Thread Sean V Kelley
drm/ipvr is a new GEM driver for VED (PowerVR's VPU integrated in Intel GPU), which extends video capability. A new Kconfig added for building ipvr driver: CONFIG_DRM_IPVR: Build option for ipvr module The driver name "ipvr" means the PowerVR's core wrapped by Intel. The PowerVR VPUs are also

[Intel-gfx] [RFC PATCH v4 3/4] ipvr: user mode helper for ipvr drm driver

2015-01-07 Thread Sean V Kelley
ome public functions - fix a few foolish copy-paste bugs - fix 32bit compiling issue Signed-off-by: Yao Cheng Signed-off-by: Sean V Kelley --- Makefile.am|6 +- Makefile.sources |1 + configure.ac | 26 +- include/drm/ipvr_drm.h | 259 +

[Intel-gfx] [RFC PATCH v4 4/4] tests/drv_module_reload: add ipvr support

2015-01-07 Thread Sean V Kelley
From: Yao Cheng on vlv, if ipvr is installed, it need be manually unloaded before i915, otherwise user might run into use-after-free issue. v2: added this patch per Daniel's comment v3: no change Signed-off-by: Yao Cheng Signed-off-by: Sean V Kelley --- tests/drv_module_reload

[Intel-gfx] [RFC PATCH V4 1/4] drm/i915: add i915_ved.c to setup bridge for VED

2015-01-07 Thread Sean V Kelley
- workaround nommu_map_sg issue by set dma_mask to support VED PRIME. v4: take Bob's comments - add more detail on the use-after-free issue description - mask VED irq before removing the child device Signed-off-by: Yao Cheng Signed-off-by: Sean V Kelley --- Documentation/Doc

Re: [Intel-gfx] [RFC PATCH 0/3] drm driver for baytrail's vxd392

2014-10-16 Thread Sean V Kelley
simple test are also included. >> >> git repos/patches for the userspace side seems to be missing. >> -Daniel >> -- >> Daniel Vetter >> Software Engineer, Intel Corporation >> +41 (0) 79 365 57 48 - http://blog.ffwll.c

Re: [Intel-gfx] [RFC PATCH 0/3] drm driver for baytrail's vxd392

2014-10-14 Thread Sean V Kelley
> If this is Intel-specific, why doesn't it live under the i915 driver? It is an entirely unrelated HW IP block, VXD392. Nothing to do with GEN aside from DRM based. Sean > > Thierry > > _______ > Intel-gfx mailing list > Intel-gfx@lists

Re: [Intel-gfx] i915: Regression: +4W in idle power use on Macbook Pro 15 (late 2013)

2014-08-28 Thread Sean V Kelley
on Haswell. Sorry. > > > > You can enable FBC with i915.enable_fbc=1 module parameter, but all bets > > are off. See the commit message you quoted above. I don't recommend. > > > For what it's worth, I have a Mid-2014, Macbook Pro Retina (13inch dis

Re: [Intel-gfx] [PATCH v2 i-g-t] intel-gpu-tools: add igt_core init func calls to some tests

2014-08-05 Thread Sean V Kelley
Ignore PBKAC. On Tue, Aug 5, 2014 at 1:51 PM, Sean V Kelley wrote: > From: Tim Gore > > igt-core.h/c provides some macros and initialisation > functions to support the tests but some of the single > tests do not use these. Modifying these tests to use > the igt_sim

[Intel-gfx] [PATCH v2 i-g-t] lib/chv: CHV media pipeline command sequence

2014-08-05 Thread Sean V Kelley
explicit IS_BROADWELL / IS_CHERRYVIEW to distinguish in gen8 media fill handling. Signed-off-by: Sean V Kelley --- lib/Makefile.sources| 1 + lib/intel_batchbuffer.c | 4 +- lib/media_fill.h| 7 + lib/media_fill_gen8lp.c | 370 4

[Intel-gfx] [PATCH v2 i-g-t] intel-gpu-tools: add igt_core init func calls to some tests

2014-08-05 Thread Sean V Kelley
From: Tim Gore igt-core.h/c provides some macros and initialisation functions to support the tests but some of the single tests do not use these. Modifying these tests to use the igt_simple_main macro and igt_simple_init function is the first step towards a consistent command line across all test

Re: [Intel-gfx] [PATCH] drm/i915: fix vxd392 memory corruption on VLV and >4GB

2014-03-08 Thread Sean V Kelley
On Saturday 08 Mar 2014 at 11:07:50 (+0100), Daniel Vetter writes : > On Sat, Mar 08, 2014 at 09:25:54AM +, Chris Wilson wrote: > > On Fri, Mar 07, 2014 at 05:13:51PM -0800, Sean V Kelley wrote: > > > On VLV systems addressing 4GB of memory or greater, memory corrupti

Re: [Intel-gfx] [PATCH] drm/i915: fix vxd392 memory corruption on VLV and >4GB

2014-03-08 Thread Sean V Kelley
On Saturday 08 Mar 2014 at 09:25:54 (+), Chris Wilson writes : > On Fri, Mar 07, 2014 at 05:13:51PM -0800, Sean V Kelley wrote: > > On VLV systems addressing 4GB of memory or greater, memory corruption was > > seen > > when initializing and attempting to render VP8 har

[Intel-gfx] [PATCH] drm/i915: fix vxd392 memory corruption on VLV and >4GB

2014-03-07 Thread Sean V Kelley
region (for example 3G-4G) can be occupied by onboard system resources. Enabling ZONE_DMA32 and setting the correct mask DMA for this device resolves the issue kernel side. Cc: Jesse Barnes Cc: Alan Cox Cc: Fei Jiang Signed-off-by: Sean V Kelley --- drivers/gpu/drm/i915/i915_dma.c | 2 +- 1