Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-12-09 Thread Kahola, Mika
Hi, Thanks for review comments! > -Original Message- > From: Daniel Stone [mailto:dan...@fooishbar.org] > Sent: Wednesday, December 7, 2016 5:02 PM > To: Kahola, Mika > Cc: intel-gfx > Subject: Re: [PATCH i-g-t v2]

Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-12-07 Thread Daniel Stone
Hi Mika, Thanks for respinning! On 23 November 2016 at 11:49, Mika Kahola wrote: > +bool kmstest_plane_visible(void) > +{ > + char tmp[256]; > + FILE *fid; > + bool visible = false; > + struct kmstest_resolution resolution; > + const char

[Intel-gfx] [PATCH i-g-t v2] tests/kms_plane_lowres: Plane visibility after atomic modesets

2016-11-23 Thread Mika Kahola
Testcase for plane visibility after atomic modesets. The idea of the test is the following: - draw a blue screen with high resolution - enable a yellow plane, visible, in lower-left corner - set a new lower resolution mode (1024x768) that makes plane invisible - check from debugfs