We need to convert these to the hw special registers.
Acked-By: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src.chan = k.chan();
break;
}
+ case VLK_SPECIAL_REG:
+ if (v->select.sel() == SV_LDS_OQA) {
+ src.sel = ALU_SRC_LDS_OQ_A_POP;
+ src.chan = 0;
+ } else if (v->select.sel() == SV_LDS_OQB) {
+ src.sel = ALU_SRC_LDS_OQ_B_POP;
+ src.chan = 0;
+ } else {
+ src.sel = ALU_SRC_0;
+ src.chan = 0;
+ }
+ break;
case VLK_PARAM:
case VLK_SPECIAL_CONST:
src.sel = v->select.sel();