Skip to content

Commit 1b842f7

Browse files
drm/i915/guc: Remove some obsolete definitions
There were a bunch of defines and structures left over from an API update a very long time ago. Remove them. Signed-off-by: John Harrison <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 419491e commit 1b842f7

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@
3535
#define GUC_MAX_CONTEXT_ID 65535
3636
#define GUC_INVALID_CONTEXT_ID GUC_MAX_CONTEXT_ID
3737

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-
4538
#define GUC_RENDER_CLASS 0
4639
#define GUC_VIDEO_CLASS 1
4740
#define GUC_VIDEOENHANCE_CLASS 2
@@ -499,32 +492,6 @@ struct guc_log_buffer_state {
499492
u32 version;
500493
} __packed;
501494

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-
528495
/* This action will be programmed in C1BC - SOFT_SCRATCH_15_REG */
529496
enum intel_guc_recv_message {
530497
INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED = BIT(1),

0 commit comments

Comments
 (0)