diff options
author | Alan Previn <[email protected]> | 2023-06-08 16:07:16 -0700 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2023-06-20 08:54:36 +0100 |
commit | 21f773515902d8b303df650674ad1c5243beb245 (patch) | |
tree | 1edb9acb95db9067a4a2795a8a789aa4f7d8c617 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 2222dcb0775d36de28992f56455ab3967b30d380 (diff) |
drm/i915/gsc: take a wakeref for the proxy-init-completion check
Ensure intel_gsc_uc_fw_init_done and intel_gsc_uc_fw_proxy_init
takes a wakeref before reading GSC Shim registers.
NOTE: another patch in review also adds a call from selftest to
this same function. (https://patchwork.freedesktop.org/series/117713/)
which is why i am adding the wakeref inside the callee, not the
caller.
v2: - add a helper, 'gsc_uc_get_fw_status' for both callers
(Daniele Ceraolo)
Fixes: 99afb7cc8c44 ("drm/i915/pxp: Add ARB session creation and cleanup")
Signed-off-by: Alan Previn <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 8c33c3755b75c98d8eb490df345b4187a295a1a8)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions