|
35 | 35 | #define GUC_MAX_CONTEXT_ID 65535
|
36 | 36 | #define GUC_INVALID_CONTEXT_ID GUC_MAX_CONTEXT_ID
|
37 | 37 |
|
38 |
| -#define GUC_RENDER_ENGINE 0 |
39 |
| -#define GUC_VIDEO_ENGINE 1 |
40 |
| -#define GUC_BLITTER_ENGINE 2 |
41 |
| -#define GUC_VIDEOENHANCE_ENGINE 3 |
42 |
| -#define GUC_VIDEO_ENGINE2 4 |
43 |
| -#define GUC_MAX_ENGINES_NUM (GUC_VIDEO_ENGINE2 + 1) |
44 |
| - |
45 | 38 | #define GUC_RENDER_CLASS 0
|
46 | 39 | #define GUC_VIDEO_CLASS 1
|
47 | 40 | #define GUC_VIDEOENHANCE_CLASS 2
|
@@ -499,32 +492,6 @@ struct guc_log_buffer_state {
|
499 | 492 | u32 version;
|
500 | 493 | } __packed;
|
501 | 494 |
|
502 |
| -struct guc_ctx_report { |
503 |
| - u32 report_return_status; |
504 |
| - u32 reserved1[64]; |
505 |
| - u32 affected_count; |
506 |
| - u32 reserved2[2]; |
507 |
| -} __packed; |
508 |
| - |
509 |
| -/* GuC Shared Context Data Struct */ |
510 |
| -struct guc_shared_ctx_data { |
511 |
| - u32 addr_of_last_preempted_data_low; |
512 |
| - u32 addr_of_last_preempted_data_high; |
513 |
| - u32 addr_of_last_preempted_data_high_tmp; |
514 |
| - u32 padding; |
515 |
| - u32 is_mapped_to_proxy; |
516 |
| - u32 proxy_ctx_id; |
517 |
| - u32 engine_reset_ctx_id; |
518 |
| - u32 media_reset_count; |
519 |
| - u32 reserved1[8]; |
520 |
| - u32 uk_last_ctx_switch_reason; |
521 |
| - u32 was_reset; |
522 |
| - u32 lrca_gpu_addr; |
523 |
| - u64 execlist_ctx; |
524 |
| - u32 reserved2[66]; |
525 |
| - struct guc_ctx_report preempt_ctx_report[GUC_MAX_ENGINES_NUM]; |
526 |
| -} __packed; |
527 |
| - |
528 | 495 | /* This action will be programmed in C1BC - SOFT_SCRATCH_15_REG */
|
529 | 496 | enum intel_guc_recv_message {
|
530 | 497 | INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED = BIT(1),
|
|
0 commit comments