]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Enable media sampler power gating
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>
Fri, 10 Oct 2025 01:10:47 +0000 (18:10 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 10 Oct 2025 19:07:54 +0000 (15:07 -0400)
commit4cbc08649a54c3d533df9832342d52d409dfbbf0
tree128ecc0aad12849a1085422fb81d9f219299b785
parent75188605c56d10c1bd3b1cd94f4872f349c3a9c8
drm/xe: Enable media sampler power gating

Where applicable, enable media sampler power gating. Also, add
it to the powergate_info debugfs.

v2: Remove the sampler powergate status since it is cleared quickly anyway.
v3: Use vcs mask (Rodrigo) and fix the version check for media
v4: Remove extra spaces
v5: Media samplers are independent of vcs mask,
    use Media version 1255 (Matt Roper)

Fixes: 38e8c4184ea0 ("drm/xe: Enable Coarse Power Gating")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://lore.kernel.org/r/20251010011047.2047584-1-vinay.belgaumkar@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_gt_idle.c