[RFC PATCH 1/5] drm/xe: Add LRC ctx timestamp support functions
Jani Nikula
jani.nikula at linux.intel.com
Fri Jun 7 07:10:54 UTC 2024
On Thu, 06 Jun 2024, Matthew Brost <matthew.brost at intel.com> wrote:
> +static inline u32 __xe_lrc_ctx_timestamp_job_offset(struct xe_lrc *lrc)
Please don't use the inline keyword in .c files, no matter how simple
the function. Just let the compiler do its job of inlining as
needed. Using inline also silences warnings about unused static
functions.
BR,
Jani.
--
Jani Nikula, Intel
More information about the Intel-xe
mailing list