]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Unbreak interrupts on pre-gen6
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jul 2016 16:24:47 +0000 (19:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Jul 2016 14:04:00 +0000 (17:04 +0300)
commit035ea405c91e2dc89325a79129cf9af2b9c2ae8e
tree9c8535ef9578f8694cea201ffe21cebe721049e1
parent8d35acba25daa4aaccd1d2f430f82192a8d444a9
drm/i915: Unbreak interrupts on pre-gen6

Prior to gen6 we didn't have per-ring IMR registers, which means that
since commit 61ff75ac20ff ("drm/i915: Simplify enabling
user-interrupts with L3-remapping") we're now masking off all interrupts
when init_render_ring() gets called. That's rather rude. Let's limit
the ring IMR frobbing to machines that actually have the per-ring IMR
registers.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 61ff75ac20ff ("drm/i915: Simplify enabling user-interrupts with L3-remapping")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1468340687-3596-1-git-send-email-ville.syrjala@linux.intel.com
Reviewd-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c