Re: [PATCH 3/3] present: Check for an invalid target CRTC before flipping

2015-02-09 Thread Chris Wilson
On Sun, Feb 08, 2015 at 04:28:31PM -0800, Kenneth Graunke wrote: > On Sunday, February 08, 2015 12:00:37 PM Chris Wilson wrote: > > On Sun, Feb 08, 2015 at 02:10:07AM -0800, Kenneth Graunke wrote: > > > On Friday, February 06, 2015 08:25:44 AM Chris Wilson wrote: > > > > Once we have chosen the tar

Re: [PATCH 3/3] present: Check for an invalid target CRTC before flipping

2015-02-08 Thread Kenneth Graunke
On Sunday, February 08, 2015 12:00:37 PM Chris Wilson wrote: > On Sun, Feb 08, 2015 at 02:10:07AM -0800, Kenneth Graunke wrote: > > On Friday, February 06, 2015 08:25:44 AM Chris Wilson wrote: > > > Once we have chosen the target CRTC, check for an error when querying > > > the current MSC so we ca

Re: [PATCH 3/3] present: Check for an invalid target CRTC before flipping

2015-02-08 Thread Chris Wilson
On Sun, Feb 08, 2015 at 02:10:07AM -0800, Kenneth Graunke wrote: > On Friday, February 06, 2015 08:25:44 AM Chris Wilson wrote: > > Once we have chosen the target CRTC, check for an error when querying > > the current MSC so we can report the error before attempting to record > > the uninitialised

Re: [PATCH 3/3] present: Check for an invalid target CRTC before flipping

2015-02-08 Thread Kenneth Graunke
On Friday, February 06, 2015 08:25:44 AM Chris Wilson wrote: > Once we have chosen the target CRTC, check for an error when querying > the current MSC so we can report the error before attempting to record > the uninitialised MSC/UST, and subsequently feeding garbage values to > drmWaitVBlank. > >

[PATCH 3/3] present: Check for an invalid target CRTC before flipping

2015-02-06 Thread Chris Wilson
Once we have chosen the target CRTC, check for an error when querying the current MSC so we can report the error before attempting to record the uninitialised MSC/UST, and subsequently feeding garbage values to drmWaitVBlank. Signed-off-by: Chris Wilson --- present/present.c | 4 +++- 1 file cha