drm/i915: Use bool i915_param.alpha_support
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 21:36:06 +0000 (21:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 22:37:33 +0000 (22:37 +0000)
commit1a2010ca52f951b7a9e0cadb92d4bbcee643194c
treed5133d8e9a3d00a48934b4ec48953c8ac1e117cd
parentb8cf691e28fa48f36f3a318385e1edc9a0a291fd
drm/i915: Use bool i915_param.alpha_support

The alpha_support module option can only take one of two values, so
assign it to a boolean type. The only advantage is in pretty printing
via /sys/module/i915/parameters/alpha_support and elsewhere.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170206213608.31328-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h