drm/i915: Show the current i915_params in debugfs/i915_capabilites
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 21:36:08 +0000 (21:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 22:37:35 +0000 (22:37 +0000)
commit418e3cd8005121601facd46dfc452ef9e40894f6
tree2f3445700658d687c12328312efd92cc03e35ff8
parent642c8a72533f26b1614d9f11361947f368fb3e57
drm/i915: Show the current i915_params in debugfs/i915_capabilites

Alongside the hw capabilities, it is useful to know which of those have
been overridden by the user setting module parameters.

v2: Use __always_inline and BUILD_BUG magic

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170206213608.31328-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c