Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Sam Ravnborg
Hi Daniel. > > > > drm_print.h uses DRM_NAME - which is defined only in uapi/drm/drm.h. > > The error is seen when you include drm_print.h and not much other drm > > header files. > > Tiday we rely on other drm header files to pull in drm.h. > > > > Notice - the error only manifest itself when t

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 11:11:07AM +0200, Sam Ravnborg wrote: > Hi Daniel. > > On Tue, Jun 11, 2019 at 10:39:11AM +0200, Daniel Vetter wrote: > > On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > > > drm_print.h requires to fix build when macros are used. > > > Pull in the header fi

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Sam Ravnborg
Hi Daniel. On Tue, Jun 11, 2019 at 10:39:11AM +0200, Daniel Vetter wrote: > On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > > drm_print.h requires to fix build when macros are used. > > Pull in the header file in drm_print.h so users do not have to do it. > > > > Signed-off-by: S

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Daniel Vetter
On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > drm_print.h requires to fix build when macros are used. > Pull in the header file in drm_print.h so users do not have to do it. > > Signed-off-by: Sam Ravnborg > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Sean Paul > Cc: Dav

[PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-09 Thread Sam Ravnborg
drm_print.h requires to fix build when macros are used. Pull in the header file in drm_print.h so users do not have to do it. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_print.h | 2 ++ 1 file chan