linux/drivers/gpu/drm/i915
Linus Torvalds dd4e5d6106 Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb())
Remove mmiowb() from the kernel memory barrier API and instead, for
 architectures that need it, hide the barrier inside spin_unlock() when
 MMIO has been performed inside the critical section.
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEPxTL6PPUbjXGY88ct6xw3ITBYzQFAlzMFaUACgkQt6xw3ITB
 YzRICQgAiv7wF/yIbBhDOmCNCAKDO59chvFQWxXWdGk/aAB56kwKAMXJgLOvlMG/
 VRuuLyParTFQETC3jaxKgnO/1hb+PZLDt2Q2KqixtjIzBypKUPWvK2sf6THhSRF1
 GK0DBVUd1rCrWrR815+SPb8el4xXtdBzvAVB+Fx35PXVNpdRdqCkK+EQ6UnXGokm
 rXXHbnfsnquBDtmb4CR4r2beH+aNElXbdt0Kj8VcE5J7f7jTdW3z6Q9WFRvdKmK7
 yrsxXXB2w/EsWXOwFp0SLTV5+fgeGgTvv8uLjDw+SG6t0E0PebxjNAflT7dPrbYL
 WecjKC9WqBxrGY+4ew6YJP70ijLBCw==
 =aC8m
 -----END PGP SIGNATURE-----

Merge tag 'arm64-mmiowb' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull mmiowb removal from Will Deacon:
 "Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb())

  Remove mmiowb() from the kernel memory barrier API and instead, for
  architectures that need it, hide the barrier inside spin_unlock() when
  MMIO has been performed inside the critical section.

  The only relatively recent changes have been addressing review
  comments on the documentation, which is in a much better shape thanks
  to the efforts of Ben and Ingo.

  I was initially planning to split this into two pull requests so that
  you could run the coccinelle script yourself, however it's been plain
  sailing in linux-next so I've just included the whole lot here to keep
  things simple"

* tag 'arm64-mmiowb' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (23 commits)
  docs/memory-barriers.txt: Update I/O section to be clearer about CPU vs thread
  docs/memory-barriers.txt: Fix style, spacing and grammar in I/O section
  arch: Remove dummy mmiowb() definitions from arch code
  net/ethernet/silan/sc92031: Remove stale comment about mmiowb()
  i40iw: Redefine i40iw_mmiowb() to do nothing
  scsi/qla1280: Remove stale comment about mmiowb()
  drivers: Remove explicit invocations of mmiowb()
  drivers: Remove useless trailing comments from mmiowb() invocations
  Documentation: Kill all references to mmiowb()
  riscv/mmiowb: Hook up mmwiob() implementation to asm-generic code
  powerpc/mmiowb: Hook up mmwiob() implementation to asm-generic code
  ia64/mmiowb: Add unconditional mmiowb() to arch_spin_unlock()
  mips/mmiowb: Add unconditional mmiowb() to arch_spin_unlock()
  sh/mmiowb: Add unconditional mmiowb() to arch_spin_unlock()
  m68k/io: Remove useless definition of mmiowb()
  nds32/io: Remove useless definition of mmiowb()
  x86/io: Remove useless definition of mmiowb()
  arm64/io: Remove useless definition of mmiowb()
  ARM/io: Remove useless definition of mmiowb()
  mmiowb: Hook up mmiowb helpers to spinlocks and generic I/O accessors
  ...
2019-05-06 16:57:52 -07:00
..
gvt drm/i915/gvt: Roundup fb->height into tile's height at calucation fb->size 2019-04-11 11:09:53 +08:00
selftests drm/i915/selftests: Fix an IS_ERR() vs NULL check 2019-03-27 10:10:32 +02:00
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
dvo.h drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_active_types.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_active.c drm/i915: Protect i915_active iterators from the shrinker 2019-03-08 09:52:29 -08:00
i915_active.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_cmd_parser.c drm/i915: replace IS_GEN<N> with IS_GEN(..., N) 2018-12-12 16:52:10 -08:00
i915_debugfs.c drm/i915: Always backoff after a drm_modeset_lock() deadlock 2019-04-01 10:22:31 -07:00
i915_drv.c drm: move i915_kick_out_vgacon to vgaarb 2019-03-07 10:34:37 +01:00
i915_drv.h drm/i915: Mark AML 0x87CA as ULX 2019-03-26 10:44:55 +02:00
i915_fixed.h drm/i915/fixed: cosmetic cleanup 2018-11-20 12:49:24 +02:00
i915_gem_batch_pool.c
i915_gem_batch_pool.h
i915_gem_clflush.c
i915_gem_clflush.h
i915_gem_context.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_gem_context.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_gem_dmabuf.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_gem_evict.c drm/i915: Pull VM lists under the VM mutex. 2019-01-28 16:24:13 +00:00
i915_gem_execbuffer.c i915, uaccess: Fix redundant CLAC 2019-04-03 09:36:28 +02:00
i915_gem_fence_reg.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_gem_fence_reg.h drm/i915: Remove GPU reset dependence on struct_mutex 2019-01-25 14:27:22 +00:00
i915_gem_gtt.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_gem_gtt.h drm/i915: Enlarge vma->pin_count 2019-01-28 19:07:01 +00:00
i915_gem_internal.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_gem_object.c
i915_gem_object.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_gem_render_state.c
i915_gem_render_state.h
i915_gem_shrinker.c drm/i915: Pull VM lists under the VM mutex. 2019-01-28 16:24:13 +00:00
i915_gem_stolen.c drm/i915: Pull VM lists under the VM mutex. 2019-01-28 16:24:13 +00:00
i915_gem_tiling.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_gem_userptr.c drm/i915/userptr: Fix error handling of mutex_lock_killable() 2019-01-16 08:31:41 +00:00
i915_gem.c drm/i915: Sanity check mmap length against object size 2019-03-18 13:59:42 -07:00
i915_gem.h
i915_gemfs.c
i915_gemfs.h
i915_gpu_error.c drm/i915: Fix off-by-one in reporting hanging process 2019-03-18 13:59:30 -07:00
i915_gpu_error.h drm/i915: Drop fake breadcrumb irq 2019-01-29 21:45:30 +00:00
i915_ioc32.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
i915_irq.c - Make background color and LUT more robust (Matt) 2019-02-04 15:37:58 +10:00
i915_memcpy.c
i915_mm.c
i915_oa_bdw.c
i915_oa_bdw.h
i915_oa_bxt.c
i915_oa_bxt.h
i915_oa_cflgt2.c
i915_oa_cflgt2.h
i915_oa_cflgt3.c
i915_oa_cflgt3.h
i915_oa_chv.c
i915_oa_chv.h
i915_oa_cnl.c
i915_oa_cnl.h
i915_oa_glk.c
i915_oa_glk.h
i915_oa_hsw.c
i915_oa_hsw.h
i915_oa_icl.c
i915_oa_icl.h
i915_oa_kblgt2.c
i915_oa_kblgt2.h
i915_oa_kblgt3.c
i915_oa_kblgt3.h
i915_oa_sklgt2.c
i915_oa_sklgt2.h
i915_oa_sklgt3.c
i915_oa_sklgt3.h
i915_oa_sklgt4.c
i915_oa_sklgt4.h
i915_params.c drm/i915: Enable fastboot by default on Skylake and newer 2019-01-29 10:41:58 +01:00
i915_params.h drm/i915: Enable fastboot by default on Skylake and newer 2019-01-29 10:41:58 +01:00
i915_pci.c UAPI Changes: 2019-02-11 13:41:59 +10:00
i915_perf.c drm/i915/perf: lock powergating configuration to default when active 2019-02-05 11:31:52 +00:00
i915_pmu.c drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
i915_pmu.h Merge back earlier PM core material for v5.1. 2019-02-24 21:20:27 +01:00
i915_pvinfo.h
i915_query.c Merge drm/drm-next into drm-intel-next-queued 2019-01-08 10:50:22 +02:00
i915_query.h
i915_reg.h drm/i915/icl: Fix VEBOX mismatch BUG_ON() 2019-03-28 15:36:40 +02:00
i915_request.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_request.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_reset.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_reset.h drm/i915: Remove GPU reset dependence on struct_mutex 2019-01-25 14:27:22 +00:00
i915_scheduler.c drm/i915: Reacquire priolist cache after dropping the engine lock 2019-03-08 09:52:36 -08:00
i915_scheduler.h
i915_selftest.h drm/i915/selftests: Apply a subtest filter 2019-01-29 19:59:57 +00:00
i915_suspend.c drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
i915_sw_fence.c drm-misc-next for 5.1: 2019-01-10 05:58:52 +10:00
i915_sw_fence.h drm/i915: change i915_sw_fence license to MIT 2018-12-04 12:13:48 +00:00
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_timeline.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_timeline.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
i915_trace_points.c
i915_trace.h - Make background color and LUT more robust (Matt) 2019-02-04 15:37:58 +10:00
i915_utils.h mm, compaction: use free lists to quickly locate a migration source 2019-03-05 21:07:16 -08:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c drm: Simplify stacktrace handling 2019-04-29 12:37:53 +02:00
i915_vma.h drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
icl_dsi.c drm/i915/icl: Fix port disable sequence for mipi-dsi 2019-04-10 09:06:35 -07:00
intel_acpi.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
intel_atomic_plane.c Merge drm/drm-next into drm-misc-next 2019-02-11 10:35:35 +01:00
intel_atomic.c Merge drm/drm-next into drm-misc-next 2019-02-11 10:35:35 +01:00
intel_audio.c drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
intel_bios.c drm/i915/bios: assume eDP is present on port A when there is no VBT 2019-03-18 13:59:14 -07:00
intel_bios.h
intel_breadcrumbs.c drm/i915: Acquire breadcrumb ref before cancelling 2019-03-08 09:52:48 -08:00
intel_cdclk.c drm/i915/cdclk: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_color.c drm/i915: Move LUT programming to happen after vblank waits 2019-02-07 21:45:44 +02:00
intel_combo_phy.c drm/i915/icl: reverse uninit order 2018-11-15 16:36:58 -08:00
intel_connector.c - Unwind failure on pinning the gen7 PPGTT (Chris) 2019-01-24 19:44:16 +10:00
intel_crt.c drm-misc-next for 5.1: 2019-02-04 14:42:34 +10:00
intel_csr.c drm/i915/csr: switch to kernel types 2019-01-21 11:09:16 +02:00
intel_ddi.c drm/i915: Restore correct bxt_ddi_phy_calc_lane_lat_optim_mask() calculation 2019-04-15 09:36:42 -07:00
intel_device_info.c drm/i915: Fixup kerneldoc for intel_device_info_runtime_init 2019-01-07 09:56:17 +00:00
intel_device_info.h drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
intel_display.c drm/i915: Get power refs in encoder->get_power_domains() 2019-04-08 21:13:23 -07:00
intel_display.h drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
intel_dp_aux_backlight.c
intel_dp_link_training.c drm/i915/dp: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_dp_mst.c Merge drm/drm-next into drm-misc-next 2019-02-11 10:35:35 +01:00
intel_dp.c drm/i915: Do not enable FEC without DSC 2019-04-15 09:36:38 -07:00
intel_dpio_phy.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_dpll_mgr.c drm/i915: Pick the first unused PLL once again 2019-01-31 09:46:02 +02:00
intel_dpll_mgr.h drm/i915/icl: use tc_port in MG_PLL macros 2019-01-29 14:35:02 -08:00
intel_drv.h drm/i915: Get power refs in encoder->get_power_domains() 2019-04-08 21:13:23 -07:00
intel_dsi_dcs_backlight.c
intel_dsi_vbt.c drm/i915/intel_dsi_vbt: Add support for PMIC MIPI sequences 2019-01-09 10:35:05 +01:00
intel_dsi.c drm/i915: Determine DSI panel orientation from VBT 2018-11-13 17:20:32 +02:00
intel_dsi.h drm/i915/dsi: Fix pipe_bpp for handling for 6 bpc pixel-formats 2019-01-21 10:45:23 +01:00
intel_dvo.c - Unwind failure on pinning the gen7 PPGTT (Chris) 2019-01-24 19:44:16 +10:00
intel_engine_cs.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
intel_fbc.c drm-misc-next for 5.1: 2019-02-04 14:42:34 +10:00
intel_fbdev.c Revert "drm/i915/fbdev: Actually configure untiled displays" 2019-04-24 10:47:56 +10:00
intel_fifo_underrun.c drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
intel_frontbuffer.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
intel_frontbuffer.h
intel_gpu_commands.h drm/i915: Compute the HWS offsets explicitly 2019-01-25 12:53:15 +00:00
intel_guc_ads.c
intel_guc_ads.h
intel_guc_ct.c
intel_guc_ct.h
intel_guc_fw.c drm/i915: Downgrade scare message for unknown HuC firmware 2019-01-08 22:41:09 +00:00
intel_guc_fw.h
intel_guc_fwif.h
intel_guc_log.c drm/i915: do not return invalid pointers as a *dentry 2019-02-05 09:45:28 -08:00
intel_guc_log.h
intel_guc_reg.h
intel_guc_submission.c drm/i915/execlists: Suppress preempting self 2019-01-29 20:00:05 +00:00
intel_guc_submission.h
intel_guc.c
intel_guc.h drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
intel_gvt.c drm/i915: Enable gfx virtualization for Coffeelake platform 2019-01-10 11:38:34 +08:00
intel_gvt.h
intel_hangcheck.c drm/i915: Drop fake breadcrumb irq 2019-01-29 21:45:30 +00:00
intel_hdcp.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_hdmi.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
intel_hotplug.c drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
intel_huc_fw.c drm/i915: Downgrade scare message for unknown HuC firmware 2019-01-08 22:41:09 +00:00
intel_huc_fw.h
intel_huc.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
intel_huc.h
intel_i2c.c drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
intel_lpe_audio.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
intel_lrc_reg.h
intel_lrc.c drm/i915: Expose RPCS (SSEU) configuration to userspace (Gen11 only) 2019-02-05 11:32:03 +00:00
intel_lrc.h drm/i915/perf: lock powergating configuration to default when active 2019-02-05 11:31:52 +00:00
intel_lspcon.c Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08:00
intel_lvds.c drm/i915/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01:00
intel_mocs.c drm/i915/icl: Define MOCS table for Icelake 2019-01-24 19:34:34 -08:00
intel_mocs.h drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
intel_opregion.c Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
intel_opregion.h drm/i915: Fixup stub definitions for intel_opregion_suspend|resume 2018-11-30 09:46:31 +00:00
intel_overlay.c UAPI Changes: 2019-02-11 13:41:59 +10:00
intel_panel.c drm/i915/backlight: Fix backlight takeover on LPT, v3. 2019-01-24 13:02:48 +01:00
intel_pipe_crc.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_pm.c Merge drm/drm-next into drm-misc-next 2019-02-11 10:35:35 +01:00
intel_psr.c drm/i915/psr: Allow PSR2 to be enabled when debugfs asks 2019-01-22 16:33:10 -08:00
intel_quirks.c
intel_renderstate_gen6.c
intel_renderstate_gen7.c
intel_renderstate_gen8.c
intel_renderstate_gen9.c
intel_renderstate.h
intel_ringbuffer.c drm/i915: Hack and slash, throttle execbuffer hogs 2019-02-07 16:13:21 +00:00
intel_ringbuffer.h drm/i915/pmu: Fix enable count array size and bounds checking 2019-02-12 15:37:24 +02:00
intel_runtime_pm.c drm: Simplify stacktrace handling 2019-04-29 12:37:53 +02:00
intel_sdvo_regs.h
intel_sdvo.c - Unwind failure on pinning the gen7 PPGTT (Chris) 2019-01-24 19:44:16 +10:00
intel_sideband.c
intel_sprite.c drm/i915: Split the gamma/csc enable bits from the plane_ctl() function 2019-02-07 21:34:29 +02:00
intel_tv.c drm/i915/tv: Bypass the vertical filter if possible 2019-01-29 23:27:31 +02:00
intel_uc_fw.c drm/i915: Downgrade scare message for unknown HuC firmware 2019-01-08 22:41:09 +00:00
intel_uc_fw.h
intel_uc.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
intel_uc.h drm/i915/uc: add dev_priv parameter to intel_uc_is_using_* functions 2018-12-31 15:27:23 +02:00
intel_uncore.c drm/i915: Include register polling in reg_rw traces 2019-02-05 20:44:43 +02:00
intel_uncore.h
intel_vbt_defs.h drm/i915/bios: make the aux channel macros private to the vbt parser 2018-11-15 16:22:17 +02:00
intel_vdsc.c drm/i915: Markup paired operations on display power domains 2019-01-14 16:18:30 +00:00
intel_wopcm.c drm/i915/uc: add dev_priv parameter to intel_uc_is_using_* functions 2018-12-31 15:27:23 +02:00
intel_wopcm.h
intel_workarounds.c drm/i915/icl: restore WaEnableFloatBlendOptimization 2019-02-01 08:39:53 +00:00
intel_workarounds.h drm/i915: Introduce per-engine workarounds 2018-12-05 13:50:24 +02:00
Kconfig treewide: surround Kconfig file paths with double quotes 2018-12-22 00:25:54 +09:00
Kconfig.debug drm/i915: Track all held rpm wakerefs 2019-01-14 16:17:50 +00:00
Makefile drm/i915: Generalise GPU activity tracking 2019-02-05 17:12:00 +00:00
vlv_dsi_pll.c drm/i915/dsi: Fix pipe_bpp for handling for 6 bpc pixel-formats 2019-01-21 10:45:23 +01:00
vlv_dsi.c drm/i915: Fix pipe_bpp readout for BXT/GLK DSI 2019-04-08 08:36:28 -07:00