mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-02-04 00:04:43 +00:00
amd-gpu: ensure timestamp read posted to CPU before returning
This commit is contained in:
@@ -54,6 +54,9 @@ gsl_timestamp_t kgsl_cmdstream_readtimestamp0(gsl_deviceid_t device_id, gsl_time
|
||||
// end-of-pipeline timestamp
|
||||
GSL_CMDSTREAM_GET_EOP_TIMESTAMP(device, (unsigned int*)×tamp);
|
||||
}
|
||||
|
||||
rmb();
|
||||
|
||||
kgsl_log_write( KGSL_LOG_GROUP_COMMAND | KGSL_LOG_LEVEL_TRACE, "<-- kgsl_ringbuffer_readtimestamp. Return value %d\n", timestamp );
|
||||
return (timestamp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user