lima: fix width 4096 resolution GP fail
authorQiang Yu <yuq825@gmail.com>
Thu, 9 May 2019 12:40:24 +0000 (20:40 +0800)
committerQiang Yu <yuq825@gmail.com>
Fri, 10 May 2019 08:07:40 +0000 (16:07 +0800)
commite2fc0c4a0cb904264606015ed4ae5942d20fdb28
treebce7bd0dccf299d20405f1276fc46083f6fe40b6
parent1b97d9c18008b4577164f2d55ac8046b1c1cf72f
lima: fix width 4096 resolution GP fail

When width=4096 and shift_w=0, block_w=0x100 which overflow
the PLBU_CMD 8 bits for it.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_draw.c