linux_dsm_epyc7002/drivers/gpu/drm/i915
Lucas De Marchi 1878fce8de drm/i915: keep track of used entries in MOCS table
Instead of considering we have defined entries for any index in the
table, let's keep track of the ones we explicitly defined. This will
allow Gen 11 to have it's new table defined in which we have holes of
undefined entries.

Repeated comments about the meaning of undefined entries were removed
since they are overly verbose and copy-pasted in several functions: now
the definition is in the top only.

v2: add helper function to get the index (from Chris)

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190124000604.18861-6-lucas.demarchi@intel.com
2019-01-24 19:34:34 -08:00
..
gvt Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08:00
selftests Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08: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_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/debugfs: Print PSR selective update status register values 2019-01-22 16:33:13 -08:00
i915_drv.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
i915_drv.h drm/i915: Update DRIVER_DATE to 20190124 2019-01-24 15:00:59 -08: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: De-inline intel_context_init() 2019-01-24 09:51:28 +00:00
i915_gem_context.h drm/i915: De-inline intel_context_init() 2019-01-24 09:51:28 +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: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_gem_execbuffer.c drm/i915/gem: Track the rpm wakerefs 2019-01-14 16:18:13 +00:00
i915_gem_fence_reg.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
i915_gem_fence_reg.h
i915_gem_gtt.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
i915_gem_gtt.h drm/i915: Differentiate between ggtt->mutex and ppgtt->mutex 2019-01-14 22:57:28 +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/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start 2019-01-15 17:07:23 +00:00
i915_gem_render_state.c
i915_gem_render_state.h
i915_gem_shrinker.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_gem_stolen.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02: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: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
i915_gem.h
i915_gemfs.c
i915_gemfs.h
i915_gpu_error.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
i915_gpu_error.h drm/i915: Serialise concurrent calls to i915_gem_set_wedged() 2019-01-16 15:24:16 +00:00
i915_ioc32.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_irq.c drm/i915/icl: do a posting read after irq install 2019-01-23 13:56:32 +02: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/params: set i915.enable_hangcheck permissions to 0600 2018-12-31 15:27:41 +02:00
i915_params.h drm/i915/params: document I915_PARAMS_FOR_EACH() 2018-12-31 17:13:35 +02:00
i915_pci.c drm/i915: Always try to reset the GPU on takeover 2019-01-03 12:40:42 +00:00
i915_perf.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
i915_pmu.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_pmu.h
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: Add PSR2 selective update status registers and bits definitions 2019-01-22 16:33:12 -08:00
i915_request.c Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08:00
i915_request.h drm/i915: Tidy common test_bit probing of i915_request->fence.flags 2019-01-22 13:13:53 +00:00
i915_reset.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
i915_reset.h drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
i915_scheduler.c
i915_scheduler.h
i915_selftest.h
i915_suspend.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02: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
i915_timeline.h drm/i915: Remove HW semaphores for gen7 inter-engine synchronisation 2018-12-28 14:43:27 +00:00
i915_trace_points.c
i915_trace.h drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
i915_utils.h drm/i915: Make sure fb gtt offsets stay within 32bits 2018-11-29 22:00:49 +02:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c Merge drm/drm-next into drm-intel-next-queued 2018-11-20 13:14:08 +02:00
i915_vma.h
icl_dsi.c drm/i915/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01:00
intel_acpi.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
intel_atomic_plane.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_atomic.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_audio.c drm/i915: Markup paired operations on display power domains 2019-01-14 16:18:30 +00:00
intel_bios.c drm/i915/ddi: Move DDI port detection to the corresponding helper 2019-01-15 16:18:23 +02:00
intel_bios.h
intel_breadcrumbs.c drm/i915: Tidy common test_bit probing of i915_request->fence.flags 2019-01-22 13:13:53 +00:00
intel_cdclk.c drm/i915/cdclk: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_color.c drm/i915: Validate userspace-provided color management LUT's (v4) 2019-01-23 16:31:27 -08:00
intel_combo_phy.c drm/i915/icl: reverse uninit order 2018-11-15 16:36:58 -08:00
intel_connector.c Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08:00
intel_crt.c drm/i915/crt: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_csr.c drm/i915/csr: switch to kernel types 2019-01-21 11:09:16 +02:00
intel_ddi.c drm/i915/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01: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: Always try to reset the GPU on takeover 2019-01-03 12:40:42 +00:00
intel_display.c drm/i915: Make HW readout mark CRTC scaler as in use. 2019-01-24 13:06:24 +01:00
intel_display.h drm/i915: start moving runtime device info to a separate struct 2019-01-02 12:46:29 +02: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-intel-next-queued 2019-01-22 14:51:36 -08:00
intel_dp.c drm/i915/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01: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/dpll_mgr: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_dpll_mgr.h drm/i915/dpll_mgr: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_drv.h drm/i915/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01: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 drm/i915: Pass down rc in intel_encoder->compute_config() 2019-01-16 12:49:58 +02:00
intel_engine_cs.c Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08:00
intel_fbc.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_fbdev.c drm/i915/fb: Track rpm wakerefs 2019-01-14 16:18:16 +00:00
intel_fifo_underrun.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02: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
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: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
intel_guc_log.h
intel_guc_reg.h
intel_guc_submission.c drm/i915/execlists: Pull the render flush into breadcrumb emission 2018-12-28 16:36:55 +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: Show all active engines on hangcheck 2019-01-22 13:30:51 +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 Merge drm/drm-next into drm-intel-next-queued 2019-01-22 14:51:36 -08:00
intel_hotplug.c drm/i915/hotplug: Track temporary rpm wakeref 2019-01-14 16:18:18 +00: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: Markup paired operations on display power domains 2019-01-14 16:18:30 +00:00
intel_lpe_audio.c drm/i915: Don't oops during modeset shutdown after lpe audio deinit 2018-11-06 17:18:01 +02:00
intel_lrc_reg.h
intel_lrc.c drm/i915/execlists: Mark up priority boost on preemption 2019-01-23 14:25:58 +00:00
intel_lrc.h drm/i915: Move intel_execlists_show_requests() aside 2019-01-15 22:38:20 +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: keep track of used entries in MOCS table 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 drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02: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 drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02: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 drm/i915: Tidy common test_bit probing of i915_request->fence.flags 2019-01-22 13:13:53 +00: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: Tidy common test_bit probing of i915_request->fence.flags 2019-01-22 13:13:53 +00:00
intel_ringbuffer.h drm/i915: Use b->irq_enable() as predicate for mock engine 2019-01-18 12:05:29 +00:00
intel_runtime_pm.c drm/i915: small isolated c99 types to kernel types switch 2019-01-17 09:02:00 +02:00
intel_sdvo_regs.h
intel_sdvo.c drm/i915/sdvo: switch to kernel types 2019-01-23 10:02:43 +02:00
intel_sideband.c
intel_sprite.c drm/i915/sprite: switch to kernel types 2019-01-17 09:02:06 +02:00
intel_tv.c drm/i915: Pass down rc in intel_encoder->compute_config() 2019-01-16 12:49:58 +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: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00: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/selftests: recreate WA lists inside the selftest 2019-01-10 09:15:18 +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 Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued 2019-01-24 14:50:04 -08: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/backlight: Restore backlight on resume, v3. 2019-01-24 13:02:08 +01:00