summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2016-09-22 18:00:28 -0300
committerJani Nikula <jani.nikula@intel.com>2016-10-10 16:06:37 +0300
commit6e7fdb873d6255ca3c999dd5c6c18962a769ed3e (patch)
tree17cda8c375930a45fbafd1c7846100c9a1a7f233 /include/soc
parent674f823b455cdb94d5773406c1caac170f87e1c4 (diff)
downloadblackbird-op-linux-6e7fdb873d6255ca3c999dd5c6c18962a769ed3e.tar.gz
blackbird-op-linux-6e7fdb873d6255ca3c999dd5c6c18962a769ed3e.zip
drm/i915: introduce intel_has_sagv()
And use it to move knowledge about the SAGV-supporting platforms from the callers to the SAGV code. We'll add more platforms to intel_has_sagv(), so IMHO it makes more sense to move all this to a single function instead of patching all the callers every time we add SAGV support to a new platform. v2: Move I915_SAGV_NOT_CONTROLLED to the new function (Lyude). Cc: stable@vger.kernel.org Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1474578035-424-3-git-send-email-paulo.r.zanoni@intel.com (cherry picked from commit 56feca91973459d0b62cbb2610b62d341025ed89) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud