linux_dsm_epyc7002/drivers/gpu/drm/i915
Daniele Ceraolo Spurio f6ac993fb0 drm/i915: move the edram detection out of uncore init
edram is not part of uncore and there is no requirement for the
detection to be done before we initialize the uncore functions. The
first check on HAS_EDRAM is in the ggtt_init path, so move it to
i915_driver_init_hw, where other dram-related detection happens.

While at it, save the size in MB instead of the capabilities because the
size is the only thing we look at outside of the init function.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190328174533.31532-1-daniele.ceraolospurio@intel.com
2019-03-29 11:18:41 +00:00
..
gvt drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
selftests drm/i915: switch intel_uncore_forcewake_for_reg to intel_uncore 2019-03-26 20:16:31 +00: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: Remove has-kernel-context 2019-03-08 10:57:12 +00:00
i915_cmd_parser.c drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
i915_debugfs.c drm/i915: move the edram detection out of uncore init 2019-03-29 11:18:41 +00:00
i915_drv.c drm/i915: move the edram detection out of uncore init 2019-03-29 11:18:41 +00:00
i915_drv.h drm/i915: move the edram detection out of uncore init 2019-03-29 11:18:41 +00:00
i915_fixed.h
i915_gem_batch_pool.c
i915_gem_batch_pool.h
i915_gem_clflush.c
i915_gem_clflush.h
i915_gem_context_types.h drm/i915: Allow contexts to share a single timeline across all engines 2019-03-22 13:12:38 +00:00
i915_gem_context.c drm/i915: Drop new chunks of context creation ABI (for now) 2019-03-27 15:13:28 +00:00
i915_gem_context.h drm/i915: Create/destroy VM (ppGTT) for use with contexts 2019-03-22 13:12:32 +00:00
i915_gem_dmabuf.c drm/i915: Flush pages on acquisition 2019-03-21 17:28:12 +00:00
i915_gem_evict.c drm/i915: Remove has-kernel-context 2019-03-08 10:57:12 +00:00
i915_gem_execbuffer.c drm/i915: Flush pages on acquisition 2019-03-21 17:28:12 +00:00
i915_gem_fence_reg.c drm/i915: Switch to bitmap_zalloc() 2019-03-20 17:50:35 +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: Create/destroy VM (ppGTT) for use with contexts 2019-03-22 13:12:32 +00:00
i915_gem_gtt.h drm/i915: Create/destroy VM (ppGTT) for use with contexts 2019-03-22 13:12:32 +00:00
i915_gem_internal.c drm/i915: Make object/vma allocation caches global 2019-02-28 11:08:02 +00:00
i915_gem_object.c drm/i915: Use i915_global_register() 2019-03-06 10:00:50 +00:00
i915_gem_object.h drm/i915: Use i915_global_register() 2019-03-06 10:00:50 +00:00
i915_gem_render_state.c drm/i915: Flush pages on acquisition 2019-03-21 17:28:12 +00:00
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: Make object/vma allocation caches global 2019-02-28 11:08:02 +00:00
i915_gem_tiling.c drm/i915: Switch to bitmap_zalloc() 2019-03-20 17:50:35 +00:00
i915_gem_userptr.c drm/i915: Make object/vma allocation caches global 2019-02-28 11:08:02 +00:00
i915_gem.c drm/i915: Update size upon return from GEM_CREATE 2019-03-26 20:24:44 +00:00
i915_gem.h drm/i915: Always kick the execlists tasklet after reset 2019-03-15 10:58:23 +00:00
i915_gemfs.c
i915_gemfs.h
i915_globals.c drm/i915: Move over to intel_context_lookup() 2019-03-08 13:59:52 +00:00
i915_globals.h drm/i915: Move over to intel_context_lookup() 2019-03-08 13:59:52 +00:00
i915_gpu_error.c drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
i915_gpu_error.h drm/i915: Stop storing ctx->user_handle 2019-03-21 15:59:29 +00:00
i915_ioc32.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
i915_irq.c drm/i915: Use vblank_disable_immediate on gen2 2019-03-25 08:40:20 +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: 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 drm/i915/ehl: Add ElkhartLake platform 2019-03-22 12:51:08 -07:00
i915_perf.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
i915_pmu.c Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02:00
i915_pmu.h Merge back earlier PM core material for v5.1. 2019-02-24 21:20:27 +01:00
i915_pvinfo.h drm/i915: Mark up vGPU support for full-ppgtt 2019-03-15 09:04:54 +00:00
i915_query.c drm/i915/query: Split out query item checks 2019-02-26 10:32:57 +00:00
i915_query.h
i915_reg.h drm/i915/icl: Fix VEBOX mismatch BUG_ON() 2019-03-27 09:47:01 +00:00
i915_request.c drm/i915: Allow contexts to share a single timeline across all engines 2019-03-22 13:12:38 +00:00
i915_request.h drm/i915: Allow contexts to share a single timeline across all engines 2019-03-22 13:12:38 +00:00
i915_reset.c drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
i915_reset.h drm/i915: Beware temporary wedging when determining -EIO 2019-02-20 16:31:08 +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 drm/i915: Use i915_global_register() 2019-03-06 10:00:50 +00:00
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/i915: Allow contexts to share a single timeline across all engines 2019-03-22 13:12:38 +00:00
i915_sw_fence.h drm/i915: Allow contexts to share a single timeline across all engines 2019-03-22 13:12:38 +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_types.h drm/i915: Stop storing the context name as the timeline name 2019-03-21 15:59:31 +00:00
i915_timeline.c drm/i915: Stop storing the context name as the timeline name 2019-03-21 15:59:31 +00:00
i915_timeline.h drm/i915: Stop storing the context name as the timeline name 2019-03-21 15:59:31 +00:00
i915_trace_points.c
i915_trace.h drm/i915: Remove i915_request.global_seqno 2019-02-26 09:55:37 +00:00
i915_user_extensions.c drm/i915: Introduce the i915_user_extension_method 2019-03-22 13:12:30 +00:00
i915_user_extensions.h drm/i915: Introduce the i915_user_extension_method 2019-03-22 13:12:30 +00:00
i915_utils.h Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02:00
i915_vgpu.c drm/i915: rename raw reg access functions 2019-03-26 19:15:15 +00:00
i915_vgpu.h drm/i915: Mark up vGPU support for full-ppgtt 2019-03-15 09:04:54 +00:00
i915_vma.c drm/i915: Use i915_global_register() 2019-03-06 10:00:50 +00:00
i915_vma.h drm/i915: Use i915_global_register() 2019-03-06 10:00:50 +00:00
icl_dsi.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_acpi.c drm/i915: drop all drmP.h includes 2019-01-09 10:26:36 +02:00
intel_atomic_plane.c Add support for Y21x and Y41x to drm core and i915, and P01x support to i915. 2019-03-11 13:11:37 +02:00
intel_atomic.c Add support for floating point half-width formats. 2019-03-13 14:08:05 -04: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: iterate over child devices to initialize ddi_port_info 2019-03-25 15:16:33 +02: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: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_color.c drm/i915: Skip the linear degamma LUT load on ICL+ 2019-03-28 21:29:53 +02:00
intel_combo_phy.c
intel_connector.c Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02:00
intel_context_types.h drm/i915: Hold a reference to the active HW context 2019-03-19 08:21:13 +00:00
intel_context.c drm/i915: Hold a reference to the active HW context 2019-03-19 08:21:13 +00:00
intel_context.h drm/i915: Hold a reference to the active HW context 2019-03-19 08:21:13 +00:00
intel_crt.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_csr.c drm/i915/ehl: Add Support for DMC on EHL 2019-03-22 12:51:08 -07:00
intel_ddi.c drm/i915: Update TRANS_MSA_MISC for fastsets 2019-03-27 15:30:57 +02:00
intel_device_info.c drm/i915: Adding missing '; ' to ENGINE_INSTANCES 2019-03-26 21:09:23 +00:00
intel_device_info.h drm/i915: stop storing the media fuse 2019-03-25 21:09:26 +00:00
intel_display.c Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02: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 drm/i915: Add max_bpc property for DP MST 2019-03-27 15:30:37 +02:00
intel_dp.c drm/i915: Remove the 8bpc shackles from DP MST 2019-03-27 15:29:20 +02:00
intel_dpio_phy.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_dpll_mgr.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_dpll_mgr.h drm/i915: Nuke icl_calc_dp_combo_pll_link() 2019-03-19 12:57:55 +02:00
intel_drv.h Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02:00
intel_dsi_dcs_backlight.c
intel_dsi_vbt.c drm/i915: Adjust DSI fixed mode handling 2019-03-22 18:41:39 +02:00
intel_dsi.c
intel_dsi.h drm/i915: Adjust DSI fixed mode handling 2019-03-22 18:41:39 +02: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: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_engine_types.h drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_fbc.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_fbdev.c Linux 5.0 2019-03-04 12:02:55 +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: Use HW semaphores for inter-engine synchronisation on gen8+ 2019-03-01 17:45:07 +00:00
intel_guc_ads.c drm/i915: Track the pinned kernel contexts on each engine 2019-03-08 14:00:02 +00:00
intel_guc_ads.h
intel_guc_ct.c drm/i915/guc: Support for extended GuC notification messages 2019-03-24 11:31:47 +00:00
intel_guc_ct.h drm/i915/guc: Splitting CT channel open/close functions 2019-02-20 23:53:04 +00:00
intel_guc_fw.c drm/i915: use intel_uncore for all forcewake get/put 2019-03-20 21:12:31 +00:00
intel_guc_fw.h
intel_guc_fwif.h
intel_guc_log.c drm/i915/guc: Flush the residual log capture irq on disabling 2019-02-22 11:25:32 +00:00
intel_guc_log.h
intel_guc_reg.h
intel_guc_submission.c drm/i915: Switch to use HWS indices rather than addresses 2019-03-18 20:55:28 +00:00
intel_guc_submission.h
intel_guc.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_guc.h drm/i915/guc: Support for extended GuC notification messages 2019-03-24 11:31:47 +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: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_hdcp.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_hdmi.c Merge drm/drm-next into drm-intel-next-queued 2019-03-27 18:23:53 +02:00
intel_hotplug.c drm/i915: Rename HAS_GMCH 2019-02-05 09:43:23 -08:00
intel_huc_fw.c drm/i915: intel_wait_for_register_fw to uncore 2019-03-26 20:16:45 +00:00
intel_huc_fw.h
intel_huc.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_huc.h
intel_i2c.c drm/i915: intel_wait_for_register_fw to uncore 2019-03-26 20:16:45 +00: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: Disable semaphore on vGPU for now 2019-03-27 15:13:28 +00:00
intel_lrc.h drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_lspcon.c drm/i915: Read out HDMI infoframes 2019-02-26 19:54:48 +02:00
intel_lvds.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_mocs.c drm/i915/gen11+: First assume next platforms will inherit stuff 2019-03-13 13:00:24 -07: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 drm/i915: Store the BIT(engine->id) as the engine's mask 2019-03-05 18:19:50 +00:00
intel_panel.c drm/i915: Clean up EDID downclock mode lookup 2019-03-22 18:41:39 +02:00
intel_pipe_crc.c drm/i915: stick to kernel fixed size types 2019-03-19 09:49:07 +02:00
intel_pm.c drm/i915: intel_wait_for_register_fw to uncore 2019-03-26 20:16:45 +00:00
intel_psr.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00: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: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_ringbuffer.h drm/i915: take a reference to uncore in the engine and use it 2019-03-26 20:20:40 +00:00
intel_runtime_pm.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_sdvo_regs.h
intel_sdvo.c drm/i915/sdvo: Read out HDMI infoframes 2019-02-26 19:54:48 +02:00
intel_sideband.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
intel_sprite.c drm/i915: Reject rotation for some hdr formats 2019-03-27 17:53:30 +01: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/guc: Calling guc_disable_communication in all suspend paths 2019-02-20 23:53:21 +00:00
intel_uc.h drm/i915/guc: Calling guc_disable_communication in all suspend paths 2019-02-20 23:53:21 +00:00
intel_uncore.c drm/i915: move the edram detection out of uncore init 2019-03-29 11:18:41 +00:00
intel_uncore.h drm/i915: move the edram detection out of uncore init 2019-03-29 11:18:41 +00:00
intel_vbt_defs.h drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time 2019-03-13 14:20:19 -07:00
intel_vdsc.c drm/dsc: Split DSC PPS and SDP header initialisations 2019-03-05 13:24:34 -05: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_types.h drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
intel_workarounds.c drm/i915: switch intel_uncore_forcewake_for_reg to intel_uncore 2019-03-26 20:16:31 +00:00
intel_workarounds.h drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00: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: Introduce the i915_user_extension_method 2019-03-22 13:12:30 +00:00
test_i915_active_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
test_i915_gem_context_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
test_i915_timeline_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
test_intel_context_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
test_intel_engine_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
test_intel_workarounds_types_standalone.c drm/i915: Split struct intel_context definition to its own header 2019-03-08 13:59:44 +00:00
vlv_dsi_pll.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00
vlv_dsi.c drm/i915: switch intel_wait_for_register to uncore 2019-03-26 20:20:24 +00:00