diff options
author | Lizhi Hou <lizhi.hou@amd.com> | 2024-12-17 08:54:46 -0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-17 12:10:07 -0600 |
commit | 6a8d72b80807ad45229c0f5a17e3be843b15a703 (patch) | |
tree | 588a3f728cdb42af9908c19b7cd9df9bb4437dfe /include | |
parent | 03c318a0af96f1292e0e6fd0da92facb4f3a5c31 (diff) |
accel/amdxdna: Remove DRM_AMDXDNA_HWCTX_CONFIG_NUM
Defining a number of enum elements in uapi header is meaningless. It will
not be used as expected and can potentially lead to incompatible issue
between user space application and driver.
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217165446.2607585-2-lizhi.hou@amd.com
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/amdxdna_accel.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/drm/amdxdna_accel.h b/include/uapi/drm/amdxdna_accel.h index 92eff83fac1f..a706ead39082 100644 --- a/include/uapi/drm/amdxdna_accel.h +++ b/include/uapi/drm/amdxdna_accel.h @@ -122,7 +122,6 @@ enum amdxdna_drm_config_hwctx_param { DRM_AMDXDNA_HWCTX_CONFIG_CU, DRM_AMDXDNA_HWCTX_ASSIGN_DBG_BUF, DRM_AMDXDNA_HWCTX_REMOVE_DBG_BUF, - DRM_AMDXDNA_HWCTX_CONFIG_NUM }; /** |