Re: [Intel-gfx] [PATCH 1/6] drm/print: introduce new struct drm_device based WARN* macros

2020-01-13 Thread Sam Ravnborg
Hi Pankaj. On Mon, Jan 13, 2020 at 05:25:52PM +0530, Pankaj Bharadiya wrote: > Add new struct drm_device based WARN* macros. These are modeled after > the core kernel device based WARN* macros. These would be preferred > over the regular WARN* macros, where possible. > > These macros include

Re: [Intel-gfx] [PATCH 1/6] drm/print: introduce new struct drm_device based WARN* macros

2020-01-13 Thread Jani Nikula
On Mon, 13 Jan 2020, Pankaj Bharadiya wrote: > Add new struct drm_device based WARN* macros. These are modeled after > the core kernel device based WARN* macros. These would be preferred > over the regular WARN* macros, where possible. > > These macros include device information in the

[Intel-gfx] [PATCH 1/6] drm/print: introduce new struct drm_device based WARN* macros

2020-01-13 Thread Pankaj Bharadiya
Add new struct drm_device based WARN* macros. These are modeled after the core kernel device based WARN* macros. These would be preferred over the regular WARN* macros, where possible. These macros include device information in the backtrace, so we know what device the warnings originate from.