Imre Deak
b32b5327a2
tests/pm_rps: vlv: round middle point to freq supported by HW
...
When setting the calculated middle frequency value the test assumes that
the HW/kernel rounds this value according to a 50MHz step value. This is
not so at least on VLV/CHV, on my B0 BYT-M for example this step value
is 22MHz, so there the test will fail.
To fix this get the nearest supported value by setting the target
frequency as a min or max frequency and read it back. The kernel will
round the returned value to the nearest supported.
v2:
- remove the 50MHz rounding that was done for non-VLV platforms, the new
way of rounding should provide the correct value for all platforms
(Ville)
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Imre Deak <imre.deak@intel.com>
2014-12-08 12:36:59 +02:00
..
2014-12-05 14:34:33 +00:00
2013-09-30 18:04:21 +01:00
2013-09-30 18:04:21 +01:00
2014-12-01 13:53:00 +00:00
2012-04-10 16:23:18 +02:00
2014-03-22 21:07:37 +01:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2013-08-21 23:18:00 +02:00
2013-07-01 18:54:40 +02:00
2013-07-01 18:54:40 +02:00
2014-09-19 09:32:14 +02:00
2014-11-06 13:24:30 +00:00
2014-12-08 07:58:13 +00:00
2014-08-30 11:44:51 +01:00
2014-03-22 21:34:29 +01:00
2014-03-22 21:34:29 +01:00
2014-12-04 16:07:55 +00:00
2013-11-04 19:49:10 +01:00
2014-12-01 18:09:35 +01:00
2014-09-06 17:26:21 +01:00
2014-07-10 19:55:07 +02:00
2014-05-14 00:36:04 +02:00
2014-11-17 14:43:33 +01:00
2014-05-14 12:33:02 +01:00
2014-08-30 11:44:51 +01:00
2014-08-30 11:44:51 +01:00
2014-08-30 11:44:51 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:48:06 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-07-12 09:13:12 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 09:56:53 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-08-29 13:20:36 +01:00
2014-11-12 13:43:04 +01:00
2014-05-14 00:36:04 +02:00
2014-11-04 12:08:50 +00:00
2014-06-21 15:40:25 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 10:17:24 +08:00
2014-12-04 16:07:55 +00:00
2014-09-03 12:03:56 +01:00
2014-11-04 12:08:50 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-11-04 12:08:50 +00:00
2014-12-04 16:07:55 +00:00
2014-11-04 12:08:50 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-11-04 12:08:50 +00:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-11-11 17:38:46 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-08-30 11:44:51 +01:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-22 09:07:45 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-05-14 09:56:53 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-11-17 15:12:52 +01:00
2014-10-06 18:58:03 +01:00
2014-10-23 20:41:18 +03:00
2014-12-04 16:07:55 +00:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-10-02 11:34:55 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2014-09-30 16:46:28 +03:00
2014-11-24 16:29:27 +01:00
2014-11-24 16:29:27 +01:00
2014-11-06 13:24:29 +00:00
2014-11-06 13:24:29 +00:00
2014-12-04 16:07:55 +00:00
2014-12-01 13:18:15 +02:00
2014-12-04 16:07:55 +00:00
2014-11-24 16:29:27 +01:00
2014-11-24 16:29:27 +01:00
2014-09-30 16:46:28 +03:00
2014-11-04 12:08:50 +00:00
2014-11-24 16:29:27 +01:00
2014-11-18 15:17:43 +01:00
2014-11-24 16:29:27 +01:00
2014-09-30 16:46:28 +03:00
2014-11-06 13:25:03 +00:00
2013-11-04 19:49:10 +01:00
2014-11-24 16:29:27 +01:00
2014-11-12 10:39:41 +00:00
2014-12-05 14:34:33 +00:00
2014-05-16 10:33:28 +02:00
2012-08-08 08:51:55 +02:00
2014-09-30 16:46:28 +03:00
2014-10-14 10:22:21 -07:00
2014-11-14 00:18:30 +02:00
2014-12-08 12:36:59 +02:00
2014-05-14 10:44:16 +02:00
2014-08-30 11:44:51 +01:00
2014-11-04 17:25:33 +01:00
2014-12-04 16:07:55 +00:00
2014-03-22 21:34:29 +01:00
2014-09-30 17:54:02 +01:00
2013-11-01 21:10:59 +01:00
2014-07-23 21:03:07 +02:00
2014-06-13 18:27:59 +02:00
2014-11-06 13:24:30 +00:00
2012-01-24 10:50:10 +01:00
2014-07-23 21:03:07 +02:00
2012-01-15 16:05:43 +01:00