mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
assembler/bdw: Add the DATA_PORT_CACHE1 shared function for Gen8+
This is required to send some messages to data port in GPU shader. For example: media_block_write message. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
88e5f1fdf8
commit
66783e4c4f
@ -878,6 +878,7 @@ enum brw_message_target {
|
|||||||
|
|
||||||
GEN7_SFID_DATAPORT_DATA_CACHE = 10,
|
GEN7_SFID_DATAPORT_DATA_CACHE = 10,
|
||||||
|
|
||||||
|
HSW_SFID_DATAPORT_DATA_CACHE1 = 0x0c,
|
||||||
HSW_SFID_CRE = 0x0d,
|
HSW_SFID_CRE = 0x0d,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1842,7 +1842,8 @@ msgtarget: NULL_TOKEN
|
|||||||
if ($3 != GEN6_SFID_DATAPORT_SAMPLER_CACHE &&
|
if ($3 != GEN6_SFID_DATAPORT_SAMPLER_CACHE &&
|
||||||
$3 != GEN6_SFID_DATAPORT_RENDER_CACHE &&
|
$3 != GEN6_SFID_DATAPORT_RENDER_CACHE &&
|
||||||
$3 != GEN6_SFID_DATAPORT_CONSTANT_CACHE &&
|
$3 != GEN6_SFID_DATAPORT_CONSTANT_CACHE &&
|
||||||
$3 != GEN7_SFID_DATAPORT_DATA_CACHE) {
|
$3 != GEN7_SFID_DATAPORT_DATA_CACHE &&
|
||||||
|
$3 != HSW_SFID_DATAPORT_DATA_CACHE1) {
|
||||||
error (&@3, "error: wrong cache type\n");
|
error (&@3, "error: wrong cache type\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user