diff options
author | Alan Previn <[email protected]> | 2022-12-21 09:49:01 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2023-01-12 18:16:32 -0800 |
commit | b762787bf767e8bd09c525a178e2259a47f71342 (patch) | |
tree | a7c3ee2c10d1c45789edb6dd8f3c56d19a9425a6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f7a79bdc4e672092f111efc917668706c93b535f (diff) |
drm/i915/pxp: Use drm_dbg if arb session failed due to fw version
If PXP arb-session is being attempted on older hardware SKUs or
on hardware with older, unsupported, firmware versions, then don't
report the failure with a drm_error. Instead, look specifically for
the API-version error reply and drm_dbg that reply. In this case, the
user-space will eventually get a -ENODEV for the protected context
creation which is the correct behavior and we don't create unnecessary
drm_error's in our dmesg (for what is unsupported platforms).
Changes from prio revs:
v2 : - remove unnecessary newline. (Jani)
v1 : - print incorrect version from input packet, not output.
Signed-off-by: Alan Previn <[email protected]>
Reviewed-by: Vinay Belgaumkar <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions