mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/brw: Drop gfx7 scratch message setup code
Nothing uses this. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28705>
This commit is contained in:
parent
a791805d10
commit
bd6a430c94
1 changed files with 0 additions and 29 deletions
|
|
@ -357,35 +357,6 @@ brw_set_desc_ex(struct brw_codegen *p, brw_inst *inst,
|
|||
brw_inst_set_send_ex_desc(devinfo, inst, ex_desc);
|
||||
}
|
||||
|
||||
static void
|
||||
gfx7_set_dp_scratch_message(struct brw_codegen *p,
|
||||
brw_inst *inst,
|
||||
bool write,
|
||||
bool dword,
|
||||
bool invalidate_after_read,
|
||||
unsigned num_regs,
|
||||
unsigned addr_offset,
|
||||
unsigned mlen,
|
||||
unsigned rlen,
|
||||
bool header_present)
|
||||
{
|
||||
const struct intel_device_info *devinfo = p->devinfo;
|
||||
assert(num_regs == 1 || num_regs == 2 || num_regs == 4 ||
|
||||
num_regs == 8);
|
||||
const unsigned block_size = util_logbase2(num_regs);
|
||||
|
||||
brw_set_desc(p, inst, brw_message_desc(
|
||||
devinfo, mlen, rlen, header_present));
|
||||
|
||||
brw_inst_set_sfid(devinfo, inst, GFX7_SFID_DATAPORT_DATA_CACHE);
|
||||
brw_inst_set_dp_category(devinfo, inst, 1); /* Scratch Block Read/Write msgs */
|
||||
brw_inst_set_scratch_read_write(devinfo, inst, write);
|
||||
brw_inst_set_scratch_type(devinfo, inst, dword);
|
||||
brw_inst_set_scratch_invalidate_after_read(devinfo, inst, invalidate_after_read);
|
||||
brw_inst_set_scratch_block_size(devinfo, inst, block_size);
|
||||
brw_inst_set_scratch_addr_offset(devinfo, inst, addr_offset);
|
||||
}
|
||||
|
||||
static void
|
||||
brw_inst_set_state(const struct brw_isa_info *isa,
|
||||
brw_inst *insn,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue