gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP
authorKrzysztof Sobiecki <sobkas@gmail.com>
Tue, 29 Dec 2015 19:27:44 +0000 (20:27 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Jan 2016 21:09:12 +0000 (16:09 -0500)
commit0d7477a2899fe74134cd3e12e7adf1eec0c77f7e
tree4487f5fd0f0cdb166740885ad6a76487ebc005c7
parentbbd29f13759e41ef14a77daa179a7c294a6aaa41
gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP

ALIGN_DIVUP is a driver specific(r600g) macro that duplicates DIV_ROUND_UP functionality.
Replacing it with DIV_ROUND_UP eliminates this problems.

Signed-off-by: Krzysztof A. Sobiecki <sobkas@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c