summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/Kconfig
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-03-03 16:52:16 -0800
committerRob Clark <robdclark@chromium.org>2022-03-04 11:59:31 -0800
commit90f45c42d7d7b0ec0fd797485c07fc421c474e12 (patch)
tree152e021024f941ad5476aa2585f455bb58d4d321 /drivers/gpu/drm/sti/Kconfig
parentf7ddbf5581b474fe4a0a29244acaa1bf72234675 (diff)
drm/msm: Add SYSPROF param (v2)
Add a SYSPROF param for system profiling tools like Mesa's pps-producer (perfetto) to control behavior related to system-wide performance counter collection. In particular, for profiling, one wants to ensure that GPU context switches do not effect perfcounter state, and might want to suppress suspend (which would cause counters to lose state). v2: Swap the order in msm_file_private_set_sysprof() [sboyd] and initialize the sysprof_active refcount to one (because the under/ overflow checking in refcount_t doesn't expect a 0->1 transition) meaning that values greater than 1 means sysprof is active. Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20220304005317.776110-4-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/sti/Kconfig')
0 files changed, 0 insertions, 0 deletions