summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_gtt.h
diff options
context:
space:
mode:
authorMichel Thierry <michel.thierry@intel.com>2017-08-30 21:01:15 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-09-08 22:07:06 +0300
commita2d3d2655ea6d09edfcc6d9b11fb58729c8d5b95 (patch)
tree76714728c6b8ae47c2d24b5ba74f12bc3f7d8d23 /drivers/gpu/drm/i915/i915_gem_gtt.h
parent6af5d6707fcb663e93f2c48bd0694e763debd467 (diff)
downloadlinux-a2d3d2655ea6d09edfcc6d9b11fb58729c8d5b95.tar.xz
drm/i915: Add a default case in gen7 hwsp switch-case
Gen7 won't get any new engines, and we already added VCS2 there to just silence gcc's not handled in switch warnings. Use a default case instead, otherwise we will need to keep adding extra cases if changes happen in the future. v2: Since reaching the default case is impossible, use GEM_BUG_ON (Chris). Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Michel Thierry <michel.thierry@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170830180115.907-1-michel.thierry@intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.h')
0 files changed, 0 insertions, 0 deletions