aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorDavid Weinehall <[email protected]>2016-09-02 10:46:17 +0000
committerChris Wilson <[email protected]>2016-09-02 11:28:33 +0000
commit16162470023627776d503795d08aa5a797ce40a2 (patch)
treee7f4fba0e872d8b311c5a0bb02a8e0c49c24c246 /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915: Drop mutex around clearing error state (diff)
downloadkernel-16162470023627776d503795d08aa5a797ce40a2.tar.gz
kernel-16162470023627776d503795d08aa5a797ce40a2.zip
drm/i915: Cleanup i915_param()
Rather than having a separate case for each value where we just return a hardcoded value = 1, we lump them all together and rely on the awesome case-fallthrough feature of C. Fix all feature macros to pass dev_priv instead of dev while at it, and use INTEL_GEN() instead of INTEL_INFO()->gen. Signed-off-by: David Weinehall <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions