linux/drivers/gpu/drm/i915
Imre Deak 14544e1349 drm/i915/gen9: Fix clearing of the BIOS power well request register
Atm, in the power well sync_hw hook we are clearing all BIOS request
bits, not just the one corresponding to the given power well. This could
turn off an unrelated power well inadvertently if it didn't have a
request bit set in the driver request register.

This didn't cause a problem so far, since we enabled all power wells
explicitly before clearing the BIOS request register. A follow-up
patchset will add power wells that won't get enabled this way, so fix up
the inconsistency.

Note that this patch only makes the clearing of the BIOS req register
more logical. Power wells without a reference would still get disabled
by the end of power domain initialization, that is fixed by the next
patch.

v2:
- Clarify in the commit log that this patch doesn't address the case of
  power wells without a reference. (Ander)

Cc: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Cc: David Weinehall <david.weinehall@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487345986-26511-4-git-send-email-imre.deak@intel.com
2017-02-20 14:53:08 +02:00
..
gvt drm/i915: Emit to ringbuffer directly 2017-02-14 14:30:46 +00:00
selftests drm/i915: Convert clflushed pagetables over to WC maps 2017-02-15 10:07:18 +00:00
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
dvo.h
i915_cmd_parser.c drm/i915: Consolidate checks for memcpy-from-wc support 2017-01-06 16:02:07 +00:00
i915_debugfs.c drm/i915: Prevent divide-by-zero in debugfs/i915_rps_boost_info 2017-02-20 11:03:30 +00:00
i915_drv.c drm/i915: Fix typo in semaphore debug message 2017-02-20 11:24:58 +00:00
i915_drv.h drm/i915: Call the sync_hw hook for power wells without a domain 2017-02-20 14:51:12 +02:00
i915_gem_batch_pool.c
i915_gem_batch_pool.h
i915_gem_context.c drm/i915: Fix uninitialized return from mi_set_context 2017-02-14 19:34:54 +00:00
i915_gem_context.h drm/i915: Simplify testing for am-I-the-kernel-context? 2017-01-06 16:02:12 +00:00
i915_gem_dmabuf.c drm/i915: Add some mock tests for dmabuf interop 2017-02-13 20:45:50 +00:00
i915_gem_evict.c drm/i915: Remove i915_address_space.start 2017-02-15 10:07:32 +00:00
i915_gem_execbuffer.c drm/i915: Emit to ringbuffer directly 2017-02-14 14:30:46 +00:00
i915_gem_fence_reg.c drm/i915: Replace 4096 with PAGE_SIZE or I915_GTT_PAGE_SIZE 2017-01-10 20:54:32 +00:00
i915_gem_fence_reg.h drm/i915: Replace 4096 with PAGE_SIZE or I915_GTT_PAGE_SIZE 2017-01-10 20:54:32 +00:00
i915_gem_gtt.c drm/i915: Only apply legacy PDE overflow detection to 3lvl machines 2017-02-20 09:42:59 +00:00
i915_gem_gtt.h drm/i915: Use preferred kernel types in i915_gem_gtt.c 2017-02-15 10:07:35 +00:00
i915_gem_internal.c drm/i915: Recreate internal objects with single page segments if dmar fails 2017-02-03 09:55:58 +00:00
i915_gem_object.h drm/i915: Remove struct_mutex for destroying framebuffers 2017-02-16 20:31:13 +00:00
i915_gem_render_state.c drm/i915: Remove i915_vma_create from VMA API 2017-01-19 10:17:39 +00:00
i915_gem_render_state.h
i915_gem_request.c drm/i915: Break i915_spin_request() if we see an interrupt 2017-02-17 15:31:14 +00:00
i915_gem_request.h drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff 2017-01-03 11:41:17 +02:00
i915_gem_shrinker.c drm/i915: Remove struct_mutex for destroying framebuffers 2017-02-16 20:31:13 +00:00
i915_gem_stolen.c drm/i915/gvt: Disable access to stolen memory as a guest 2017-02-14 09:28:34 +00:00
i915_gem_tiling.c drm/i915: Remove struct_mutex for destroying framebuffers 2017-02-16 20:31:13 +00:00
i915_gem_timeline.c drm/i915: Assert all timeline requests are gone before fini 2017-01-05 15:34:40 +00:00
i915_gem_timeline.h
i915_gem_userptr.c Linux 4.10-rc2 2017-01-04 11:35:18 +01:00
i915_gem.c drm/i915: Remove completed fences after a wait 2017-02-17 15:31:15 +00:00
i915_gem.h drm/i915: Rename conditional GEM execution macros 2017-02-10 21:43:43 +00:00
i915_gpu_error.c drm/i915: The return of i915_gpu_info to debugfs 2017-02-14 22:30:22 +00:00
i915_guc_reg.h drm/i915/huc: Add HuC fw loading support 2017-01-19 11:18:55 +02:00
i915_guc_submission.c drm/i915: Remove i915_vma_create from VMA API 2017-01-19 10:17:39 +00:00
i915_ioc32.c
i915_irq.c drm/i915: Postpone fake breadcrumb interrupt until real interrupts cease 2017-02-17 15:30:50 +00:00
i915_memcpy.c
i915_mm.c
i915_oa_hsw.c
i915_oa_hsw.h
i915_params.c drm/i915: Enable atomic support by default on supported platforms. 2017-02-09 15:56:45 +01:00
i915_params.h drm/i915: Use bool i915_param.alpha_support 2017-02-06 22:37:33 +00:00
i915_pci.c drm/i915: Provide a hook for selftests 2017-02-13 20:45:21 +00:00
i915_perf.c
i915_pvinfo.h
i915_reg.h drm/i915: Use the size/type of address space to make decisions 2017-02-09 17:09:27 +00:00
i915_selftest.h drm/i915: Use fault-injection to force the shrinker to run in live GTT tests 2017-02-13 20:46:32 +00:00
i915_suspend.c
i915_sw_fence.c drm/i915: Flush the change in debugobject before reallocation 2017-01-16 12:21:19 +00:00
i915_sw_fence.h
i915_sysfs.c drm/i915: The return of i915_gpu_info to debugfs 2017-02-14 22:30:22 +00:00
i915_trace_points.c
i915_trace.h drm/i915: Remove defunct GTT tracepoints 2017-02-15 10:07:30 +00:00
i915_utils.h drm/i915: Sanity check the computed size and base of stolen memory 2017-01-31 11:19:23 +00:00
i915_vgpu.c drm/i915: Remove i915_address_space.start 2017-02-15 10:07:32 +00:00
i915_vgpu.h
i915_vma.c drm/i915: Move allocate_va_range to GTT 2017-02-15 10:07:21 +00:00
i915_vma.h drm/i915: Exercise i915_vma_pin/i915_vma_insert 2017-02-13 20:46:41 +00:00
intel_acpi.c
intel_atomic_plane.c drm/i915: Track pinned vma in intel_plane_state 2017-01-19 10:14:09 +00:00
intel_atomic.c drm/i915: Move intel_atomic_get_shared_dpll_state() to intel_dpll_mgr.c 2017-01-02 11:31:53 +02:00
intel_audio.c drm/i915: Start moving the cdclk stuff into a distinct state structure 2017-02-08 18:07:10 +02:00
intel_bios.c drm/i915: Use range_overflows() 2017-01-06 16:02:11 +00:00
intel_bios.h drm/i915/dsi: Fix swapping of MIPI_SEQ_DEASSERT_RESET / MIPI_SEQ_ASSERT_RESET 2016-12-20 16:28:25 +02:00
intel_breadcrumbs.c drm/i915: Only start with the fake-irq timer if interrupts are dead 2017-02-17 15:31:14 +00:00
intel_cdclk.c drm/i915: Replace the .modeset_commit_cdclk() hook with a more direct .set_cdclk() hook 2017-02-08 18:07:11 +02:00
intel_color.c drm/i915/glk: Load the degamma LUT even in legacy gamma mode 2017-02-17 17:14:28 +02:00
intel_crt.c drm/i915: Don't leak edid in intel_crt_detect_ddc() 2017-01-23 10:26:18 +02:00
intel_csr.c drm/i915: DMC 1.03 for Geminilake 2017-02-20 10:35:03 +02:00
intel_ddi.c drm/i915: Remove unused function intel_ddi_get_link_dpll() 2017-02-10 11:40:27 +02:00
intel_device_info.c drm/i915/bxt: remove snooping workaround on old A revisions 2017-02-16 11:28:05 +02:00
intel_display.c drm/i915/glk: Enable pipe CSC 2017-02-17 17:15:01 +02:00
intel_dp_aux_backlight.c
intel_dp_link_training.c
intel_dp_mst.c drm/i915: Fix POWER_DOMAIN_AUDIO refcounting. 2017-02-01 22:05:07 +01:00
intel_dp.c drm/i915/dp: Reset the link params on HPD/connected boot/resume 2017-02-15 17:24:10 +02:00
intel_dpio_phy.c
intel_dpll_mgr.c drm/i915: Remove unused function intel_ddi_get_link_dpll() 2017-02-10 11:40:27 +02:00
intel_dpll_mgr.h drm/i915: Remove unused function intel_ddi_get_link_dpll() 2017-02-10 11:40:27 +02:00
intel_drv.h drm/i915: struct_mutex is not required for allocating the framebuffer 2017-02-16 20:31:13 +00:00
intel_dsi_dcs_backlight.c
intel_dsi_panel_vbt.c drm/i915: Dump more configuration information for DSI 2017-02-14 22:29:28 +02:00
intel_dsi_pll.c drm/i915: Fix PLL 8x/3 divider for MIPI video mode 2017-02-15 17:32:57 +02:00
intel_dsi.c drm/i915/bxt: Disable device ready before shutdown command 2017-02-16 17:22:09 +02:00
intel_dsi.h
intel_dvo.c
intel_engine_cs.c drm/i915: Move common workaround code to intel_engine_cs 2017-02-17 11:39:59 +00:00
intel_fbc.c drm/i915: Start moving the cdclk stuff into a distinct state structure 2017-02-08 18:07:10 +02:00
intel_fbdev.c drm/i915: Drop struct_mutex around frontbuffer flushes 2017-02-16 20:31:13 +00:00
intel_fifo_underrun.c
intel_frontbuffer.c
intel_frontbuffer.h
intel_guc_fwif.h drm/i915/huc: Support HuC authentication 2017-01-19 11:19:07 +02:00
intel_guc_loader.c drm/i915/guc: Don't take struct_mutex for object unreference 2017-02-14 22:30:22 +00:00
intel_guc_log.c drm/i915/guc: Move GuC log related functions into dedicated file 2017-01-18 07:29:04 +00:00
intel_gvt.c
intel_gvt.h
intel_hangcheck.c drm/i915: Add initial selftests for hang detection and resets 2017-02-13 20:46:53 +00:00
intel_hdmi.c drm/i915: Remove WA for swapped HPD pins in broxton A stepping 2017-02-09 10:20:00 +02:00
intel_hotplug.c drm/i915: Only enable hotplug interrupts if the display interrupts are enabled 2017-02-16 09:56:43 +00:00
intel_huc.c drm/i915/guc: Don't take struct_mutex for object unreference 2017-02-14 22:30:22 +00:00
intel_i2c.c drm/i915: Introduce IS_GEN9_BC for Skylake and Kabylake. 2017-01-24 10:29:00 -08:00
intel_lrc.c drm/i915: Consolidate gen8_emit_pipe_control 2017-02-17 11:39:59 +00:00
intel_lrc.h drm/i915: Split intel_engine allocation and initialisation 2017-01-24 12:29:47 +00:00
intel_lspcon.c drm/i915/lspcon: Remove DPCD compare based resume time workaround 2017-02-06 16:33:33 +02:00
intel_lvds.c
intel_mocs.c drm/i915: Emit to ringbuffer directly 2017-02-14 14:30:46 +00:00
intel_mocs.h
intel_modes.c
intel_opregion.c drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT 2017-02-15 11:29:04 +02:00
intel_overlay.c drm/i915: Emit to ringbuffer directly 2017-02-14 14:30:46 +00:00
intel_panel.c drm/i915: Start moving the cdclk stuff into a distinct state structure 2017-02-08 18:07:10 +02:00
intel_pipe_crc.c drm/i915: Avoid drm_atomic_state_put(NULL) on error paths 2017-01-18 13:47:22 +00:00
intel_pm.c drm/i915: Remove unrequired POSTING_READ from gen6_set_rps() 2017-02-20 12:40:48 +00:00
intel_psr.c drm/i915/psr: Fix compiler warnings for hsw_psr_disable() 2017-01-18 10:25:01 +00:00
intel_renderstate_gen6.c
intel_renderstate_gen7.c
intel_renderstate_gen8.c
intel_renderstate_gen9.c
intel_renderstate.h
intel_ringbuffer.c drm/i915: Consolidate gen8_emit_pipe_control 2017-02-17 11:39:59 +00:00
intel_ringbuffer.h drm/i915: Postpone fake breadcrumb interrupt until real interrupts cease 2017-02-17 15:30:50 +00:00
intel_runtime_pm.c drm/i915/gen9: Fix clearing of the BIOS power well request register 2017-02-20 14:53:08 +02:00
intel_sdvo_regs.h
intel_sdvo.c
intel_sideband.c drm/i915: Also clear the punit's PDATA sideband register 2017-01-26 17:10:36 +00:00
intel_sprite.c drm/i915/glk: Enable pipe CSC 2017-02-17 17:15:01 +02:00
intel_tv.c
intel_uc.c drm/i915/guc: Move GuC log related functions into dedicated file 2017-01-18 07:29:04 +00:00
intel_uc.h drm/i915/huc: Support HuC authentication 2017-01-19 11:19:07 +02:00
intel_uncore.c drm/i915: Move uncore selfchecks to live selftest infrastructure 2017-02-13 20:45:47 +00:00
intel_vbt_defs.h drm/915: Parsing the missed out DTD fields from the VBT 2016-12-23 15:13:39 +02:00
Kconfig drm/i915: Support explicit fencing for execbuf 2017-01-27 19:55:48 +00:00
Kconfig.debug drm/i915: Use fault-injection to force the shrinker to run in live GTT tests 2017-02-13 20:46:32 +00:00
Makefile drm/i915: Provide a hook for selftests 2017-02-13 20:45:21 +00:00