mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
asahi: Fix typo in arch check in agx_get_gpu_timestamp
Signed-off-by: Janne Grunau <janne-fdr@jannau.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
parent
4ff78407f7
commit
2cceacdb8e
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ agx_debug_fault(struct agx_device *dev, uint64_t addr)
|
|||
uint64_t
|
||||
agx_get_gpu_timestamp(struct agx_device *dev)
|
||||
{
|
||||
#if DETECT_ARCH_ARCH64
|
||||
#if DETECT_ARCH_AARCH64
|
||||
uint64_t ret;
|
||||
__asm__ volatile("mrs \t%0, cntvct_el0" : "=r"(ret));
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue