Re: [Intel-gfx] [RFC PATCH 3/4] drm/i915: add api to pin/unpin context state

2014-11-12 Thread Bragg, Robert
On Wed, Nov 12, 2014 at 9:37 AM, Daniel Vetter wrote: > On Mon, Nov 10, 2014 at 02:56:50PM +, Robert Bragg wrote: > > This adds i915_gem_context_pin/unpin_state functions so that code > > outside i915_gem_context.c can pin/unpin a context without duplicating > > knowledge about the alignment

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-07 Thread Bragg, Robert
On Mon, Jul 7, 2014 at 9:43 PM, Daniel Vetter wrote: > On Tue, Jul 01, 2014 at 08:54:27PM +0100, Chris Wilson wrote: > > On Tue, Jul 01, 2014 at 05:16:30PM +, Mateo Lozano, Oscar wrote: > > > > The issue is they need: > > > > > > > > A) A buffer object. > > > > B) Bound to GGTT. > > > > C) Th

Re: [Intel-gfx] intel_gpu_top missing clocks

2014-06-19 Thread Bragg, Robert
e precedent for doing just that. It also looks like the utility code in overlay/debugfs.c can be used to make sure debugfs is mounted. Sorry I couldn't point you at good documentation for this; but hopefully that's still of some help to you. -- Regards, Robert > Regards, &g

Re: [Intel-gfx] intel_gpu_top missing clocks

2014-06-17 Thread Bragg, Robert
Hi Chris, You can query the nominal and maximum frequency of your GPU via debugfs, in case that is good enough for your needs. Depending on what kernel version you have you can try to cat /sys/kernel/debug/dri/0/i915_cur_delayinfo or with more recent versions, /sys/kernel/debug/dri/0/i915_frequenc