Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <John.C.Harrison@Intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230531155942.441862-1-John.C.Harrison@Intel.com

-33
-33
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h
··· 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 ··· 490 497 u32 flags; 491 498 }; 492 499 u32 version; 493 - } __packed; 494 - 495 - struct guc_ctx_report { 496 - u32 report_return_status; 497 - u32 reserved1[64]; 498 - u32 affected_count; 499 - u32 reserved2[2]; 500 - } __packed; 501 - 502 - /* GuC Shared Context Data Struct */ 503 - struct guc_shared_ctx_data { 504 - u32 addr_of_last_preempted_data_low; 505 - u32 addr_of_last_preempted_data_high; 506 - u32 addr_of_last_preempted_data_high_tmp; 507 - u32 padding; 508 - u32 is_mapped_to_proxy; 509 - u32 proxy_ctx_id; 510 - u32 engine_reset_ctx_id; 511 - u32 media_reset_count; 512 - u32 reserved1[8]; 513 - u32 uk_last_ctx_switch_reason; 514 - u32 was_reset; 515 - u32 lrca_gpu_addr; 516 - u64 execlist_ctx; 517 - u32 reserved2[66]; 518 - struct guc_ctx_report preempt_ctx_report[GUC_MAX_ENGINES_NUM]; 519 500 } __packed; 520 501 521 502 /* This action will be programmed in C1BC - SOFT_SCRATCH_15_REG */