[Intel-gfx] [PATCH 24/24] drm/i915: Show per-engine default property values in sysfs

Patelczyk, Maciej maciej.patelczyk at intel.com
Wed May 13 13:40:20 UTC 2020


Chris Wilson <chris at chris-wilson.co.uk> writes:

> By providing the default values configured into the kernel via sysfs, it
> is much more convenient for userspace to restore those sane defaults, or
> at least know what are considered good baseline. This is useful, for
> example, to cleanup after any failed userspace prior to commencing new
> jobs.
>
> /sys/class/drm/card0/engine/rcs0/
> ├── capabilities
> ├── class
> ├── .defaults
> │   ├── heartbeat_interval_ms
> │   ├── max_busywait_duration_ns
> │   ├── preempt_timeout_ms
> │   ├── stop_timeout_ms
> │   └── timeslice_duration_ms
> ├── heartbeat_interval_ms
> ├── instance
> ├── known_capabilities
> ├── max_busywait_duration_ns
> ├── mmio_base
> ├── name
> ├── preempt_timeout_ms
> ├── stop_timeout_ms
> └── timeslice_duration_ms
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Reviewed-by: Maciej Patelczyk <maciej.patelczyk at intel.com>

-MaciejP.


More information about the Intel-gfx mailing list