broadcom/simulator: Expose V3D revision number in the simulator interface
Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34465>
This commit is contained in:
@@ -89,6 +89,13 @@ int v3d_hw_get_version(struct v3d_hw *hw)
|
||||
return ident->tech_version * 10 + ident->revision;
|
||||
}
|
||||
|
||||
int v3d_hw_get_revision(struct v3d_hw *hw)
|
||||
{
|
||||
const V3D_HUB_IDENT_T *ident = hw->get_hub_ident();
|
||||
|
||||
return ident->sub_rev;
|
||||
}
|
||||
|
||||
void
|
||||
v3d_hw_set_isr(struct v3d_hw *hw, void (*isr)(uint32_t status))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user