Re: [Intel-gfx] [PATCH i-g-t v1 04/32] lib/igt_kms: Implement dynamic plane count support

2017-01-24 Thread Petri Latvala
On Mon, Jan 23, 2017 at 10:47:02AM -0500, Robert Foss wrote: > In the subsequent patches I clear up all of the IGT_PLANE_* being missing > issues (which does mean that trunk does not build between the > enum being removed and that the individual test being fixed). > > I could fix this by moving

Re: [Intel-gfx] [PATCH i-g-t v1 04/32] lib/igt_kms: Implement dynamic plane count support

2017-01-23 Thread Robert Foss
On 2017-01-23 06:00 AM, Mika Kahola wrote: With this patch applied, I received couple of issues during the compilation igt_kms.c:332:5: warning: no previous prototype for ‘kmstest_pipe_to_index’ [-Wmissing-prototypes] int kmstest_pipe_to_index(char pipe) and kms_fence_pin_leak.c:118:41:

Re: [Intel-gfx] [PATCH i-g-t v1 04/32] lib/igt_kms: Implement dynamic plane count support

2017-01-23 Thread Mika Kahola
With this patch applied, I received couple of issues during the compilation igt_kms.c:332:5: warning: no previous prototype for ‘kmstest_pipe_to_index’ [-Wmissing-prototypes]  int kmstest_pipe_to_index(char pipe)   and kms_fence_pin_leak.c:118:41: error: ‘IGT_PLANE_PRIMARY’ undeclared (first use

[Intel-gfx] [PATCH i-g-t v1 04/32] lib/igt_kms: Implement dynamic plane count support

2017-01-20 Thread Robert Foss
In upcoming drm-misc-next changes, the number of planes per pipe has been increased as more than one primary plane can be associated with a pipe. The simple fix for this would be to simply bump hardcoded value for number of frames per pipe. But a better solution would be to add support for