mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
disp: msm: sde: add profiling counters support for RSC
Add support for enabling and reading profiling counters via debugfs. This change also introduces RSC rev 4 (first rev supporting profiling counters), enabling all relevant rev 3 features as well. Change-Id: I0326215b069a37c91072965379b0b4843916ee0a Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
parent
7e6415ab67
commit
80aa9f9c32
5 changed files with 240 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SDE_RSC_H_
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
#define SDE_RSC_INDEX 0
|
||||
|
||||
#define MAX_RSC_CLIENT_NAME_LEN 128
|
||||
#define NUM_RSC_PROFILING_COUNTERS 3
|
||||
|
||||
/* DRM Object IDs are numbered excluding 0, use 0 to indicate invalid CRTC */
|
||||
#define SDE_RSC_INVALID_CRTC_ID 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue