drm/i915: fix DSPADDR Gen check
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 22 Mar 2013 17:19:21 +0000 (14:19 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 23 Mar 2013 12:32:56 +0000 (13:32 +0100)
commit4b71a570f2a7ace7bc3eef3ea7c261aa7db32674
tree179524b6ea56a5648306a43beea187f45fa9a58b
parentad1c0b1974c31f16407f983b7e6ea3511ec2a726
drm/i915: fix DSPADDR Gen check

The first version of commit "drm/i915: there's no DSPADDR register on
Haswell" added 2 "!IS_HASWELL" checks. When reviewing the patch, Ben
suggested to make these checks more future-proof, so when Daniel
applied the patch he fixed the first check but not the second. This
commit makes the second check also "future-proof".

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c