Kamil Kopryk
dd3d294f87
performance: cache MOCS values
...
This change caches the most used MOCS values:
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CONST);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CACHELINE_MISALIGNED);
inside gmmHelper class during initialization to avoid repeated
calls of virtual functions, branches and/or gmm lib access.
and adds more readably corresponding getters:
* getL1EnabledMOCS
* getL3EnabledMOCS
* getUncachedMOCS
If force all resources uncached is called,
these 3 cached mocs values are reinitialized
It also changes the order of gmmHelper members, to avoid
not needed padding after addressWidth
and simplifies logic in getMocsIndex function
for xehp and later products.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-04-14 14:12:48 +02:00
..
2024-03-22 11:03:18 +01:00
2025-01-07 13:25:12 +01:00
2025-01-15 02:43:40 +01:00
2024-09-10 19:24:45 +02:00
2024-03-22 11:03:18 +01:00
2023-12-19 08:18:18 +01:00
2024-05-20 14:15:17 +02:00
2024-05-20 14:15:17 +02:00
2024-10-11 18:34:06 +02:00
2024-09-10 08:43:36 +02:00
2023-11-30 13:00:59 +01:00
2023-01-05 12:58:38 +01:00
2025-03-24 13:10:03 +01:00
2023-11-29 23:49:03 +01:00
2024-09-06 14:11:33 +02:00
2025-02-28 12:02:22 +01:00
2023-12-04 13:45:53 +01:00
2023-12-19 08:18:18 +01:00
2023-11-29 23:49:03 +01:00
2024-05-20 11:55:24 +02:00
2025-02-10 14:20:09 +01:00
2025-02-18 17:16:03 +01:00
2024-07-18 12:02:50 +02:00
2025-02-06 14:11:23 +01:00
2025-04-14 14:12:48 +02:00
2025-01-27 18:34:48 +01:00
2025-04-14 14:12:48 +02:00
2025-02-06 14:11:23 +01:00
2025-01-22 18:35:21 +01:00
2023-12-19 10:36:25 +01:00
2023-01-17 18:51:40 +01:00
2025-03-07 17:29:04 +01:00
2025-03-07 17:29:04 +01:00
2022-08-31 14:31:23 +02:00
2024-11-28 16:19:39 +01:00
2023-11-30 13:00:59 +01:00
2024-11-29 09:43:11 +01:00
2025-01-22 22:47:24 +01:00
2025-02-13 18:15:59 +01:00
2025-02-13 18:15:59 +01:00
2022-05-19 10:43:20 +02:00
2025-02-28 12:02:22 +01:00
2025-03-17 19:41:55 +01:00
2025-02-03 15:31:51 +01:00
2024-03-28 15:27:45 +01:00
2023-06-22 08:38:53 +02:00
2025-04-02 21:06:05 +02:00
2023-11-20 12:16:33 +01:00
2025-02-18 20:19:15 +01:00
2023-03-14 12:09:26 +01:00
2023-03-14 12:09:26 +01:00
2023-06-02 12:10:21 +02:00
2023-06-02 12:10:21 +02:00
2025-02-18 20:19:15 +01:00
2023-11-20 12:16:33 +01:00
2025-02-18 20:19:15 +01:00
2023-11-30 13:00:59 +01:00
2025-04-02 21:06:05 +02:00
2023-06-30 10:46:20 +02:00
2025-02-10 14:54:03 +01:00
2024-12-12 12:30:22 +01:00
2024-09-10 08:43:36 +02:00
2023-01-25 09:16:39 +01:00
2025-01-16 15:49:44 +01:00
2024-08-05 15:09:57 +02:00
2024-08-05 15:09:57 +02:00
2023-12-19 08:18:18 +01:00
2023-03-02 08:25:50 +01:00
2023-01-11 09:10:45 +01:00
2023-01-11 09:10:45 +01:00
2024-07-19 12:23:03 +02:00
2024-10-09 16:30:48 +02:00
2025-04-09 19:51:46 +02:00
2024-03-08 13:34:19 +01:00
2025-04-09 19:51:46 +02:00
2023-01-27 19:28:45 +01:00
2024-03-07 12:52:08 +01:00
2023-12-19 08:18:18 +01:00
2023-01-27 19:28:45 +01:00
2023-12-13 14:48:52 +01:00
2023-12-13 14:48:52 +01:00
2025-04-14 14:12:48 +02:00
2024-10-09 16:30:48 +02:00
2024-05-07 14:08:28 +02:00
2023-11-30 13:00:59 +01:00
2025-04-07 11:22:04 +02:00
2024-05-07 14:08:28 +02:00
2025-04-11 17:26:29 +02:00
2025-01-07 11:39:56 +01:00
2025-04-14 14:12:48 +02:00
2025-01-14 21:08:44 +01:00
2025-03-27 01:34:35 +01:00
2024-05-16 15:05:07 +02:00
2024-05-16 15:05:07 +02:00
2024-08-26 14:10:53 +02:00
2022-11-23 10:30:13 +01:00
2023-12-12 11:46:17 +01:00
2023-10-19 19:52:24 +02:00
2023-12-13 08:08:51 +01:00
2024-08-01 13:54:51 +02:00
2022-07-25 09:58:38 +02:00
2024-02-06 08:27:09 +01:00
2024-02-06 08:27:09 +01:00
2024-12-23 13:28:06 +01:00
2025-02-25 17:56:53 +01:00
2023-02-24 09:27:12 +01:00
2025-03-27 01:34:35 +01:00
2023-12-01 08:34:19 +01:00
2025-02-13 17:35:54 +01:00
2025-02-20 11:11:29 +01:00
2025-02-27 23:11:19 +01:00
2025-01-13 22:56:25 +01:00
2024-08-06 14:03:42 +02:00
2024-03-22 14:24:00 +01:00
2024-10-02 16:14:40 +02:00
2024-03-22 11:03:18 +01:00
2023-01-16 11:45:55 +01:00
2023-12-19 11:30:39 +01:00
2023-11-30 13:00:59 +01:00
2023-01-05 15:55:14 +01:00
2023-12-19 08:18:18 +01:00
2023-11-30 13:00:59 +01:00
2023-02-15 09:41:20 +01:00
2023-01-10 07:56:16 +01:00
2022-12-08 16:14:38 +01:00
2025-02-18 09:41:20 +01:00
2024-08-06 13:04:02 +02:00
2024-09-10 19:24:45 +02:00
2023-11-30 13:00:59 +01:00
2024-03-22 11:03:18 +01:00
2024-02-23 13:12:15 +01:00
2022-09-15 15:38:10 +02:00
2022-12-08 16:14:38 +01:00
2024-10-08 13:58:11 +02:00
2024-12-23 14:31:20 +01:00
2025-03-27 01:34:35 +01:00
2024-10-09 16:59:43 +02:00
2025-03-27 01:34:35 +01:00
2025-03-27 01:34:35 +01:00
2024-06-06 10:06:44 +02:00
2024-11-29 10:27:29 +01:00
2025-03-20 21:59:44 +01:00
2025-02-17 14:19:10 +01:00
2024-07-03 13:30:46 +02:00
2025-02-13 19:47:57 +01:00
2023-10-10 15:14:30 +02:00
2024-08-07 08:30:51 +02:00
2025-04-14 12:25:38 +02:00
2023-02-22 15:17:29 +01:00
2024-09-20 11:57:05 +02:00
2025-02-03 15:31:51 +01:00
2023-08-18 15:59:20 +02:00
2025-02-03 15:31:51 +01:00
2025-04-14 14:12:48 +02:00
2025-03-27 01:34:35 +01:00
2023-04-13 10:46:47 +02:00
2022-12-08 16:14:38 +01:00
2022-08-22 17:16:53 +02:00
2025-01-15 09:02:01 +01:00
2023-05-30 12:09:05 +02:00
2024-05-09 13:43:39 +02:00
2024-05-09 13:43:39 +02:00
2025-02-20 19:24:15 +01:00
2024-10-07 11:42:55 +02:00
2024-02-16 13:55:00 +01:00
2023-04-25 13:10:23 +02:00
2023-04-19 14:26:25 +02:00
2024-11-29 10:27:29 +01:00