freedreno/computerator: Use CHIP variant reg builders
Avoid using the non-variant builders for regs that differ btwn generations. This will become deprecated. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30452>
This commit is contained in:
@@ -208,11 +208,15 @@ cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel)
|
||||
: (local_size[1] % 2 == 0) ? CS_YALIGN_2
|
||||
: CS_YALIGN_1;
|
||||
|
||||
OUT_REG(ring, A7XX_HLSQ_CS_CNTL_1(.linearlocalidregid = regid(63, 0),
|
||||
.threadsize = thrsz,
|
||||
.unk11 = true,
|
||||
.unk22 = true,
|
||||
.yalign = yalign, ));
|
||||
OUT_REG(ring,
|
||||
HLSQ_CS_CNTL_1(CHIP,
|
||||
.linearlocalidregid = regid(63, 0),
|
||||
.threadsize = thrsz,
|
||||
.unk11 = true,
|
||||
.unk22 = true,
|
||||
.yalign = yalign,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (CHIP == A7XX || a6xx_backend->info->a6xx.has_lpac) {
|
||||
|
||||
Reference in New Issue
Block a user