-
Right now we have some HW-dependant constants that we are accessing using the same mechanism that some hw-dependant functions, through a macro (V3DV_X macro). But this means that each time that we need to get those constant values, we need to do a hw version check. Also, right now both the macro and the defines with each HW value are duplicated on v3d and v3dv. Also that macro is ugly and has a ugly name. This commit moves those values to the already common v3d_device_info structure. Reviewed-by:
Jose Maria Casanova Crespo <jmcasanova@igalia.com> Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29535>
5eee1014