Skip to content

Commit a6797fd

Browse files
hoshinolinajannau
authored andcommitted
drm/asahi: file: Add user_timestamp_frequency_hz to params
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 0c23494 commit a6797fd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/asahi/file.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ impl File {
285285
result_compute_size: core::mem::size_of::<uapi::drm_asahi_result_compute>() as u32,
286286

287287
firmware_version: [0; 4],
288+
289+
user_timestamp_frequency_hz: 1_000_000_000, // User timestamps always in nanoseconds
288290
};
289291

290292
for (i, mask) in gpu.get_dyncfg().id.core_masks.iter().enumerate() {

0 commit comments

Comments
 (0)