mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 02:07:34 +03:00
tegra: hwpm: Macros to indicate presence of IP fd
Add macros to indicate if IP debug fd is present or not. This is used in HWPM resource manager to communicate with IPs during register operations. Jira THWPM-105 Change-Id: I24a11e8e563b9d1ad8aaa560fb507468819f06dc Signed-off-by: vasukis <vasukis@nvidia.com> (cherry picked from commit 0a1317656fb3a8e126d29cef2c01da58feafcb41) Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2991333 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
44fa2b0ebb
commit
806dbdf6fb
@@ -40,6 +40,10 @@
|
||||
#define TEGRA_HWPM_FUSE_SECURITY_MODE_MASK BIT(1)
|
||||
#define TEGRA_HWPM_FUSE_HWPM_GLOBAL_DISABLE_MASK BIT(2)
|
||||
|
||||
/* Indicate the prescence of HWPM-IP debug interface for devctl calls */
|
||||
#define TEGRA_HWPM_IP_DEBUG_FD_INVALID -1
|
||||
#define TEGRA_HWPM_IP_DEBUG_FD_VALID 1U
|
||||
|
||||
#ifdef __KERNEL__
|
||||
struct tegra_hwpm_os_linux;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user