diff options
author | Jonathan Cavitt <jonathan.cavitt@intel.com> | 2022-12-08 12:05:20 -0800 |
---|---|---|
committer | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2022-12-09 08:28:47 -0800 |
commit | 6b7cbdbe20b33943b86cb8d752ade6841e83fc42 (patch) | |
tree | c0c8cf8d788705c15ceb0c7472ac56b61c2d9de6 /drivers/gpu/drm/i915/i915_perf.h | |
parent | 5a44fcd73498c29293ff2b520d6f02e49c68d59f (diff) |
drm/i915/gsc: Disable GSC engine and power well if FW is not selected
The GSC CS is only used for communicating with the GSC FW, so no need to
initialize it if we're not going to use the FW. If we're not using
neither the engine nor the microcontoller, then we can also disable the
power well.
IMPORTANT: lack of GSC FW breaks media C6 due to opposing requirements
between CS setup and forcewake idleness. See in-code comment for detail.
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: John C Harrison <John.C.Harrison@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221208200521.2928378-6-daniele.ceraolospurio@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf.h')
0 files changed, 0 insertions, 0 deletions