Commit efcb492d authored by Stanislaw Gruszka's avatar Stanislaw Gruszka
Browse files

accel/ivpu: Document DRM_IVPU_PARAM_CAPABILITIES

parent 68132cc6
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -69,7 +69,19 @@ extern "C" {
#define DRM_IVPU_CONTEXT_PRIORITY_FOCUS	    2
#define DRM_IVPU_CONTEXT_PRIORITY_REALTIME  3

/**
 * DRM_IVPU_CAP_METRIC_STREAMER
 *
 * Metric streamer support. Provides sampling of various hardware performance
 * metrics like DMA bandwidth and cache miss/hits. Can be used for profiling.
 */
#define DRM_IVPU_CAP_METRIC_STREAMER	1
/**
 * DRM_IVPU_CAP_DMA_MEMORY_RANGE
 *
 * Driver has capability to allocate separate memory range
 * accessible by hardware DMA.
 */
#define DRM_IVPU_CAP_DMA_MEMORY_RANGE	2

/**
@@ -123,6 +135,8 @@ struct drm_ivpu_param {
	 * %DRM_IVPU_PARAM_SKU:
	 * VPU SKU ID (read-only)
	 *
	 * %DRM_IVPU_PARAM_CAPABILITIES:
	 * Supported capabilities (read-only)
	 */
	__u32 param;