diff options
author | Andi Shyti <andi.shyti@linux.intel.com> | 2024-08-17 23:00:26 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2024-08-19 16:27:55 +0200 |
commit | b15c42e97c90085a4e536a740b8436f585571f6c (patch) | |
tree | cecb185d5109deefb92929ee7ec19192bd7dc314 /tools/memory-model/lock.cat | |
parent | 0b161a0361242c45064814376287b1ac689dd7e0 (diff) |
drm/i915/gt: Allow the user to change the CCS mode through sysfsccs-mode
Create the 'ccs_mode' file under
/sys/class/drm/cardX/gt/gt0/ccs_mode
This file allows the user to read and set the current CCS mode.
- Reading: The user can read the current CCS mode, which can be
1, 2, or 4. This value is derived from the current engine
mask.
- Writing: The user can set the CCS mode to 1, 2, or 4,
depending on the desired number of exposed engines and the
required load balancing.
The interface will return -EBUSY if other clients are connected
to i915, or -EINVAL if an invalid value is set.
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Diffstat (limited to 'tools/memory-model/lock.cat')
0 files changed, 0 insertions, 0 deletions