aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <[email protected]>2024-06-27 23:51:05 +0000
committerUmesh Nerlige Ramappa <[email protected]>2024-06-28 18:52:29 +0000
commit0f54a19262154cb3965ba910c8b081417d97c6c8 (patch)
tree3f392186f1badc9bb92d42f8bcdece38d62299fc /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/xe/client: Check return value of xe_force_wake_get (diff)
downloadkernel-0f54a19262154cb3965ba910c8b081417d97c6c8.tar.gz
kernel-0f54a19262154cb3965ba910c8b081417d97c6c8.zip
drm/xe: Get hwe domain specific FW to read RING_TIMESTAMP
Per client engine utilization uses RING_TIMESTAMP to return drm-total-cycles to the user. Current code uses XE_FW_GT to read this register on the first available engine in a GT. When testing on DG2, it is observed that this value is 0 when running test on some engines. To resolve that, get the hwe domain specific FW for reading the engine timestamp. v2: - update commit message - use domain specific FW (Matt) v3: - Drop check for hwe in the helper (Matt, Michal) v4: - checkpatch fixes v5: Rebase Fixes: 188ced1e0ff8 ("drm/xe/client: Print runtime to fdinfo") Signed-off-by: Umesh Nerlige Ramappa <[email protected]> Reviewed-by: Matt Roper <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions