drm/i915/guc: Add preemption action to GuC firmware interface
authorMichał Winiarski <[email protected]>
Wed, 25 Oct 2017 20:00:12 +0000 (22:00 +0200)
committerChris Wilson <[email protected]>
Thu, 26 Oct 2017 20:35:21 +0000 (21:35 +0100)
commit4ddbe87a16d75e8f8cb59722fc385b3469a219c3
tree5c36cdb26e35dd0e01da4dd854e10e7bdbf441dd
parentb8e5eb960b28bc120b03f174dfa3ac1e32e1d10f
drm/i915/guc: Add preemption action to GuC firmware interface

We're using GuC action to request preemption. However, after requesting
preemption we need to wait for GuC to finish its own post-processing
before we start submitting our requests. Firmware is using shared
context to report its status.
Let's update GuC firmware interface with those new definitions.

v2: Drop unused INTEL_GUC_PREEMPT_OPTION_IMMEDIATE

Signed-off-by: Michał Winiarski <[email protected]>
Cc: Jeff McGee <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Oscar Mateo <[email protected]>
Reviewed-by: Jeff McGee <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_guc_fwif.h