intel/compiler: Get rid of struct gen_disasm
It's just a container around a devinfo. The one useful purpose it did serve is that gen_disasm_create initialized the compaction table singletons. Now that those no longer exist, this isn't necessary. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6244>
This commit is contained in:
committed by
Marge Bot
parent
54ba0daa28
commit
372774367c
@@ -31,8 +31,8 @@ void
|
||||
aub_viewer_decode_ctx_init(struct aub_viewer_decode_ctx *ctx,
|
||||
struct aub_viewer_cfg *cfg,
|
||||
struct aub_viewer_decode_cfg *decode_cfg,
|
||||
const struct gen_device_info *devinfo,
|
||||
struct gen_spec *spec,
|
||||
struct gen_disasm *disasm,
|
||||
struct gen_batch_decode_bo (*get_bo)(void *, bool, uint64_t),
|
||||
unsigned (*get_state_size)(void *, uint32_t),
|
||||
void *user_data)
|
||||
@@ -42,12 +42,12 @@ aub_viewer_decode_ctx_init(struct aub_viewer_decode_ctx *ctx,
|
||||
ctx->get_bo = get_bo;
|
||||
ctx->get_state_size = get_state_size;
|
||||
ctx->user_data = user_data;
|
||||
ctx->devinfo = devinfo;
|
||||
ctx->engine = I915_ENGINE_CLASS_RENDER;
|
||||
|
||||
ctx->cfg = cfg;
|
||||
ctx->decode_cfg = decode_cfg;
|
||||
ctx->spec = spec;
|
||||
ctx->disasm = disasm;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user