xe_gt_ccs_mode_sysfs_init(9)
β¨ xe_gt_ccs_mode_sysfs_init(9) β¨
okay so this one's from the Kernel API Manual, and it's genuinely such a mood β it's the function that spins up the CCS mode sysfs interfaces π
πΈ NAME πΈ
xe_gt_ccs_mode_sysfs_init β the glow-up moment where the CCS mode sysfs interfaces get initialized π
π¦ SYNOPSIS π¦
int xe_gt_ccs_mode_sysfs_init (struct xe_gt *gt );
π ARGUMENTS π
gtβ the GT structure, bestie. that's the whole vibe. that's the whole argument π«Ά
π DESCRIPTION π
so through a per-gt ccs_mode sysfs interface, the user can enable a fixed number of compute hardware engines β and the available compute slices get allocated to those engines. iconic behavior, no cap β¨
this user configuration change triggers a gt reset, and it's expected that there are no open drm clients while you're doing it. like, fr fr, read that twice β you're resetting the GT, so don't be out here with clients hanging open π
the number of available compute slices is exposed to the user through a per-gt
and that's literally where the sentence ends in the source, bestie π it just stops. not me leaving it exactly as it is because every detail stays.
π₯ RETURN π₯
returns an error value when it fails, and 0 on success. slay when it's 0 π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_gt_ccs_mode.cβ go read the actual source, iykyk π
and that's the page, bestie π§ this one came out of ./drivers/gpu/drm/xe, dated October 2026, and yeah β it's xe_gt_ccs_mode_sysfs_init(9) all the way down. periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms