From: Anirban Sk
To rule out the sporadic failure, updating the sleep time (time period
to measure the power).
Signed-off-by: Anirban Sk
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/selftest_rc6.c
b/
From: Anirban Sk
Sometimes gt_pm live_rc6_manual selftest fails due to no power being
measured for the rc6 disabled period. Therefore increasing the rc6 disable
period from 250ms to 1000ms to rule out such sporadic failure.
Signed-off-by: Anirban Sk
Reviewed-by: Anshuman Gupta
Change log:
v2:
From: Anirban Sk
Sometimes gt_pm live_rc6_manual selftest fails due to no power being
measured for the rc6 disabled period. Therefore increasing the rc6 disable
period from 250ms to 1000ms to rule out such sporadic failure.
v3 : More descriptive and improved commit message (Anshuman)
Signed-off
This commit introduces a frequency check mechanism aimed at ensuring
the accuracy of energy readings.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/selftest_rc6.c
b/drivers/gpu/drm/i915/gt
This commit introduces a frequency check mechanism aimed at ensuring
the accuracy of energy readings.
v2 : Improved commit message
Signed-off-by: Anirban Sk
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/selftest_rc6.
From: Sk Anirban
Introduce RC6 & RC0 frequency logging mechanism aimed at ensuring
the accuracy of energy readings in case of GPU energy leak.
v2:
- Improved commit message.
v3:
- Used pr_err log to display frequency. (Anshuman)
- Sorted headers alphabetically. (Sai Teja)
v4:
- Impr
ency (Anshuman)
- Sorted headers alphabetically (Sai Teja)
v4:
- Improved commit message
- Fix pr_err log (Sai Teja)
v5:
-Add error & debug logging for RC0 power and frequency checks (Anshuman)
Signed-off-by: Sk Anirban
Reviewed-by: Sai Teja Pottumuttu
---
drivers/gpu/drm/i915/gt/self
ency (Anshuman)
- Sorted headers alphabetically (Sai Teja)
v4:
- Improved commit message.
- Fix pr_err log (Sai Teja)
v5:
- Add error & debug logging for RC0 power and frequency checks (Anshuman)
v6:
- Modify debug logging for RC0 power and frequency checks (Sai Teja)
Signed-off-by: Sk
From: Sk Anirban
Introduce RC6 & RC0 frequency logging mechanism aimed at ensuring
the accuracy of energy readings in case of GPU energy leak.
v2:
- Improved commit message.
v3:
- Used pr_err log to display frequency. (Anshuman)
- Sorted headers alphabetically. (Sai Teja)
v4:
- Impr
This commit introduces a frequency check mechanism aimed at ensuring
the accuracy of energy readings.
v2:
- Improved commit message.
v3:
- Used pr_err log to display frequency. (Anshuman)
- Sorted headers alphabetically. (Sai Teja)
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt
measured but frequency is (Anshuman)
- Improved commit message (Badal)
- Change API to read actual frequency without applying forcewake (Badal)
- Update sleep time for RC6 mode (Anshuman)
Signed-off-by: Sk Anirban
Reviewed-by: Sai Teja Pottumuttu
---
drivers/gpu/drm/i915/gt/selfte
Add delays to allow frequency stabilization before power measurement
to fix sporadic power conservation issues in live_rps_power test.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rps.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt
Add delays to allow frequency stabilization before power measurement
to fix sporadic power conservation issues in live_rps_power test.
v2:
- Move delay to respective function (Badal)
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rps.c | 1 +
1 file changed, 1 insertion
Improve RC6 power measurement and error handling. Add detailed error
messages, and introduce a threshold check for RC6 residency.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 61 +-
1 file changed, 40 insertions(+), 21 deletions(-)
diff --git a
Fix the frequency calculation by ensuring it uses the raw frequency only.
Update live_rps_power test to use the correct frequency values for logging
and comparison.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Add dedicated functions to measuring power in SLPC and
for rps use read_cagf to use the raw frequency to measure power,
ensuring more accurate and reliable power measurements.
Sk Anirban (2):
drm/i915/selftests: Correct frequency handling in RPS power
measurement
drm/i915/guc/slpc: Add
Previously, the RPS function was being used, which utilizes
raw frequency to calculate measured power. This commit introduces
a dedicated function specifically for measuring power in SLPC,
ensuring more accurate and reliable power measurements.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915
From: Sk Anirban
Fix the frequency calculation by ensuring it is adjusted
only once during power measurement. Update live_rps_power test
to use the correct frequency values for logging and comparison.
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rps.c | 9 +
1 file
From: Sk Anirban
Fix the frequency calculation by ensuring it is adjusted
only once during power measurement. Update live_rps_power test
to use the correct frequency values for logging and comparison.
v2:
- Improved frequency logging (Riana)
Signed-off-by: Sk Anirban
Reviewed-by: Riana
From: Sk Anirban
Refactor power measurement logic to store and compare energy values.
Previously, the code only checked whether the system had entered the RC6
state, without considering any potential interruptions in that state.
This update introduces a threshold check to ensure that the GPU
state properly during the specified sleep duration.
v3:
- Reorder threshold check (Badal)
v4:
- Improved commit message (Anshuman)
v5:
- Rename variables for improved readability (Anshuman)
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 51
state properly during the specified sleep duration.
v3:
- Reorder threshold check (Badal)
v4:
- Improved commit message (Anshuman)
v5:
- Rename variables for improved readability (Anshuman)
Signed-off-by: Sk Anirban
Reviewed-by: Badal Nilawar
---
drivers/gpu/drm/i915/gt/selftest_rc6.c
From: Sk Anirban
In SLPC, the num_waiters atomic variable can become negative if a request
retires without a proper frequency boost. This issue prevents the
frequency boost from being triggered in subsequent boost iterations.
This check stops the counter from going negative to ensures the
From: Sk Anirban
Refactor power measurement logic to store and compare energy values.
Introduce a threshold check to ensure the GPU enters RC6 properly.
v2:
- Improved commit message (Badal)
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/selftest_rc6.c | 61
From: Sk Anirban
Refactor power measurement logic to store and compare energy values.
Introduce a threshold check to ensure the GPU enters RC6 properly.
v2:
- Improved commit message (Badal)
v3:
- Reorder threshold check (Badal)
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt
i
Cc: Andrzej Hajda
Signed-off-by: Badal Nilawar
Signed-off-by: Sk Anirban
---
drivers/gpu/drm/i915/gt/intel_rc6.c | 19 ---
.../gpu/drm/i915/selftests/i915_selftest.c| 18 ++
2 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/dri
From: Sk Anirban
The current implementation of live_rc6_manual disables power gating
after execution due to the deactivation of RC6.
This update aims to re-enable power gating following the completion
of the self-test. However, as a temporary workaround
for forcewake timeouts, power gating will
From: Sk Anirban
The current implementation of live_rc6_manual disables power gating
after execution due to the deactivation of RC6.
This update aims to re-enable power gating following the completion
of the self-test. However, as a temporary workaround
for forcewake timeouts, power gating will
28 matches
Mail list logo