drm/i915: Parametrize fence registers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 21 Sep 2015 15:05:14 +0000 (18:05 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 08:20:03 +0000 (10:20 +0200)
commiteecf613a432c663d206a11c2543e9cca2ddc3aba
tree34178f1246de4bd345ee26e8f38b7f0b7dc9a170
parent9c58a049566566a8dc5aa1874ddfb3d32f954260
drm/i915: Parametrize fence registers

v2: Hide the 945 vs. rest of gen2/3 difference in the macro

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_fence.c
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_reg.h