Re: [PATCH v2 05/14] drm: make drm_file.h self contained

2019-01-07 Thread Noralf Trønnes
Den 30.12.2018 18.48, skrev Sam Ravnborg: > drm_file.h embed struct idr, so this file need to know > the full type definition. > > With this change users of drm_file.h are no longer forced > to include idr.h - a file they usually get from drmP.h > > This makes it simpler to remove drmP.h

[PATCH v2 05/14] drm: make drm_file.h self contained

2018-12-30 Thread Sam Ravnborg
drm_file.h embed struct idr, so this file need to know the full type definition. With this change users of drm_file.h are no longer forced to include idr.h - a file they usually get from drmP.h This makes it simpler to remove drmP.h includes Signed-off-by: Sam Ravnborg Cc: Jani Nikula Cc: