[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-31 Thread Maarten Lankhorst
Op 27-08-15 om 17:22 schreef Daniel Vetter: > On Thu, Aug 27, 2015 at 03:36:09PM +0100, Daniel Stone wrote: >> Hi, >> >> On 6 August 2015 at 13:49, Daniel Vetter wrote: >>> On Thu, Aug 06, 2015 at 01:19:35PM +0200, Maarten Lankhorst wrote: Op 06-08-15 om 11:47 schreef Daniel Stone: > On

[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-27 Thread Daniel Vetter
On Thu, Aug 27, 2015 at 03:36:09PM +0100, Daniel Stone wrote: > Hi, > > On 6 August 2015 at 13:49, Daniel Vetter wrote: > > On Thu, Aug 06, 2015 at 01:19:35PM +0200, Maarten Lankhorst wrote: > >> Op 06-08-15 om 11:47 schreef Daniel Stone: > >> > On 30 July 2015 at 08:03, Maarten Lankhorst > >> >

[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-27 Thread Daniel Stone
Hi, On 6 August 2015 at 13:49, Daniel Vetter wrote: > On Thu, Aug 06, 2015 at 01:19:35PM +0200, Maarten Lankhorst wrote: >> Op 06-08-15 om 11:47 schreef Daniel Stone: >> > On 30 July 2015 at 08:03, Maarten Lankhorst >> > wrote: >> >> + if (!state->active && state->event) { >> >> +

[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-06 Thread Daniel Vetter
On Thu, Aug 06, 2015 at 01:19:35PM +0200, Maarten Lankhorst wrote: > Hey, > > Op 06-08-15 om 11:47 schreef Daniel Stone: > > Hi, > > > > On 30 July 2015 at 08:03, Maarten Lankhorst > > wrote: > >> This will cause drm_atomic_helper_page_flip and drm_mode_atomic_ioctl to > >> fail with -EINVAL if

[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-06 Thread Maarten Lankhorst
Hey, Op 06-08-15 om 11:47 schreef Daniel Stone: > Hi, > > On 30 July 2015 at 08:03, Maarten Lankhorst > wrote: >> This will cause drm_atomic_helper_page_flip and drm_mode_atomic_ioctl to >> fail with -EINVAL if a event is requested on a inactive crtc. >> >> Signed-off-by: Maarten Lankhorst >>

[Intel-gfx] drm/atomic: Reject events for inactive crtc's.

2015-08-06 Thread Daniel Stone
Hi, On 30 July 2015 at 08:03, Maarten Lankhorst wrote: > This will cause drm_atomic_helper_page_flip and drm_mode_atomic_ioctl to > fail with -EINVAL if a event is requested on a inactive crtc. > > Signed-off-by: Maarten Lankhorst > --- > diff --git a/drivers/gpu/drm/drm_atomic.c