drm/i915: Collect gtier properly on HSW.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 1 Aug 2014 16:12:27 +0000 (09:12 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Aug 2014 09:07:20 +0000 (11:07 +0200)
commit843db716a9c3d3089a3a1f1b9b7af9a33943ab85
treed8e39072ffdfab67cf488d51f416e2b5316ab38b
parentdf662a28c2c099a8ea1aa7cb4334d9df8aba6f95
drm/i915: Collect gtier properly on HSW.

GTIER and DEIER doesn't have same interface on HSW so this "or" operation
makes the information provided useless.

v2: since we have gtier variable already let's split for everybody
and avoid the strange | op.
    Also avoid overriding the value that was set for vlv. In this case I
    believe that we should reorganize the whole function, but I'll respect
    the comment that ask to not touch the order and let this organization
    work to be done later.
v3: moving VLV check to the right place.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c