[Intel-xe] [RFC 0/3] drm/xe: Add preemption timeout config options

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Jun 13 07:31:00 UTC 2023


Hi, Niranjana

The plan to handle non-preemptible hardware with Xe is either to use 
faulting or to pin memory and use CGROUPS to control the
pinning. So when that is fully flushed out, there shouldn't be a need 
for these changes?

/Thomas

On 6/10/23 02:12, Niranjana Vishwanathapura wrote:
> Allow preemption timeouts to be specified as a config options.
>
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
>
> Niranjana Vishwanathapura (3):
>    drm/xe: Add CONFIG_DRM_XE_PREEMPT_TIMEOUT
>    drm/xe: Add DRM_XE_PREEMPT_TIMEOUT_COMPUTE
>    drm/xe: Add DRM_XE_PREEMPT_TIMEOUT_COMPUTE_COPY
>
>   drivers/gpu/drm/xe/Kconfig         |  6 +++++
>   drivers/gpu/drm/xe/Kconfig.profile | 40 ++++++++++++++++++++++++++++++
>   drivers/gpu/drm/xe/xe_engine.c     | 30 +++++++++++++++++++++-
>   3 files changed, 75 insertions(+), 1 deletion(-)
>   create mode 100644 drivers/gpu/drm/xe/Kconfig.profile
>


More information about the Intel-xe mailing list