Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-07 Thread Daniel Vetter
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) That userspace knows the GGTT offset of, so that they can program OABUFFER with

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-07 Thread Bragg, Robert
On Mon, Jul 7, 2014 at 9:43 PM, Daniel Vetter dan...@ffwll.ch 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) That

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-03 Thread Damien Lespiau
On Wed, Jul 02, 2014 at 02:19:42PM +0100, Rutkowski, Adam J wrote: Having said all this, how about restoring the pin_ioctl? At least for some time? We do have a use case and moving to other - better - solution would take time. I think backward compatibility is something that you take into

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-03 Thread Ben Widawsky
On Thu, Jul 03, 2014 at 08:17:32AM +0100, Damien Lespiau wrote: On Wed, Jul 02, 2014 at 02:19:42PM +0100, Rutkowski, Adam J wrote: Having said all this, how about restoring the pin_ioctl? At least for some time? We do have a use case and moving to other - better - solution would take time.

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-03 Thread Ben Widawsky
On Thu, Jul 03, 2014 at 10:10:48AM -0700, Ben Widawsky wrote: On Thu, Jul 03, 2014 at 08:17:32AM +0100, Damien Lespiau wrote: On Wed, Jul 02, 2014 at 02:19:42PM +0100, Rutkowski, Adam J wrote: Having said all this, how about restoring the pin_ioctl? At least for some time? We do have a

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Ben Widawsky
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) That userspace knows the GGTT offset of, so that they can program OABUFFER with

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Chris Wilson
On Tue, Jul 01, 2014 at 11:40:52PM -0700, Ben Widawsky 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) That userspace

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Mateo Lozano, Oscar
: Wednesday, July 02, 2014 7:56 AM To: Ben Widawsky Cc: Mateo Lozano, Oscar; Intel-gfx@lists.freedesktop.org; Madajczak, Tomasz; Rutkowski, Adam J; Jesse Barnes (jbar...@virtuousgeek.org) Subject: Re: [Intel-gfx] pin OABUFFER to GGTT On Tue, Jul 01, 2014 at 11:40:52PM -0700, Ben Widawsky wrote

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Madajczak, Tomasz
10:50 AM To: Chris Wilson; Ben Widawsky Cc: Intel-gfx@lists.freedesktop.org; Madajczak, Tomasz; Rutkowski, Adam J; Jesse Barnes (jbar...@virtuousgeek.org) Subject: RE: [Intel-gfx] pin OABUFFER to GGTT - Intel Corporation (UK

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Damien Lespiau
On Wed, Jul 02, 2014 at 10:31:45AM +, Madajczak, Tomasz wrote: There isn't any secret or privacy in that OA buffer data - just results of performance counters, shown by tools such as GPA/ Vtune. Chris alludes to the fact that if there's a way for one application to gather data about other

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Madajczak, Tomasz
, Tomasz Cc: Mateo Lozano, Oscar; Chris Wilson; Ben Widawsky; Intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] pin OABUFFER to GGTT On Wed, Jul 02, 2014 at 10:31:45AM +, Madajczak, Tomasz wrote: There isn't any secret or privacy in that OA buffer data - just results of performance

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Rutkowski, Adam J
Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Madajczak, Tomasz Sent: Wednesday, July 2, 2014 1:12 PM To: Lespiau, Damien Cc: Ben Widawsky; Intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] pin OABUFFER to GGTT bo_pin had so far root

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-02 Thread Ben Widawsky
; Jesse Barnes (jbar...@virtuousgeek.org) Subject: RE: [Intel-gfx] pin OABUFFER to GGTT - Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Mateo Lozano, Oscar
Submitting again (this time copying the mailing list correctly): The bo_pin ioctl has been discarded in GEN6+ with this patch:     drm/i915: Reject the pin ioctl on gen6+     Especially with ppgtt this kinda stopped making sense. And if we     indeed need this to hack around an issue, we

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Chris Wilson
On Tue, Jul 01, 2014 at 04:24:56PM +, Mateo Lozano, Oscar wrote: Submitting again (this time copying the mailing list correctly): The bo_pin ioctl has been discarded in GEN6+ with this patch:     drm/i915: Reject the pin ioctl on gen6+     Especially with ppgtt this kinda stopped

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Mateo Lozano, Oscar
-Original Message- From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] Sent: Tuesday, July 01, 2014 5:30 PM To: Mateo Lozano, Oscar Cc: Intel-gfx@lists.freedesktop.org; Madajczak, Tomasz Subject: Re: [Intel-gfx] pin OABUFFER to GGTT On Tue, Jul 01, 2014 at 04:24:56PM +, Mateo

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Chris Wilson
-gfx] pin OABUFFER to GGTT On Tue, Jul 01, 2014 at 04:24:56PM +, Mateo Lozano, Oscar wrote: Submitting again (this time copying the mailing list correctly): The bo_pin ioctl has been discarded in GEN6+ with this patch:     drm/i915: Reject the pin ioctl on gen6

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Mateo Lozano, Oscar
Subject: Re: [Intel-gfx] pin OABUFFER to GGTT On Tue, Jul 01, 2014 at 04:24:56PM +, Mateo Lozano, Oscar wrote: Submitting again (this time copying the mailing list correctly): The bo_pin ioctl has been discarded in GEN6+ with this patch:     drm/i915: Reject the pin ioctl

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Mateo Lozano, Oscar
-Original Message- From: Mateo Lozano, Oscar Sent: Tuesday, July 01, 2014 6:14 PM To: 'Chris Wilson' Cc: Intel-gfx@lists.freedesktop.org; Madajczak, Tomasz; Rutkowski, Adam J; Jesse Barnes (jbar...@virtuousgeek.org) Subject: RE: [Intel-gfx] pin OABUFFER to GGTT -Original

Re: [Intel-gfx] pin OABUFFER to GGTT

2014-07-01 Thread Chris Wilson
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) That userspace knows the GGTT offset of, so that they can program OABUFFER with it. D) That userspace can map so that they can read the reported