intel/aub_write: switch to use i915_drm engine classes
Prepare aub write to deal with multiple engine instances. We don't pass the instance number yet this could be done in the future by having a 2 dimensional array of struct engine. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Rafael Antognolli <rafael.antognolli@intel.com>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "drm-uapi/i915_drm.h"
|
||||
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "common/gen_gem.h"
|
||||
|
||||
@@ -80,7 +82,7 @@ void aub_write_trace_block(struct aub_file *aub,
|
||||
uint32_t type, void *virtual,
|
||||
uint32_t size, uint64_t gtt_offset);
|
||||
void aub_write_exec(struct aub_file *aub, uint64_t batch_addr,
|
||||
uint64_t offset, int ring_flag);
|
||||
uint64_t offset, enum drm_i915_gem_engine_class engine_class);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user