pvr: Correct calculations in pvr_unwind_rects()
What does this MR do and why?
Fixes 6d3d1f88 (pvr: Fix rect splitting logic in pvr_unwind_rects()
) and cleans up the logic in that function.
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reported-by: Soroush Kashani <soroush.kashani@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Edited by Matt Coster