Re: [Intel-gfx] [PATCH 28/71] drm/i915/chv: Added CHV specific register read and write

2014-04-17 Thread Ben Widawsky
On Wed, Apr 09, 2014 at 01:28:26PM +0300, ville.syrj...@linux.intel.com wrote: > From: Deepak S > > Support to individually control Media/Render well based on the register > access. > Add CHV specific write function to habdle difference between registers > that are sadowed vs those that need for

Re: [Intel-gfx] [PATCH 2/3] tests/gem_vmap_blits: Remove obsolete test case

2014-04-17 Thread Volkin, Bradley D
On Wed, Mar 19, 2014 at 04:13:05AM -0700, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > No need for the old test case once the new one was added. > > Signed-off-by: Tvrtko Ursulin Reviewed-by: Brad Volkin > --- > tests/.gitignore | 1 - > tests/Makefile.sources | 1 - > tests/g

Re: [Intel-gfx] [PATCH 3/3] tests/gem_userptr_benchmark: Benchmarking userptr surfaces and impact

2014-04-17 Thread Volkin, Bradley D
On Wed, Mar 19, 2014 at 04:13:06AM -0700, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > This adds a small benchmark for the new userptr functionality. > > Apart from basic surface creation and destruction, also tested is the > impact of having userptr surfaces in the process address space. Re

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Do not call retire_requests from wait_for_rendering

2014-04-17 Thread Volkin, Bradley D
Hi Chris, just want to bring this one back to your attention while I'm going through the rest of the series. Thanks, Brad On Fri, Mar 28, 2014 at 03:58:25PM -0700, Volkin, Bradley D wrote: > On Mon, Mar 17, 2014 at 05:21:55AM -0700, Chris Wilson wrote: > > A common issue we have is that retiring r

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl

2014-04-17 Thread Volkin, Bradley D
On Mon, Mar 17, 2014 at 05:21:56AM -0700, Chris Wilson wrote: > By exporting the ability to map user address and inserting PTEs > representing their backing pages into the GTT, we can exploit UMA in order > to utilize normal application data as a texture source or even as a > render target (dependi

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure

2014-04-17 Thread Jani Nikula
On Wed, 16 Apr 2014, Robert Beckett wrote: > On 25/03/2014 13:23, Chris Wilson wrote: >> Try to flush out dirty pages into the swapcache (and from there into the >> swapfile) when under memory pressure and forced to drop GEM objects from >> memory. In effect, this should just allow us to discard u

Re: [Intel-gfx] [PATCH 1/2] drm/i915: remove unexplained vblank wait in the DP off code

2014-04-17 Thread Ville Syrjälä
On Fri, Apr 11, 2014 at 02:25:41PM -0700, Jesse Barnes wrote: > I don't think this is necessary; at least it doesn't appear to be on my > BYT. Dropping it speeds up our shutdown code a little, in some cases > resulting in faster init times. > > Signed-off-by: Jesse Barnes > --- > drivers/gpu/dr

Re: [Intel-gfx] [PATCH v2 00/25] vlv: add support for RPM

2014-04-17 Thread Ville Syrjälä
On Mon, Apr 14, 2014 at 08:24:21PM +0300, Imre Deak wrote: > For a description of this patchset see the previous cover letter [1]. > > Tested on HSW (non-ULT), VLV with igt/kms_flip and pm_pc8. > > v2: > - addressed comments about getting the proper runtime PM references in > debugfs (Daniel, P

Re: [Intel-gfx] [PATCH] drm/i915: Return -ENOENT for unknown contexts

2014-04-17 Thread Mika Kuoppala
Chris Wilson writes: > On Wed, Apr 16, 2014 at 11:58:09AM +0300, Mika Kuoppala wrote: >> From: Mika Kuoppala >> >> If hw_contexts are disabled, we always return the per file >> descriptor default context stats. Make sure that the context >> is correctly given and fail accordingly if not. >> >>

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Move buffer pinning and ring selection to intel_crtc_page_flip()

2014-04-17 Thread Chris Wilson
On Tue, Apr 15, 2014 at 09:41:38PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > All of the .queue_flip() callbacks duplicate the same code to pin the > buffers and calculate the gtt_offset. Move that code to > intel_crtc_page_flip(). In order to do that we must also move

Re: [Intel-gfx] [PATCH] drm/fb-helper: Fix hpd vs. initial config races

2014-04-17 Thread Thierry Reding
On Wed, Apr 16, 2014 at 04:45:21PM +0200, Daniel Vetter wrote: > Some drivers need to be able to have a perfect race-free fbcon setup. > Current drivers only enable hotplug processing after the call to > drm_fb_helper_initial_config which leaves a tiny but important race. > > This race is especial

Re: [Intel-gfx] [PATCH] drm/i915: Return -ENOENT for unknown contexts

2014-04-17 Thread Chris Wilson
On Wed, Apr 16, 2014 at 11:58:09AM +0300, Mika Kuoppala wrote: > From: Mika Kuoppala > > If hw_contexts are disabled, we always return the per file > descriptor default context stats. Make sure that the context > is correctly given and fail accordingly if not. > > Testcase: igt/gem_reset_stats/p