diff options
author | Dave Airlie <airlied@redhat.com> | 2018-07-18 15:46:24 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-07-18 15:46:30 -0400 |
commit | 539c475dadc430bd0f1601902fcacc1e55ffe85a (patch) | |
tree | 6dc3e9ca56165cb46baa84febcb885ed52452cf2 /drivers/gpu/drm/i915/i915_gpu_error.c | |
parent | 0c2fd59ae315e28f8868edf80df21a502f933fec (diff) | |
parent | 82edc7e8b8c06151bdc653935bc13b83e2f0fcfa (diff) |
Merge tag 'drm-intel-next-2018-07-09' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
Higlights here goes to many PSR fixes and improvements; to the Ice lake work with
power well support and begin of DSI support addition. Also there were many improvements
on execlists and interrupts for minimal latency on command submission; and many fixes
on selftests, mostly caught by our CI.
General driver:
- Clean-up on aux irq (Lucas)
- Mark expected switch fall-through for dealing with static analysis tools (Gustavo)
Gem:
- Different fixes for GuC (Chris, Anusha, Michal)
- Avoid self-relocation BIAS if no relocation (Chris)
- Improve debugging cases in on EINVAL return and vma allocation (Chris)
- Fixes and improvements on context destroying and freeing (Chris)
- Wait for engines to idle before retiring (Chris)
- Many improvements on execlists and interrupts for minimal latency on command submission (Chris)
- Many fixes in selftests, specially on cases highlighted on CI (Chris)
- Other fixes and improvements around GGTT (Chris)
- Prevent background reaping of active objects (Chris)
Display:
- Parallel modeset cleanup to fix driver reset (Chris)
- Get AUX power domain for DP main link (Imre)
- Clean-up on PSR unused func pointers (Rodrigo)
- Many PSR/PSR2 fixes and improvements (DK, Jose, Tarun)
- Add a PSR1 live status (Vathsala)
- Replace old drm_*_{un/reference} with put,get functions (Thomas)
- FBC fixes (Maarten)
- Abstract and document the usage of picking macros (Jani)
- Remove unnecessary check for unsupported modifiers for NV12. (DK)
- Interrupt fixes for display (Ville)
- Clean up on sdvo code (Ville)
- Clean up on current DSI code (Jani)
- Remove support for legacy debugfs crc interface (Maarten)
- Simplify get_encoder_power_domains (Imre)
Icelake:
- MG PLL fixes (Imre)
- Add hw workaround for alpha blending (Vandita)
- Add power well support (Imre)
- Add Interrupt Support (Anusha)
- Start to add support for DSI on Ice Lake (Madhav)
Signed-off-by: Dave Airlie <airlied@redhat.com>
# gpg: Signature made Tue 10 Jul 2018 08:41:37 AM AEST
# gpg: using RSA key FA625F640EEB13CA
# gpg: Good signature from "Rodrigo Vivi <rodrigo.vivi@intel.com>"
# gpg: aka "Rodrigo Vivi <rodrigo.vivi@gmail.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6D20 7068 EEDD 6509 1C2C E2A3 FA62 5F64 0EEB 13CA
Link: https://patchwork.freedesktop.org/patch/msgid/20180710234349.GA16562@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gpu_error.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index df524c9cad40..8c81cf3aa182 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c | |||
@@ -335,21 +335,16 @@ static void print_error_buffers(struct drm_i915_error_state_buf *m, | |||
335 | struct drm_i915_error_buffer *err, | 335 | struct drm_i915_error_buffer *err, |
336 | int count) | 336 | int count) |
337 | { | 337 | { |
338 | int i; | ||
339 | |||
340 | err_printf(m, "%s [%d]:\n", name, count); | 338 | err_printf(m, "%s [%d]:\n", name, count); |
341 | 339 | ||
342 | while (count--) { | 340 | while (count--) { |
343 | err_printf(m, " %08x_%08x %8u %02x %02x [ ", | 341 | err_printf(m, " %08x_%08x %8u %02x %02x %02x", |
344 | upper_32_bits(err->gtt_offset), | 342 | upper_32_bits(err->gtt_offset), |
345 | lower_32_bits(err->gtt_offset), | 343 | lower_32_bits(err->gtt_offset), |
346 | err->size, | 344 | err->size, |
347 | err->read_domains, | 345 | err->read_domains, |
348 | err->write_domain); | 346 | err->write_domain, |
349 | for (i = 0; i < I915_NUM_ENGINES; i++) | 347 | err->wseqno); |
350 | err_printf(m, "%02x ", err->rseqno[i]); | ||
351 | |||
352 | err_printf(m, "] %02x", err->wseqno); | ||
353 | err_puts(m, tiling_flag(err->tiling)); | 348 | err_puts(m, tiling_flag(err->tiling)); |
354 | err_puts(m, dirty_flag(err->dirty)); | 349 | err_puts(m, dirty_flag(err->dirty)); |
355 | err_puts(m, purgeable_flag(err->purgeable)); | 350 | err_puts(m, purgeable_flag(err->purgeable)); |
@@ -1021,13 +1016,10 @@ static void capture_bo(struct drm_i915_error_buffer *err, | |||
1021 | struct i915_vma *vma) | 1016 | struct i915_vma *vma) |
1022 | { | 1017 | { |
1023 | struct drm_i915_gem_object *obj = vma->obj; | 1018 | struct drm_i915_gem_object *obj = vma->obj; |
1024 | int i; | ||
1025 | 1019 | ||
1026 | err->size = obj->base.size; | 1020 | err->size = obj->base.size; |
1027 | err->name = obj->base.name; | 1021 | err->name = obj->base.name; |
1028 | 1022 | ||
1029 | for (i = 0; i < I915_NUM_ENGINES; i++) | ||
1030 | err->rseqno[i] = __active_get_seqno(&vma->last_read[i]); | ||
1031 | err->wseqno = __active_get_seqno(&obj->frontbuffer_write); | 1023 | err->wseqno = __active_get_seqno(&obj->frontbuffer_write); |
1032 | err->engine = __active_get_engine_id(&obj->frontbuffer_write); | 1024 | err->engine = __active_get_engine_id(&obj->frontbuffer_write); |
1033 | 1025 | ||