summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2019-03-25 14:49:33 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-26 19:25:49 +0000
commit5a0ba777098a9b90f88ccca2c53dd7382bfba30c (patch)
tree3fdb31dc29682f2e4dfeb8d051c63fb212a47709 /net
parent6cc5ca76882521998c5138cd1ba67659e8f7f58c (diff)
downloadlinux-5a0ba777098a9b90f88ccca2c53dd7382bfba30c.tar.bz2
drm/i915: add HAS_FORCEWAKE flag to uncore
We have several cases where we don't have forcewake (older gens, GVT and planned display-only uncore), so, instead of checking every time against the various condition, save the info in a flag and use that. Note that this patch also change the behavior for gen5 with vpgu enabled, but this is not an issue since we don't support vgpu on gen5. v2: split out from previous path, fix check for missing case (Paulo) v3: Inline helper for clarity in testing flags Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190325214940.23632-3-daniele.ceraolospurio@intel.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions