aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gt/uc/intel_guc.c
diff options
context:
space:
mode:
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>2021-07-30 13:21:18 -0700
committerJohn Harrison <John.C.Harrison@Intel.com>2021-08-03 16:05:42 -0700
commit8ee2c227822e755d0dd4375337e626c9c79c6363 (patch)
tree0be3d038531e1ce2d4aa59b161ded979c9ba7437 /drivers/gpu/drm/i915/gt/uc/intel_guc.c
parentdrm/i915/guc/slpc: Sysfs hooks for SLPC (diff)
downloadlinux-dev-8ee2c227822e755d0dd4375337e626c9c79c6363.tar.xz
linux-dev-8ee2c227822e755d0dd4375337e626c9c79c6363.zip
drm/i915/guc/slpc: Add SLPC selftest
Tests that exercise the SLPC get/set frequency interfaces. Clamp_max will set max frequency to multiple levels and check that SLPC requests frequency lower than or equal to it. Clamp_min will set min frequency to different levels and check if SLPC requests are higher or equal to those levels. v2: Address review comments (Michal W) v3: Checkpatch() corrections v4: Remove unnecessary header file (Matthew Brost) v5: checkpatch() and define const for 50/3 (Matthew Brost) Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210730202119.23810-14-vinay.belgaumkar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/uc/intel_guc.c')
0 files changed, 0 insertions, 0 deletions