• Rodrigo Vivi's avatar
    drm/i915: Collect gtier properly on HSW. · 843db716
    Rodrigo Vivi authored
    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: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
    Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    843db716
i915_drv.h 86 KB