]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/query: Move timestamp reg to hwe_read_timestamp()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Oct 2024 03:56:17 +0000 (20:56 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 12 Oct 2024 02:06:32 +0000 (19:06 -0700)
commit5c84985b07acc0fefd2d619c0bb03eed18f769b5
tree0a7f9098fe71b558836f0f41470b7d6ddcb26e12
parent9d559cdcb21f42188d4c3ff3b4fe42b240f4af5d
drm/xe/query: Move timestamp reg to hwe_read_timestamp()

__read_timestamps() is actually reading the timestamp from a certain
hwe. Use it as parameter, move register declarations to be inside that
function and rename it.

Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011035618.1057602-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_query.c