diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-04-08 08:13:12 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-04-08 12:03:19 -0700 |
commit | b611dad092b6bf80f96641126a321d1658c93213 (patch) | |
tree | 1efbcbee03ec4af557d41fce0e93a94afa7edaf6 /drivers/gpu/drm/xe/xe_gt_clock.h | |
parent | dc30c6e7149baaae4288c742de95212b31f07438 (diff) | |
download | lwn-b611dad092b6bf80f96641126a321d1658c93213.tar.gz lwn-b611dad092b6bf80f96641126a321d1658c93213.zip |
drm/xe: Remove dead clock code
xe_gt_clock_cycles_to_ns() is not called from anywhere after PMU
handling was removed in commit 90a8b23f9b85 ("drm/xe/pmu: Remove PMU
from Xe till uapi is finalized"). Drop it.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408151312.2100304-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt_clock.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt_clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_clock.h b/drivers/gpu/drm/xe/xe_gt_clock.h index aa162722f859..44fa0371b973 100644 --- a/drivers/gpu/drm/xe/xe_gt_clock.h +++ b/drivers/gpu/drm/xe/xe_gt_clock.h @@ -11,5 +11,5 @@ struct xe_gt; int xe_gt_clock_init(struct xe_gt *gt); -u64 xe_gt_clock_cycles_to_ns(const struct xe_gt *gt, u64 count); + #endif |