History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Cross-merge networking fixes after downstream PR. No conflicts or adjacent changes.

Jakub Kicinski committed 2 years ago

Commit cf244462 parents cacfd6b 41b9fb3413 files · +4264 −2285Browse files

Showing the changes to include/uapi (1 of 413 files). Show all

Unified · Split

include/uapi/drm/ivpu_accel.h+20−5
@@ -53,7 +53,7 @@ extern "C" { · 52 unmodified lines
5353 #define DRM_IVPU_PARAM_CORE_CLOCK_RATE 3
5454 #define DRM_IVPU_PARAM_NUM_CONTEXTS 4
5555 #define DRM_IVPU_PARAM_CONTEXT_BASE_ADDRESS 5
56−#define DRM_IVPU_PARAM_CONTEXT_PRIORITY 6
56+#define DRM_IVPU_PARAM_CONTEXT_PRIORITY 6 /* Deprecated */
5757 #define DRM_IVPU_PARAM_CONTEXT_ID 7
5858 #define DRM_IVPU_PARAM_FW_API_VERSION 8
5959 #define DRM_IVPU_PARAM_ENGINE_HEARTBEAT 9
@@ -64,11 +64,18 @@ extern "C" { · 4 unmodified lines
6464
6565 #define DRM_IVPU_PLATFORM_TYPE_SILICON 0
6666
67+/* Deprecated, use DRM_IVPU_JOB_PRIORITY */
6768 #define DRM_IVPU_CONTEXT_PRIORITY_IDLE 0
6869 #define DRM_IVPU_CONTEXT_PRIORITY_NORMAL 1
6970 #define DRM_IVPU_CONTEXT_PRIORITY_FOCUS 2
7071 #define DRM_IVPU_CONTEXT_PRIORITY_REALTIME 3
7172
73+#define DRM_IVPU_JOB_PRIORITY_DEFAULT 0
74+#define DRM_IVPU_JOB_PRIORITY_IDLE 1
75+#define DRM_IVPU_JOB_PRIORITY_NORMAL 2
76+#define DRM_IVPU_JOB_PRIORITY_FOCUS 3
77+#define DRM_IVPU_JOB_PRIORITY_REALTIME 4
78+
7279 /**
7380 * DRM_IVPU_CAP_METRIC_STREAMER
7481 *
@@ -112,10 +119,6 @@ struct drm_ivpu_param { · 37 unmodified lines
112119 * %DRM_IVPU_PARAM_CONTEXT_BASE_ADDRESS:
113120 * Lowest VPU virtual address available in the current context (read-only)
114121 *
115− * %DRM_IVPU_PARAM_CONTEXT_PRIORITY:
116− * Value of current context scheduling priority (read-write).
117− * See DRM_IVPU_CONTEXT_PRIORITY_* for possible values.
118− *
119122 * %DRM_IVPU_PARAM_CONTEXT_ID:
120123 * Current context ID, always greater than 0 (read-only)
121124 *
@@ -286,6 +289,18 @@ struct drm_ivpu_submit { · 164 unmodified lines
286289 * to be executed. The offset has to be 8-byte aligned.
287290 */
288291 __u32 commands_offset;
292+
293+ /**
294+ * @priority:
295+ *
296+ * Priority to be set for related job command queue, can be one of the following:
297+ * %DRM_IVPU_JOB_PRIORITY_DEFAULT
298+ * %DRM_IVPU_JOB_PRIORITY_IDLE
299+ * %DRM_IVPU_JOB_PRIORITY_NORMAL
300+ * %DRM_IVPU_JOB_PRIORITY_FOCUS
301+ * %DRM_IVPU_JOB_PRIORITY_REALTIME
302+ */
303+ __u32 priority;
289304 };
290305
291306 /* drm_ivpu_bo_wait job status codes */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t