]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/huc: drop intel_huc_is_authenticated
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 4 May 2022 20:48:13 +0000 (13:48 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 5 May 2022 22:47:41 +0000 (15:47 -0700)
commit79f713d87ea9f7f3efa92a6b1c8b96dc7f90c3a9
tree6c8b3a79d832e0470fa8fbde04f8d96cef90de8a
parentbc881e32b6037c97ecba325443d18b4f35f786d7
drm/i915/huc: drop intel_huc_is_authenticated

The function name is confusing, because it doesn't check the actual auth
status in HW but the SW status. Given that there is only one user (the
huc_auth function itself), just get rid of it and use the FW status
checker directly.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504204816.2082588-2-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/uc/intel_huc.c
drivers/gpu/drm/i915/gt/uc/intel_huc.h