[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
On Wed, Sep 5, 2012 at 1:17 PM, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > problem that sho

[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

Re: [PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
On Wed, Sep 5, 2012 at 1:17 PM, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > problem that sho

[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

[PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Daniel Vetter
On Tue, Sep 04, 2012 at 06:10:04PM -0500, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > proble

Re: [PATCH] drm: refcnt drm_framebuffer

2012-09-05 Thread Daniel Vetter
On Tue, Sep 04, 2012 at 06:10:04PM -0500, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > proble

[PATCH] drm: refcnt drm_framebuffer

2012-09-04 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

[PATCH] drm: refcnt drm_framebuffer

2012-09-04 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

[PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Ville Syrjälä
On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark > > wrote: > >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> chris-wilson.co.uk> wrote: > >> > On Tue, 31 Jul 2012 11:20:2

[PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 6:36 AM, Ville Syrj?l? wrote: > On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark >> > wrote: >> >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson > >>

Re: [PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 6:36 AM, Ville Syrjälä wrote: > On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> >> wr

Re: [PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Ville Syrjälä
On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: > >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson > >> wrote: > >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark >

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Chris Wilson
On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark > > wrote: > >> From: Rob Clark > >> > >> This simplifies drm fb lifetime, and if the crtc/plane needs to hold > >> a ref to the fb

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Chris Wilson
On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > problem tha

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark >> > wrote: >> >> From: Rob Clark >> >> >> >> This simplifies drm fb li

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark >> > wrote: >> >> From: Rob Clark >> >> >> >> This simplifies drm fb li

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: >> From: Rob Clark >> >> This simplifies drm fb lifetime, and if the crtc/plane needs to hold >> a ref to the fb when disabling a pipe until the next vblank, this >> avoids the need to m

Re: [PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: >> >> From: Rob Clark >> >> >> >> This simplifies drm fb lifetime,

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c

Re: [PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: >> >> From: Rob Clark >> >> >> >> This simplifies drm fb lifetime,

Re: [PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Chris Wilson
On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: > >> From: Rob Clark > >> > >> This simplifies drm fb lifetime, and if the crtc/plane needs to hold > >> a ref to the fb when

Re: [PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson wrote: > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: >> From: Rob Clark >> >> This simplifies drm fb lifetime, and if the crtc/plane needs to hold >> a ref to the fb when disabling a pipe until the next vblank, this >> avoids the need to ma

Re: [PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Chris Wilson
On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark wrote: > From: Rob Clark > > This simplifies drm fb lifetime, and if the crtc/plane needs to hold > a ref to the fb when disabling a pipe until the next vblank, this > avoids the need to make disabling an overlay synchronous. This is a > problem tha

[PATCH] drm: refcnt drm_framebuffer

2012-07-31 Thread Rob Clark
From: Rob Clark This simplifies drm fb lifetime, and if the crtc/plane needs to hold a ref to the fb when disabling a pipe until the next vblank, this avoids the need to make disabling an overlay synchronous. This is a problem that shows up when userspace is using a drm plane to implement a hw c