diff options
author | Dave Airlie <airlied@redhat.com> | 2016-11-10 18:25:32 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-11-10 18:25:32 -0500 |
commit | db8feb6979e91c2e916631a75dbfe9f10f6b05e5 (patch) | |
tree | b4aa5965f207c18d908a794e5f4e647604d77553 /drivers/gpu/drm/i915/intel_guc_loader.c | |
parent | afdd548f742ca454fc343696de472f3aaa5dc488 (diff) | |
parent | 58e197d631d44f9f4817b8198b43132a40de1164 (diff) |
Merge tag 'drm-intel-next-2016-11-08' of git://anongit.freedesktop.org/git/drm-intel into drm-next
- gpu idling rework for s/r (Imre)
- vlv mappable scanout fix
- speed up probing in resume (Lyude)
- dp audio workarounds for gen9 (Dhinakaran)
- more conversion to using dev_priv internally (Ville)
- more gen9+ wm fixes and cleanups (Maarten)
- shrinker cleanup&fixes (Chris)
- reorg plane init code (Ville)
- implement support for multiple timelines (prep work for scheduler)
from Chris and all
- untangle dev->struct_mutex locking as prep for multiple timelines
(Chris)
- refactor bxt phy code and collect it all in intel_dpio_phy.c (Ander)
- another gvt with bugfixes all over from Zhenyu
- piles of lspcon fixes from Imre
- 90/270 rotation fixes (Ville)
- guc log buffer support (Akash+Sagar)
- fbc fixes from Paulo
- untangle rpm vs. tiling-fences/mmaps (Chris)
- fix atomic commit to wait on the right fences (Daniel Stone)
* tag 'drm-intel-next-2016-11-08' of git://anongit.freedesktop.org/git/drm-intel: (181 commits)
drm/i915: Update DRIVER_DATE to 20161108
drm/i915: Mark CPU cache as dirty when used for rendering
drm/i915: Add assert for no pending GPU requests during suspend/resume in LR mode
drm/i915: Make sure engines are idle during GPU idling in LR mode
drm/i915: Avoid early GPU idling due to race with new request
drm/i915: Avoid early GPU idling due to already pending idle work
drm/i915: Limit Valleyview and earlier to only using mappable scanout
drm/i915: Round tile chunks up for constructing partial VMAs
drm/i915: Remove the vma from the object list upon close
drm/i915: Reinit polling before hpd when resuming
drm/i915: Remove redundant reprobe in i915_drm_resume
drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
drm/i915/dp: BDW cdclk fix for DP audio
drm/i915: Fix pages pin counting around swizzle quirk
drm/i915: Fix test on inputs for vma_compare()
drm/i915/guc: Cache the client mapping
drm/i915: Tidy slab cache allocations
drm/i915: Introduce HAS_64BIT_RELOC
drm/i915: Show the execlist queue in debugfs/i915_engine_info
drm/i915: Unify global_list into global_link
...
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_loader.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_guc_loader.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c index 3c8eaae13732..1aa85236b788 100644 --- a/drivers/gpu/drm/i915/intel_guc_loader.c +++ b/drivers/gpu/drm/i915/intel_guc_loader.c | |||
@@ -211,11 +211,13 @@ static void guc_params_init(struct drm_i915_private *dev_priv) | |||
211 | params[GUC_CTL_FEATURE] |= GUC_CTL_DISABLE_SCHEDULER | | 211 | params[GUC_CTL_FEATURE] |= GUC_CTL_DISABLE_SCHEDULER | |
212 | GUC_CTL_VCS2_ENABLED; | 212 | GUC_CTL_VCS2_ENABLED; |
213 | 213 | ||
214 | params[GUC_CTL_LOG_PARAMS] = guc->log.flags; | ||
215 | |||
214 | if (i915.guc_log_level >= 0) { | 216 | if (i915.guc_log_level >= 0) { |
215 | params[GUC_CTL_LOG_PARAMS] = guc->log_flags; | ||
216 | params[GUC_CTL_DEBUG] = | 217 | params[GUC_CTL_DEBUG] = |
217 | i915.guc_log_level << GUC_LOG_VERBOSITY_SHIFT; | 218 | i915.guc_log_level << GUC_LOG_VERBOSITY_SHIFT; |
218 | } | 219 | } else |
220 | params[GUC_CTL_DEBUG] = GUC_LOG_DISABLED; | ||
219 | 221 | ||
220 | if (guc->ads_vma) { | 222 | if (guc->ads_vma) { |
221 | u32 ads = i915_ggtt_offset(guc->ads_vma) >> PAGE_SHIFT; | 223 | u32 ads = i915_ggtt_offset(guc->ads_vma) >> PAGE_SHIFT; |
@@ -483,6 +485,7 @@ int intel_guc_setup(struct drm_device *dev) | |||
483 | } | 485 | } |
484 | 486 | ||
485 | guc_interrupts_release(dev_priv); | 487 | guc_interrupts_release(dev_priv); |
488 | gen9_reset_guc_interrupts(dev_priv); | ||
486 | 489 | ||
487 | guc_fw->guc_fw_load_status = GUC_FIRMWARE_PENDING; | 490 | guc_fw->guc_fw_load_status = GUC_FIRMWARE_PENDING; |
488 | 491 | ||
@@ -527,6 +530,9 @@ int intel_guc_setup(struct drm_device *dev) | |||
527 | intel_guc_fw_status_repr(guc_fw->guc_fw_load_status)); | 530 | intel_guc_fw_status_repr(guc_fw->guc_fw_load_status)); |
528 | 531 | ||
529 | if (i915.enable_guc_submission) { | 532 | if (i915.enable_guc_submission) { |
533 | if (i915.guc_log_level >= 0) | ||
534 | gen9_enable_guc_interrupts(dev_priv); | ||
535 | |||
530 | err = i915_guc_submission_enable(dev_priv); | 536 | err = i915_guc_submission_enable(dev_priv); |
531 | if (err) | 537 | if (err) |
532 | goto fail; | 538 | goto fail; |