drm/i915: Generate i915_params {} using a macro
authorChris Wilson <[email protected]>
Mon, 6 Feb 2017 21:36:05 +0000 (21:36 +0000)
committerChris Wilson <[email protected]>
Mon, 6 Feb 2017 22:37:32 +0000 (22:37 +0000)
commitb8cf691e28fa48f36f3a318385e1edc9a0a291fd
tree7555eee2f4da1380b2aa694536d3ebedf825af3a
parent2ffe80aa442461eb2fa3cd4c5dda81832e5dd291
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 <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_params.h