dumb BOs and prime

2015-12-05 Thread Rob Herring
On Fri, Dec 4, 2015 at 5:48 PM, Greg Hackmann wrote: > On 12/04/2015 11:23 AM, Rob Herring wrote: >> >> On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard >> wrote: >>> >>> Hi Rob, >>> >>> I got the same problem today with sti drm/kms driver and dumb Bo. >>> The issue comes become hwcomposer beca

dumb BOs and prime

2015-12-05 Thread Stéphane Marchesin
On Sat, Dec 5, 2015 at 3:40 PM, Rob Herring wrote: > On Fri, Dec 4, 2015 at 5:48 PM, Greg Hackmann wrote: >> On 12/04/2015 11:23 AM, Rob Herring wrote: >>> >>> On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard >>> wrote: Hi Rob, I got the same problem today with sti drm/kms

dumb BOs and prime

2015-12-05 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 03:48:26PM -0800, Greg Hackmann wrote: > On 12/04/2015 11:23 AM, Rob Herring wrote: > >On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard > > wrote: > >>Hi Rob, > >> > >>I got the same problem today with sti drm/kms driver and dumb Bo. > >>The issue comes become hwcomposer b

dumb BOs and prime

2015-12-04 Thread Martin Peres
On 04/12/15 19:49, Rob Herring wrote: > I'm working on getting Android working with DRM drivers. ATM, I'm > using virtio-gpu as the driver and trying to get just KMS side working > without rendering. I have it working with stock AOSP and the emulated > fb with a few additions to the virtio-gpu driv

dumb BOs and prime

2015-12-04 Thread Benjamin Gaignard
Hi Rob, I got the same problem today with sti drm/kms driver and dumb Bo. The issue comes become hwcomposer because is the master and authenticated on /dev/dri/cardX Dumb allocation is done by gralloc which does a new open (so it is not authenticated) on drm node the consequence is that we can't u

dumb BOs and prime

2015-12-04 Thread Daniel Stone
Hi Rob, On 4 December 2015 at 17:49, Rob Herring wrote: > I'm working on getting Android working with DRM drivers. ATM, I'm > using virtio-gpu as the driver and trying to get just KMS side working > without rendering. I have it working with stock AOSP and the emulated > fb with a few additions to

dumb BOs and prime

2015-12-04 Thread Greg Hackmann
On 12/04/2015 11:23 AM, Rob Herring wrote: > On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard > wrote: >> Hi Rob, >> >> I got the same problem today with sti drm/kms driver and dumb Bo. >> The issue comes become hwcomposer because is the master and authenticated on >> /dev/dri/cardX >> Dumb allo

dumb BOs and prime

2015-12-04 Thread Rob Herring
On Fri, Dec 4, 2015 at 12:40 PM, Benjamin Gaignard wrote: > Hi Rob, > > I got the same problem today with sti drm/kms driver and dumb Bo. > The issue comes become hwcomposer because is the master and authenticated on > /dev/dri/cardX > Dumb allocation is done by gralloc which does a new open (so i

dumb BOs and prime

2015-12-04 Thread Rob Herring
I'm working on getting Android working with DRM drivers. ATM, I'm using virtio-gpu as the driver and trying to get just KMS side working without rendering. I have it working with stock AOSP and the emulated fb with a few additions to the virtio-gpu driver[1]. Now I'm trying to get things working wi