]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Enable Coarse Power Gating
authorRiana Tauro <riana.tauro@intel.com>
Fri, 24 May 2024 07:09:16 +0000 (12:39 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 28 May 2024 16:29:43 +0000 (12:29 -0400)
commit38e8c4184ea0eebe478a9e6fc8d1062561223429
treebad0e89727b1f236c61acd934a63a0dd35fe92fe
parent9276bcc22f52ab52ae77b7b19133943d88b9a3f8
drm/xe: Enable Coarse Power Gating

Enable power gating for all units and sub-pipes that
are disabled by default.

v2: change the init function name
    use symmetric calls for enable/disable pg
    re-pharase commit message (Rodrigo)
    modify the sub-pipe power gating condition

v3: set hysteresis value for render and media
    when GuC PC is disabled
    skip CPG for PVC (Vinay)

v4: rebase

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> #v2
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240524070916.143022-3-riana.tauro@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.c
drivers/gpu/drm/xe/xe_gt_idle.c
drivers/gpu/drm/xe/xe_gt_idle.h