diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2019-07-24 17:18:09 -0700 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-07-25 07:30:41 +0100 |
commit | 91e55e545ab8bbedd3a518dbe6124c10388ff92f (patch) | |
tree | 3bffd5ce62596732acb27b7348959e57564a56b2 /net/switchdev/switchdev.c | |
parent | 21a27d1cdd41a0df8ea5b3ecc61ed7973bd10368 (diff) |
drm/i915/uc: Unify uc_fw status tracking
We currently track fetch and load status separately, but the 2 are
actually sequential in the uc lifetime (fetch must complete before we
can attempt the load!). Unifying the 2 variables we can better follow
the sequential states and improve our trackng of the uC state.
Also, sprinkle some GEM_BUG_ON to make sure we transition correctly
between states.
v2: rename states, add the running state (Michal), drop some logs in
the fetch path (Michal, Chris)
v3: re-rename states, extend early status check to all helpers (Michal)
Suggested-by: Michal Wajdeczko <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Michal Wajdeczko <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions