mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 00:46:17 +00:00
add support for data port read on Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
This commit is contained in:
parent
61784dbc97
commit
a8458d5d5e
@ -1398,6 +1398,18 @@ struct brw_instruction
|
||||
GLuint end_of_thread:1;
|
||||
} dp_read_gen5;
|
||||
|
||||
struct {
|
||||
GLuint binding_table_index:8;
|
||||
GLuint msg_control:5;
|
||||
GLuint msg_type:3;
|
||||
GLuint pad0:3;
|
||||
GLuint header_present:1;
|
||||
GLuint response_length:5;
|
||||
GLuint msg_length:4;
|
||||
GLuint pad1:2;
|
||||
GLuint end_of_thread:1;
|
||||
} dp_read_gen6;
|
||||
|
||||
struct {
|
||||
GLuint binding_table_index:8;
|
||||
GLuint msg_control:3;
|
||||
|
@ -630,7 +630,14 @@ msgtarget: NULL_TOKEN
|
||||
| READ LPAREN INTEGER COMMA INTEGER COMMA INTEGER COMMA
|
||||
INTEGER RPAREN
|
||||
{
|
||||
if (gen_level == 5) {
|
||||
if (gen_level == 6) {
|
||||
$$.bits2.send_gen5.sfid =
|
||||
BRW_MESSAGE_TARGET_DATAPORT_READ;
|
||||
$$.bits3.generic_gen5.header_present = 1;
|
||||
$$.bits3.dp_read_gen6.binding_table_index = $3;
|
||||
$$.bits3.dp_read_gen6.msg_control = $7;
|
||||
$$.bits3.dp_read_gen6.msg_type = $9;
|
||||
} else if (gen_level == 5) {
|
||||
$$.bits2.send_gen5.sfid =
|
||||
BRW_MESSAGE_TARGET_DATAPORT_READ;
|
||||
$$.bits3.generic_gen5.header_present = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user