[PATCH libdrm 1/9] tests/dristat: don't include C files

2015-03-26 Thread Emil Velikov
On 23/03/15 22:10, Jan Vesely wrote: > On Sun, 2015-03-22 at 22:03 +, Emil Velikov wrote: >> Remove the hack of including C files, by reworking the only requirement >> drmOpenMinor() to an open(buf...). After all we do know the exact name >> of the device we're going to open, so might as well u

[PATCH libdrm 1/9] tests/dristat: don't include C files

2015-03-23 Thread Jan Vesely
On Sun, 2015-03-22 at 22:03 +, Emil Velikov wrote: > Remove the hack of including C files, by reworking the only requirement > drmOpenMinor() to an open(buf...). After all we do know the exact name > of the device we're going to open, so might as well use it. Replace > hard-coded 16 with DRM_MA

[PATCH libdrm 1/9] tests/dristat: don't include C files

2015-03-22 Thread Emil Velikov
Remove the hack of including C files, by reworking the only requirement drmOpenMinor() to an open(buf...). After all we do know the exact name of the device we're going to open, so might as well use it. Replace hard-coded 16 with DRM_MAX_MINOR while we're here. Signed-off-by: Emil Velikov --- te