2d0f49534f
Avoid passing whole device structure. In most of the cases we only need dev_info from device pointer to check for features and ERNs. This commits simply avoids the need to carry device pointer where ever we go. Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16897>