[Intel-gfx] [PATCH i-g-t v2] tests/pm_rps: Move some test logic out of boost function

2017-10-18 Thread Radoslaw Szwichtenberg
Moving code out of the boost function will allow its usage in other/new test scenarios. Signed-off-by: Radoslaw Szwichtenberg --- tests/pm_rps.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index 89f3e31c..fa548260 100644

[Intel-gfx] [PATCH i-g-t] tests/pm_rps: Move some test logic out of boost function

2017-10-17 Thread Radoslaw Szwichtenberg
Moving code out of the boost function will allow its usage in other/new test scenarios. Signed-off-by: Radoslaw Szwichtenberg Cc: Sagar Arun Kamble --- tests/pm_rps.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index

[Intel-gfx] [PATCH i-g-t v2] lib/ioctl_wrappers: Fix function descriptions

2017-06-23 Thread Radoslaw Szwichtenberg
Function description incorrectly stated that gem_context_get_param and gem_context_set_param were freeing hw context. v2: removed additional incorrect information Signed-off-by: Radoslaw Szwichtenberg --- lib/ioctl_wrappers.c | 12 1 file changed, 4 insertions(+), 8 deletions

[Intel-gfx] [PATCH i-g-t] lib/ioctl_wrappers: Fix function descriptions

2017-06-23 Thread Radoslaw Szwichtenberg
Function description incorrectly stated that gem_context_get_param and gem_context_set_param were freeing hw context. Signed-off-by: Radoslaw Szwichtenberg --- lib/ioctl_wrappers.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ioctl_wrappers.c b/lib

[Intel-gfx] [PATCH i-g-t] tests/pm_rps: Replace custom load function with dummy load

2017-06-07 Thread Radoslaw Szwichtenberg
Replaced custom load implementation with lib counterpart. Signed-off-by: Radoslaw Szwichtenberg Cc: Chris Wilson Cc: Arkadiusz Hiler --- tests/pm_rps.c | 80 -- 1 file changed, 16 insertions(+), 64 deletions(-) diff --git a/tests

[Intel-gfx] [PATCH i-g-t 1/2] tests/pm_rps: Replace custom load function with dummy load

2017-02-24 Thread Radoslaw Szwichtenberg
There is no point in using custom function if there lib counterpart. Cc: Arkadiusz Hiler Cc: Michal Winiarski Signed-off-by: Radoslaw Szwichtenberg --- tests/pm_rps.c | 79 +++--- 1 file changed, 14 insertions(+), 65 deletions(-) diff --git

[Intel-gfx] [PATCH i-g-t 2/2] tests/pm_rps: Add waitboost-softlimit test

2017-02-24 Thread Radoslaw Szwichtenberg
Test verifies that frequency gets boosted to gt_boost_freq_mhz even though gt_max_freq_mhz is lower than gt_boost_freq_mhz. Cc: Arkadiusz Hiler Cc: Michal Winiarski Signed-off-by: Radoslaw Szwichtenberg --- tests/pm_rps.c | 33 - 1 file changed, 32 insertions