diff options
author | Robert Beckett <robert.beckett@intel.com> | 2014-06-03 10:08:26 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-11 16:57:43 +0200 |
commit | 542c184f0ea08ee65794c1f0b044e1db4f8aab1b (patch) | |
tree | 243dcae5d6516b24b47a4c42ba1e37c72f59f0c5 /drivers/gpu/drm/i915/i915_reg.h | |
parent | d5ec26394c6633d82cc5e7ae6813206ba20fe8f5 (diff) | |
download | lwn-542c184f0ea08ee65794c1f0b044e1db4f8aab1b.tar.gz lwn-542c184f0ea08ee65794c1f0b044e1db4f8aab1b.zip |
drm/i915: Simplify intel_gpu_reset
Replaced ever growing switch for gen version with chained conditionals.
Futre gen's only need to add a new one if they require something different.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Robert Beckett <robert.beckett@intel.com>
[danvet: Picked from internal tree and white-wash commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
0 files changed, 0 insertions, 0 deletions