]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Introduce i915_has_asle()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Mar 2019 16:56:31 +0000 (18:56 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Mar 2019 15:00:19 +0000 (17:00 +0200)
commitf3e304852242f5a5da6ab47798f4aca044786885
tree979ccf5c9a119c38aa358273f433cb877dd1ef91
parent9e7d569924d9b9b17734789496ac78d4f7eaab7c
drm/i915: Introduce i915_has_asle()

We want to allow the desktop PNV to not have .is_mobile set. To
that end let's add a small helper to determine if the platform
has the ASLE interrupt (or equivalent). Supposdely both PNV
variants have it.

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190318165633.28924-4-ville.syrjala@linux.intel.com
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_irq.c