]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82ad36e6e71d7d1a88d37107287d839d73d6e8ed
tree179524b6ea56a5648306a43beea187f45fa9a58b
parentf5bc896bf23273d03b81dbd201d3b0d139a4303c
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