|
XenevaOS
|
#include <amdxdna_accel.h>
Public Attributes | |
| __u32 | param |
| __u32 | element_size |
| __u32 | num_element |
| __u32 | pad |
| __u64 | buffer |
struct amdxdna_drm_get_array - Get information array.
| __u64 amdxdna_drm_get_array::buffer |
@buffer:
Specifies the match conditions and returns the matched information array.
| __u32 amdxdna_drm_get_array::element_size |
@element_size:
Specifies maximum element size and returns the actual element size.
| __u32 amdxdna_drm_get_array::num_element |
@num_element:
Specifies maximum number of elements and returns the actual number of elements.
| __u32 amdxdna_drm_get_array::pad |
@pad: MBZ
| __u32 amdxdna_drm_get_array::param |
Supported params:
DRM_AMDXDNA_HW_CONTEXT_ALL: Returns all created hardware contexts.
DRM_AMDXDNA_HW_LAST_ASYNC_ERR: Returns last async error.
DRM_AMDXDNA_BO_USAGE: Returns usage of heap/internal/external BOs.