android_kernel_xiaomi_sm8350/drivers/gpu/drm/i915
Keith Packard 7c46358642 drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR.
The pipestat fields affect reporting of all vblank-related interrupts, so we
have to reset them during the irq_handler, and while enabling vblank
interrupts.  Otherwise, if a pipe status field had been set to non-zero
before enabling reporting, we would never see an interrupt again.

This patch adds i915_enable_pipestat and i915_disable_pipestat to abstract
out the steps needed to change the reported interrupts.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-11-25 09:27:24 +10:00
..
i915_dma.c drm/i915: Move legacy breadcrumb out of the reserved status page area 2008-11-11 18:03:28 +10:00
i915_drv.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_drv.h drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. 2008-11-25 09:27:24 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c i915: Don't dereference HWS in /proc debug files when it isn't initialized. 2008-10-23 13:42:27 +10:00
i915_gem_tiling.c i915: GM45 has GM965-style MCH setup. 2008-10-18 07:10:53 +10:00
i915_gem.c i915: Don't attempt to short-circuit object_wait_rendering by checking domains. 2008-11-11 17:43:26 +10:00
i915_ioc32.c
i915_irq.c drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. 2008-11-25 09:27:24 +10:00
i915_mem.c
i915_opregion.c drm/i915: Manage PIPESTAT to control vblank interrupts instead of IMR. 2008-11-25 09:27:24 +10:00
i915_reg.h i915: Save/restore MCHBAR_RENDER_STANDBY on GM965/GM45 2008-11-11 17:42:19 +10:00
i915_suspend.c i915: Save/restore MCHBAR_RENDER_STANDBY on GM965/GM45 2008-11-11 17:42:19 +10:00
Makefile build fix: CONFIG_DRM_I915=y && CONFIG_ACPI=n 2008-10-28 07:46:06 +10:00