Skip to content

Commit 6a8d72b

Browse files
houlz0507superm1
authored andcommitted
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 <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 03c318a commit 6a8d72b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/uapi/drm/amdxdna_accel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ enum amdxdna_drm_config_hwctx_param {
122122
DRM_AMDXDNA_HWCTX_CONFIG_CU,
123123
DRM_AMDXDNA_HWCTX_ASSIGN_DBG_BUF,
124124
DRM_AMDXDNA_HWCTX_REMOVE_DBG_BUF,
125-
DRM_AMDXDNA_HWCTX_CONFIG_NUM
126125
};
127126

128127
/**

0 commit comments

Comments
 (0)