Andrey Grodzovsky
222b5f0441
drm/sched: Refactor ring mirror list handling.
...
Decauple sched threads stop and start and ring mirror
list handling from the policy of what to do about the
guilty jobs.
When stoppping the sched thread and detaching sched fences
from non signaled HW fenes wait for all signaled HW fences
to complete before rerunning the jobs.
v2: Fix resubmission of guilty job into HW after refactoring.
v4:
Full restart for all the jobs, not only from guilty ring.
Extract karma increase into standalone function.
v5:
Rework waiting for signaled jobs without relying on the job
struct itself as those might already be freed for non 'guilty'
job's schedulers.
Expose karma increase to drivers.
v6:
Use list_for_each_entry_safe_continue and drm_sched_process_job
in case fence already signaled.
Call drm_sched_increase_karma only once for amdgpu and add documentation.
v7:
Wait only for the latest job's fence.
Suggested-by: Christian Koenig <Christian.Koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-01-25 16:15:36 -05:00
..
bridge
drm/bridge/synopsys: dsi: add dual-dsi support
2018-10-30 14:06:29 +01:00
i2c
tinydrm
drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS
2018-11-20 14:58:19 +01:00
ttm
drm/ttm: add lru notify to bo driver v2
2019-01-25 16:15:34 -05:00
amd_asic_type.h
drm/amdgpu: simplify Raven, Raven2, and Picasso handling
2018-09-14 09:38:03 -05:00
ati_pcigart.h
drm_agpsupport.h
drm_atomic.h
drm/atomic: integrate modeset lock with private objects
2018-12-11 15:24:30 +01:00
drm_atomic_helper.h
drm: Fix up drm_atomic_state_helper.[hc] extraction
2018-11-30 16:37:52 +01:00
drm_atomic_state_helper.h
drm: Fix up drm_atomic_state_helper.[hc] extraction
2018-11-30 16:37:52 +01:00
drm_atomic_uapi.h
drm: extract drm_atomic_uapi.c
2018-09-09 14:19:18 +02:00
drm_audio_component.h
ALSA: hda: Make audio component support more generic
2018-07-17 22:25:48 +02:00
drm_auth.h
drm_blend.h
drm: Add per-plane pixel blend mode property
2018-08-24 17:31:37 +01:00
drm_bridge.h
drm/bridge: Move the struct drm_bridge member kerneldoc inline.
2018-06-21 14:00:06 -07:00
drm_cache.h
drm_client.h
drm/cma-helper: Fix crash in fbdev error path
2018-10-02 13:03:34 +02:00
drm_color_mgmt.h
drm: drop drmP.h include from drm_plane.c
2018-09-09 14:19:17 +02:00
drm_connector.h
drm-misc-next for 5.1:
2019-01-10 05:58:52 +10:00
drm_crtc.h
drm: Add vrr_enabled property to drm CRTC
2018-11-28 15:55:34 -05:00
drm_crtc_helper.h
drm: Remove transitional helpers
2018-10-05 18:04:10 +02:00
drm_damage_helper.h
drm: Add helper to implement legacy dirtyfb
2018-12-05 10:00:37 +01:00
drm_debugfs.h
drm_debugfs_crc.h
drm/crc: Only report a single overflow when a CRC fd is opened
2018-07-06 14:57:03 +02:00
drm_device.h
drm: Introduce per-device driver_features
2018-09-13 18:44:06 +03:00
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h
drm/dsc: Modify DRM helper to return complete DSC color depth capabilities
2018-11-27 15:30:34 -08:00
drm_dp_mst_helper.h
drm/dp-mst-helper: Remove hotplug callback
2018-12-10 11:01:15 +01:00
drm_drv.h
drm: Improve dumb callback docs
2018-11-27 15:23:18 +01:00
drm_dsc.h
drm/dsc: Define the DSC 1.1 and 1.2 Line Buffer depth constants
2018-11-27 18:36:17 -08:00
drm_edid.h
drm/edid: VSDB yCBCr420 Deep Color mode bit definitions
2018-10-16 16:38:16 +03:00
drm_encoder.h
drm: Add drm/drm_util.h header file
2018-09-09 14:18:11 +02:00
drm_encoder_slave.h
drm_fb_cma_helper.h
drm/rcar-du: Convert drm_atomic_helper_suspend/resume()
2018-10-23 15:59:01 +02:00
drm_fb_helper.h
drm/fb-helper: document remove*_conflicting_framebuffers()
2018-09-07 22:07:49 +02:00
drm_file.h
drm: include idr.h from drm_file.h
2019-01-02 11:37:56 +02:00
drm_fixed.h
drm_flip_work.h
drm_fourcc.h
drm/fourcc: Add char_per_block, block_w and block_h in drm_format_info
2018-11-02 09:55:27 +00:00
drm_framebuffer.h
drm: remove deprecated "drm_framebuffer_[un]reference" functions
2018-11-24 22:12:55 +01:00
drm_gem.h
drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions
2018-11-24 22:12:54 +01:00
drm_gem_cma_helper.h
drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS
2018-11-20 14:57:25 +01:00
drm_gem_framebuffer_helper.h
drm_hashtab.h
drm_hdcp.h
drm: include types.h from drm_hdcp.h
2019-01-02 11:38:01 +02:00
drm_ioctl.h
drm_irq.h
drm_lease.h
drm_legacy.h
drm: un-inline drm_legacy_findmap()
2019-01-02 11:37:11 +02:00
drm_mipi_dsi.h
drm: dsi: Add lane clock rate fields to DSI device
2018-10-24 16:26:35 +02:00
drm_mm.h
drm_mode_config.h
drm-misc-next for 5.1:
2019-01-10 05:58:52 +10:00
drm_mode_object.h
drm_modes.h
drm: drop _mode_ from remaining connector functions
2018-07-13 18:40:27 +02:00
drm_modeset_helper.h
drm_modeset_helper_vtables.h
drm: drop _mode_ from update_edit_property()
2018-07-13 18:40:27 +02:00
drm_modeset_lock.h
drm: Add DRM_MODESET_LOCK_BEGIN/END helpers
2018-11-29 10:48:31 -05:00
drm_of.h
drm: of: Export and rename drm_crtc_port_mask()
2018-06-27 21:44:04 +02:00
drm_os_linux.h
drm_panel.h
This is the 4.19-rc6 release
2018-10-04 11:03:34 +10:00
drm_pci.h
drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width
2018-07-05 16:40:00 -05:00
drm_pciids.h
drm/radeon: change SPDX identifier to MIT
2018-10-15 16:16:12 -05:00
drm_plane.h
drm: Add helper iterator functions for plane fb_damage_clips blob
2018-12-05 10:00:36 +01:00
drm_plane_helper.h
drm: Unexport drm_plane_helper_check_update
2018-10-05 22:45:19 +02:00
drm_prime.h
drm/prime: Add drm_gem_prime_mmap()
2018-11-20 14:54:53 +01:00
drm_print.h
Merge drm/drm-next into drm-misc-next
2018-08-27 10:00:03 -04:00
drm_property.h
drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE
2018-10-03 13:05:12 -07:00
drm_rect.h
drm_scdc_helper.h
drm_simple_kms_helper.h
drm_syncobj.h
Make some drm headers self-contained with includes and forward declarations
2019-01-07 16:43:24 +01:00
drm_sysfs.h
drm_util.h
drm: Add drm/drm_util.h header file
2018-09-09 14:18:11 +02:00
drm_utils.h
drm_vblank.h
drm/vblank: Remove old-style comments
2018-10-05 17:39:28 +02:00
drm_vma_manager.h
drm/i915: Prevent writing into a read-only object via a GGTT mmap
2018-07-13 16:14:04 +01:00
drm_writeback.h
drm/atomic: Avoid connector to writeback_connector casts
2018-07-07 07:51:19 +02:00
drmP.h
drm: move DRM_IF_VERSION to drm_internal.h
2018-12-27 13:08:58 +01:00
gma_drm.h
gpu_scheduler.h
drm/sched: Refactor ring mirror list handling.
2019-01-25 16:15:36 -05:00
i915_component.h
drm/i915: Split audio component to a generic type
2018-07-17 22:25:19 +02:00
i915_drm.h
x86/gpu: reserve ICL's graphics stolen memory
2018-07-10 16:28:47 -07:00
i915_pciids.h
drm/i915/aml: Add new Amber Lake PCI ID
2018-10-11 10:59:34 -07:00
intel-gtt.h
drm: include kernel.h and agp_backend.h from intel-gtt.h
2019-01-02 11:37:47 +02:00
intel_lpe_audio.h
spsc_queue.h