intel: Remove GEN_IS_G4X macro
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 4 Mar 2021 23:30:41 +0000 (15:30 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Mar 2021 16:40:12 +0000 (16:40 +0000)
commite66e8a0109b67c19779ac3e3e2db01b739a47895
tree0e31f852f2039556cfbfae7f37b73f73b0650396
parent1d0295ea2ca92c10e627841d8985fbce26883243
intel: Remove GEN_IS_G4X macro

GEN_GEN and GEN_VERSIONx10 macros provide a consistent way to do platform
version checks. We can avoid platform specific macros.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9608>
src/intel/genxml/gen_macros.h
src/intel/isl/isl_surface_state.c
src/mesa/drivers/dri/i965/genX_pipe_control.c
src/mesa/drivers/dri/i965/genX_state_upload.c