]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Generate i915_params {} using a macro
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 21:36:05 +0000 (21:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 22:37:32 +0000 (22:37 +0000)
commit06d78a2bbff2db19acd89ef1ce7ee55b750c6b86
tree7555eee2f4da1380b2aa694536d3ebedf825af3a
parentdadf05f1c753c3270537da255ab0183b8a9da5bc
drm/i915: Generate i915_params {} using a macro

I want to print the struct from the error state and so would like to use
the existing struct definition as the template ala DEV_INFO*

v2: Use MEMBER() rather than p().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170206213608.31328-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_params.h