diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-07-08 16:21:27 -0500 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2021-07-16 14:51:31 -0500 |
commit | b0a5d7e8722b8be1f48e437401f16dbb39e55bc6 (patch) | |
tree | 276dfb20c99f2ff2bd1c41f2a6d1c542bbb6ed32 /lib/intel_ctx.h | |
parent | cd649eee0f74fa6ee71de18ff59b5ae39fd62159 (diff) |
lib/intel_ctx: Add a intel_ctx_cfg_engine_class helper
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/intel_ctx.h')
-rw-r--r-- | lib/intel_ctx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/intel_ctx.h b/lib/intel_ctx.h index d4cb435a..9649f6d9 100644 --- a/lib/intel_ctx.h +++ b/lib/intel_ctx.h @@ -52,6 +52,7 @@ typedef struct intel_ctx_cfg { intel_ctx_cfg_t intel_ctx_cfg_for_engine(unsigned int class, unsigned int inst); intel_ctx_cfg_t intel_ctx_cfg_all_physical(int fd); +int intel_ctx_cfg_engine_class(const intel_ctx_cfg_t *cfg, unsigned int engine); /** * intel_ctx_t: |