abuse of dumb ioctls in exynos

2013-05-01 Thread Dave Airlie
>> Except in the cases where it doesn't do what you want, and possibly in >> the future where it does less of what you want. You've started on a >> slippery slope, and I'm stopping you before you make things worse. >> >> You are going to have to get SoC kernel drivers to add an ioctl that >> you ca

abuse of dumb ioctls in exynos

2013-04-30 Thread Patrik Jakobsson
On Tue, Apr 30, 2013 at 10:19 PM, Dave Airlie wrote: >>> Except in the cases where it doesn't do what you want, and possibly in >>> the future where it does less of what you want. You've started on a >>> slippery slope, and I'm stopping you before you make things worse. >>> >>> You are going to ha

abuse of dumb ioctls in exynos

2013-04-30 Thread Patrik Jakobsson
On Mon, Apr 29, 2013 at 12:31 PM, Dave Airlie wrote: >> The reason we (currently) use the dumb buffer interface is because it >> does pretty much exactly what we need it to, as we only want linear >> RGB buffers: > > Except in the cases where it doesn't do what you want, and possibly in > the futu

Re: abuse of dumb ioctls in exynos

2013-04-30 Thread Patrik Jakobsson
On Tue, Apr 30, 2013 at 10:19 PM, Dave Airlie wrote: >>> Except in the cases where it doesn't do what you want, and possibly in >>> the future where it does less of what you want. You've started on a >>> slippery slope, and I'm stopping you before you make things worse. >>> >>> You are going to ha

Re: abuse of dumb ioctls in exynos

2013-04-30 Thread Dave Airlie
>> Except in the cases where it doesn't do what you want, and possibly in >> the future where it does less of what you want. You've started on a >> slippery slope, and I'm stopping you before you make things worse. >> >> You are going to have to get SoC kernel drivers to add an ioctl that >> you ca

Re: abuse of dumb ioctls in exynos

2013-04-30 Thread Patrik Jakobsson
On Mon, Apr 29, 2013 at 12:31 PM, Dave Airlie wrote: >> The reason we (currently) use the dumb buffer interface is because it >> does pretty much exactly what we need it to, as we only want linear >> RGB buffers: > > Except in the cases where it doesn't do what you want, and possibly in > the futu

abuse of dumb ioctls in exynos

2013-04-29 Thread Dave Airlie
> The reason we (currently) use the dumb buffer interface is because it > does pretty much exactly what we need it to, as we only want linear > RGB buffers: Except in the cases where it doesn't do what you want, and possibly in the future where it does less of what you want. You've started on a sl

Re: abuse of dumb ioctls in exynos

2013-04-29 Thread Dave Airlie
> The reason we (currently) use the dumb buffer interface is because it > does pretty much exactly what we need it to, as we only want linear > RGB buffers: Except in the cases where it doesn't do what you want, and possibly in the future where it does less of what you want. You've started on a sl

abuse of dumb ioctls in exynos

2013-04-26 Thread Rob Clark
t; the technical side and those I really want to understand. > > >> -Original Message- >> From: Dave Airlie [mailto:airlied at gmail.com] >> Sent: 23 April 2013 21:29 >> To: Tom Cooksey >> Cc: dri-devel; Inki Dae >> Subject: Re: abuse of dumb ioctls

Re: abuse of dumb ioctls in exynos

2013-04-26 Thread Rob Clark
t; the technical side and those I really want to understand. > > >> -Original Message- >> From: Dave Airlie [mailto:airl...@gmail.com] >> Sent: 23 April 2013 21:29 >> To: Tom Cooksey >> Cc: dri-devel; Inki Dae >> Subject: Re: abuse of dumb ioctls

abuse of dumb ioctls in exynos

2013-04-24 Thread Tom Cooksey
age- > From: Dave Airlie [mailto:airlied at gmail.com] > Sent: 23 April 2013 21:29 > To: Tom Cooksey > Cc: dri-devel; Inki Dae > Subject: Re: abuse of dumb ioctls in exynos > > > > > Having a flag to indicate a dumb buffer allocation is to be used as a > > s

RE: abuse of dumb ioctls in exynos

2013-04-24 Thread Tom Cooksey
age- > From: Dave Airlie [mailto:airl...@gmail.com] > Sent: 23 April 2013 21:29 > To: Tom Cooksey > Cc: dri-devel; Inki Dae > Subject: Re: abuse of dumb ioctls in exynos > > > > > Having a flag to indicate a dumb buffer allocation is to be used as a > > s

abuse of dumb ioctls in exynos

2013-04-23 Thread Tom Cooksey
> It appears exynos is passing the generic flags from the dumb ioctls > straight into the the GEM creation code. > > The dumb flags are NOT driver specific, and are NOT to be used in this > fashion. Please remove this use of the flags from your driver. > > I was going to add one new flag to the i

Re: abuse of dumb ioctls in exynos

2013-04-23 Thread Dave Airlie
> > Having a flag to indicate a dumb buffer allocation is to be used as a > scan-out buffer would be useful for xf86-video-armsoc. We're trying to > keep that driver as generic as possible and currently the main device- > specific bits are what flags to pass to DRM_IOCTL_MODE_CREATE_DUMB for > scan

abuse of dumb ioctls in exynos

2013-04-23 Thread Dave Airlie
> > Having a flag to indicate a dumb buffer allocation is to be used as a > scan-out buffer would be useful for xf86-video-armsoc. We're trying to > keep that driver as generic as possible and currently the main device- > specific bits are what flags to pass to DRM_IOCTL_MODE_CREATE_DUMB for > scan

abuse of dumb ioctls in exynos

2013-04-23 Thread Rob Clark
On Tue, Apr 23, 2013 at 12:34 PM, Tom Cooksey wrote: >> It appears exynos is passing the generic flags from the dumb ioctls >> straight into the the GEM creation code. >> >> The dumb flags are NOT driver specific, and are NOT to be used in this >> fashion. Please remove this use of the flags from

Re: abuse of dumb ioctls in exynos

2013-04-23 Thread Rob Clark
On Tue, Apr 23, 2013 at 12:34 PM, Tom Cooksey wrote: >> It appears exynos is passing the generic flags from the dumb ioctls >> straight into the the GEM creation code. >> >> The dumb flags are NOT driver specific, and are NOT to be used in this >> fashion. Please remove this use of the flags from

RE: abuse of dumb ioctls in exynos

2013-04-23 Thread Tom Cooksey
> It appears exynos is passing the generic flags from the dumb ioctls > straight into the the GEM creation code. > > The dumb flags are NOT driver specific, and are NOT to be used in this > fashion. Please remove this use of the flags from your driver. > > I was going to add one new flag to the i

abuse of dumb ioctls in exynos

2013-04-18 Thread Inki Dae
Hi, Dave 2013/4/18 Dave Airlie > It appears exynos is passing the generic flags from the dumb ioctls > straight into the the GEM creation code. > > The dumb flags are NOT driver specific, and are NOT to be used in this > fashion. Please remove this use of the flags from your driver. > > Got it

abuse of dumb ioctls in exynos

2013-04-18 Thread Dave Airlie
It appears exynos is passing the generic flags from the dumb ioctls straight into the the GEM creation code. The dumb flags are NOT driver specific, and are NOT to be used in this fashion. Please remove this use of the flags from your driver. I was going to add one new flag to the interface for S

Re: abuse of dumb ioctls in exynos

2013-04-17 Thread Inki Dae
Hi, Dave 2013/4/18 Dave Airlie > It appears exynos is passing the generic flags from the dumb ioctls > straight into the the GEM creation code. > > The dumb flags are NOT driver specific, and are NOT to be used in this > fashion. Please remove this use of the flags from your driver. > > Got it

abuse of dumb ioctls in exynos

2013-04-17 Thread Dave Airlie
It appears exynos is passing the generic flags from the dumb ioctls straight into the the GEM creation code. The dumb flags are NOT driver specific, and are NOT to be used in this fashion. Please remove this use of the flags from your driver. I was going to add one new flag to the interface for S