]> Git Repo - J-linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
Merge tag 'pmdomain-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh...
[J-linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_irq.c
index 7e6d09730e6d33028ce3ff0f947c6d814715b926..665c63f5527879528c382d2a80be3f9b74251b2a 100644 (file)
@@ -445,6 +445,14 @@ void amdgpu_irq_dispatch(struct amdgpu_device *adev,
 
        entry.ih = ih;
        entry.iv_entry = (const uint32_t *)&ih->ring[ring_index];
+
+       /*
+        * timestamp is not supported on some legacy SOCs (cik, cz, iceland,
+        * si and tonga), so initialize timestamp and timestamp_src to 0
+        */
+       entry.timestamp = 0;
+       entry.timestamp_src = 0;
+
        amdgpu_ih_decode_iv(adev, &entry);
 
        trace_amdgpu_iv(ih - &adev->irq.ih, &entry);
This page took 0.02836 seconds and 4 git commands to generate.