drm/i915: cleanup dead code
Subsystems (6)
v2 cover drm/i915: cleanup dead code
Remove platforms that never had their PCI IDs added to the driver and are of course marked with requiring force_probe. Note that most of the code for those platforms is actually used by subsequent ones, so it's not a huge amount of code being removed.
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h is also changed on the xe side, but that should be ok: the defines are there only for compat reasons while building the display side (and none of these platforms have display, so it's build-issue only).
v2: handle feedback from Rodrigo, Tvrtko and Matt Roper, mainly
- Add a patch to remove XEHP_FWRANGES()
- Split out a patch touching i915_pci.c, removing the version from the _FEATURES macros
- Fix holes in the forcewake tables
Lucas De Marchi (6):
drm/i915: Drop dead code for xehpsdv drm/i915: Remove XEHP_FWRANGES() drm/i915: Stop inheriting IP_VER(12, 50) drm/i915: Update IP_VER(12, 50)
drm/i915: Drop dead code for pvc drm/i915: Remove special handling for !RCS_MASK()
Documentation/gpu/rfc/i915_vm_bind.h | 11 +- .../gpu/drm/i915/gem/i915_gem_object_types.h | 2 +- .../gpu/drm/i915/gem/selftests/huge_pages.c | 4 +- .../i915/gem/selftests/i915_gem_client_blt.c | 8 +- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 5 +- drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 40 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 43 +- .../drm/i915/gt/intel_execlists_submission.c | 10 +- drivers/gpu/drm/i915/gt/intel_gsc.c | 15 - drivers/gpu/drm/i915/gt/intel_gt.c | 4 +- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 52 +-- drivers/gpu/drm/i915/gt/intel_gt_mcr.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 59 --- drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 21 +- drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +- drivers/gpu/drm/i915/gt/intel_lrc.c | 51 +-- drivers/gpu/drm/i915/gt/intel_migrate.c | 22 +- drivers/gpu/drm/i915/gt/intel_mocs.c | 52 +-- drivers/gpu/drm/i915/gt/intel_rps.c | 6 +- drivers/gpu/drm/i915/gt/intel_sseu.c | 13 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 183 +-------- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 6 +- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 4 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 1 - .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 4 - drivers/gpu/drm/i915/i915_debugfs.c | 12 - drivers/gpu/drm/i915/i915_drv.h | 13 - drivers/gpu/drm/i915/i915_getparam.c | 4 +- drivers/gpu/drm/i915/i915_gpu_error.c | 5 +- drivers/gpu/drm/i915/i915_hwmon.c | 6 - drivers/gpu/drm/i915/i915_pci.c | 61 +-- drivers/gpu/drm/i915/i915_perf.c | 19 +- drivers/gpu/drm/i915/i915_query.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 4 +- drivers/gpu/drm/i915/intel_clock_gating.c | 26 +- drivers/gpu/drm/i915/intel_device_info.c | 2 - drivers/gpu/drm/i915/intel_device_info.h | 2 - drivers/gpu/drm/i915/intel_step.c | 80 +--- drivers/gpu/drm/i915/intel_uncore.c | 380 +++++------------- drivers/gpu/drm/i915/selftests/intel_uncore.c | 3 - .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 6 - 43 files changed, 215 insertions(+), 1034 deletions(-)
Signature · 1 line
2.43.0
PATCH v2 1/6 drm/i915: Drop dead code for xehpsdv
PCI IDs for XEHPSDV were never added and platform always marked with force_probe. Drop what's not used and rename some places to either be xehp or dg2, depending on the platform/IP checks.
The registers not used anymore are also removed.
--- Documentation/gpu/rfc/i915_vm_bind.h | 11 +-- drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 40 ++++---- drivers/gpu/drm/i915/gt/intel_gsc.c | 15 --- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 20 +--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 50 ---------- drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 21 ++-- drivers/gpu/drm/i915/gt/intel_lrc.c | 43 --------- drivers/gpu/drm/i915/gt/intel_migrate.c | 18 ++-- drivers/gpu/drm/i915/gt/intel_mocs.c | 31 ------ drivers/gpu/drm/i915/gt/intel_rps.c | 2 - drivers/gpu/drm/i915/gt/intel_workarounds.c | 95 ------------------- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 4 +- drivers/gpu/drm/i915/i915_drv.h | 4 - drivers/gpu/drm/i915/i915_hwmon.c | 6 -- drivers/gpu/drm/i915/i915_pci.c | 17 ---- drivers/gpu/drm/i915/i915_perf.c | 11 +-- drivers/gpu/drm/i915/i915_reg.h | 3 +- drivers/gpu/drm/i915/intel_clock_gating.c | 10 -- drivers/gpu/drm/i915/intel_device_info.c | 1 - drivers/gpu/drm/i915/intel_device_info.h | 1 - drivers/gpu/drm/i915/intel_step.c | 10 -- drivers/gpu/drm/i915/intel_uncore.c | 23 +---- drivers/gpu/drm/i915/selftests/intel_uncore.c | 1 - .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 - 24 files changed, 55 insertions(+), 384 deletions(-)
Documentation/gpu/rfc/i915_vm_bind.h +5 -6
@@ -93,12 +93,11 @@ struct drm_i915_gem_timeline_fence {* Multiple VA mappings can be created to the same section of the object * (aliasing). * -* The @start, @offset and @length must be 4K page aligned. However the DG2 -* and XEHPSDV has 64K page size for device local memory and has compact page -* table. On those platforms, for binding device local-memory objects, the -* @start, @offset and @length must be 64K aligned. Also, UMDs should not mix -* the local memory 64K page and the system memory 4K page bindings in the same -* 2M range. +* The @start, @offset and @length must be 4K page aligned. However the DG2 has +* 64K page size for device local memory and has compact page table. On that +* platform, for binding device local-memory objects, the @start, @offset and +* @length must be 64K aligned. Also, UMDs should not mix the local memory 64K +* page and the system memory 4K page bindings in the same 2M range. * * Error code -EINVAL will be returned if @start, @offset and @length are not * properly aligned. In version 1 (See I915_PARAM_VM_BIND_VERSION), error code
drivers/gpu/drm/i915/gt/gen8_ppgtt.c +20 -20
@@ -500,11 +500,11 @@ gen8_ppgtt_insert_pte(struct i915_ppgtt *ppgtt, }static void -xehpsdv_ppgtt_insert_huge (struct i915_address_space *vm, -struct i915_vma_resource *vma_res, -struct sgt_dma *iter, -unsigned int pat_index, -u32 flags) +xehp_ppgtt_insert_huge (struct i915_address_space *vm, +struct i915_vma_resource *vma_res, +struct sgt_dma *iter, +unsigned int pat_index, +u32 flags) {const gen8_pte_t pte_encode = vm->pte_encode (0 , pat_index, flags);unsigned int rem =sg_dma_len (iter->sg);
@@ -741,8 +741,8 @@ static void gen8_ppgtt_insert(struct i915_address_space *vm,struct sgt_dma iter =sgt_dma (vma_res);if (vma_res->bi.page_sizes.sg >I915_GTT_PAGE_SIZE ) { -if (GRAPHICS_VER_FULL (vm->i915) >=IP_VER (12 ,50 )) -xehpsdv_ppgtt_insert_huge (vm, vma_res, &iter, pat_index, flags); +if (GRAPHICS_VER_FULL (vm->i915) >=IP_VER (12 ,55 )) +xehp_ppgtt_insert_huge (vm, vma_res, &iter, pat_index, flags);else gen8_ppgtt_insert_huge (vm, vma_res, &iter, pat_index, flags); }else {
@@ -781,11 +781,11 @@ static void gen8_ppgtt_insert_entry(struct i915_address_space *vm,drm_clflush_virt_range (&vaddr[gen8_pd_index (idx,0 )],sizeof (*vaddr)); } -static void __xehpsdv_ppgtt_insert_entry_lm (struct i915_address_space *vm, -dma_addr_t addr, -u64 offset, -unsigned int pat_index, -u32 flags) +static void xehp_ppgtt_insert_entry_lm (struct i915_address_space *vm, +dma_addr_t addr, +u64 offset, +unsigned int pat_index, +u32 flags) {u64 idx = offset >>GEN8_PTE_SHIFT ; struct i915_page_directory * const pdp =
@@ -810,15 +810,15 @@ static void __xehpsdv_ppgtt_insert_entry_lm(struct i915_address_space *vm, vaddr[gen8_pd_index (idx,0 ) /16 ] = vm->pte_encode (addr, pat_index, flags); } -static void xehpsdv_ppgtt_insert_entry (struct i915_address_space *vm, -dma_addr_t addr, -u64 offset, -unsigned int pat_index, -u32 flags) +static void xehp_ppgtt_insert_entry (struct i915_address_space *vm, +dma_addr_t addr, +u64 offset, +unsigned int pat_index, +u32 flags) {if (flags &PTE_LM ) -return __xehpsdv_ppgtt_insert_entry_lm (vm, addr, offset, - pat_index, flags); +return xehp_ppgtt_insert_entry_lm (vm, addr, offset, + pat_index, flags);return gen8_ppgtt_insert_entry (vm, addr, offset, pat_index, flags); }
@@ -1042,7 +1042,7 @@ struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt, ppgtt->vm.bind_async_flags =I915_VMA_LOCAL_BIND ; ppgtt->vm.insert_entries = gen8_ppgtt_insert;if (HAS_64K_PAGES (gt->i915)) - ppgtt->vm.insert_page = xehpsdv_ppgtt_insert_entry; + ppgtt->vm.insert_page = xehp_ppgtt_insert_entry;else ppgtt->vm.insert_page = gen8_ppgtt_insert_entry; ppgtt->vm.allocate_va_range = gen8_ppgtt_alloc;
drivers/gpu/drm/i915/gt/intel_gsc.c +0 -15
@@ -103,19 +103,6 @@ static const struct gsc_def gsc_def_dg1[] = { } }; -static const struct gsc_def gsc_def_xehpsdv[] = { - { -/* HECI1 not enabled on the device. */ - }, - { - .name ="mei-gscfi" , - .bar =DG1_GSC_HECI2_BASE , - .bar_size =GSC_BAR_LENGTH , - .use_polling = true, - .slow_firmware = true, - } -}; -static const struct gsc_def gsc_def_dg2[] = { { .name ="mei-gsc" ,
@@ -188,8 +175,6 @@ static void gsc_init_one(struct drm_i915_private *i915, struct intel_gsc *gsc,if (IS_DG1 (i915)) { def = &gsc_def_dg1[intf_id]; - }else if (IS_XEHPSDV (i915)) { - def = &gsc_def_xehpsdv[intf_id]; }else if (IS_DG2 (i915)) { def = &gsc_def_dg2[intf_id]; }else {
drivers/gpu/drm/i915/gt/intel_gt_mcr.c +2 -18
@@ -57,24 +57,12 @@ static const struct intel_mmio_range icl_l3bank_steering_table[] = {* are of a "GAM" subclass that has special rules. Thus we use a separate * GAM table farther down for those. */ -static const struct intel_mmio_range xehpsdv_mslice_steering_table[] = { +static const struct intel_mmio_range dg2_mslice_steering_table[] = { {0x00DD00 ,0x00DDFF }, {0x00E900 ,0x00FFFF },/* 0xEA00 - OxEFFF is unused */ {}, }; -static const struct intel_mmio_range xehpsdv_gam_steering_table[] = { - {0x004000 ,0x004AFF }, - {0x00C800 ,0x00CFFF }, - {}, -}; - -static const struct intel_mmio_range xehpsdv_lncf_steering_table[] = { - {0x00B000 ,0x00B0FF }, - {0x00D800 ,0x00D8FF }, - {}, -}; -static const struct intel_mmio_range dg2_lncf_steering_table[] = { {0x00B000 ,0x00B0FF }, {0x00D880 ,0x00D8FF },
@@ -188,17 +176,13 @@ void intel_gt_mcr_init(struct intel_gt *gt) }else if (IS_PONTEVECCHIO (i915)) { gt->steering_table[INSTANCE0 ] = pvc_instance0_steering_table; }else if (IS_DG2 (i915)) { - gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; + gt->steering_table[MSLICE ] = dg2_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table;/* * No need to hook up the GAM table since it has a dedicated * steering control register on DG2 and can use implicit * steering. */ - }else if (IS_XEHPSDV (i915)) { - gt->steering_table[MSLICE ] = xehpsdv_mslice_steering_table; - gt->steering_table[LNCF ] = xehpsdv_lncf_steering_table; - gt->steering_table[GAM ] = xehpsdv_gam_steering_table; }else if (GRAPHICS_VER (i915) >=11 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table;
drivers/gpu/drm/i915/gt/intel_gt_regs.h +0 -50
103 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +6 -15
@@ -573,7 +573,6 @@ static ssize_t media_freq_factor_show(struct kobject *kobj, char *buff) {struct intel_gt *gt =intel_gt_sysfs_get_drvdata (kobj, attr->attr.name); -struct intel_guc_slpc *slpc = >_to_guc (gt)->slpc;intel_wakeref_t wakeref;u32 mode;
@@ -581,20 +580,12 @@ static ssize_t media_freq_factor_show(struct kobject *kobj,* Retrieve media_ratio_mode from GEN6_RPNSWREQ bit 13 set by * GuC. GEN6_RPNSWREQ:13 value 0 represents 1:2 and 1 represents 1:1 */ -if (IS_XEHPSDV (gt->i915) && - slpc->media_ratio_mode ==SLPC_MEDIA_RATIO_MODE_DYNAMIC_CONTROL ) { -/* -* For XEHPSDV dynamic mode GEN6_RPNSWREQ:13 does not contain -* the media_ratio_mode, just return the cached media ratio -*/ - mode = slpc->media_ratio_mode; - }else { -with_intel_runtime_pm (gt->uncore->rpm, wakeref) - mode = intel_uncore_read(gt->uncore, GEN6_RPNSWREQ); - mode =REG_FIELD_GET (GEN12_MEDIA_FREQ_RATIO , mode) ? -SLPC_MEDIA_RATIO_MODE_FIXED_ONE_TO_ONE : -SLPC_MEDIA_RATIO_MODE_FIXED_ONE_TO_TWO ; - } +with_intel_runtime_pm (gt->uncore->rpm, wakeref) + mode = intel_uncore_read(gt->uncore, GEN6_RPNSWREQ); + + mode =REG_FIELD_GET (GEN12_MEDIA_FREQ_RATIO , mode) ? +SLPC_MEDIA_RATIO_MODE_FIXED_ONE_TO_ONE : +SLPC_MEDIA_RATIO_MODE_FIXED_ONE_TO_TWO ;return sysfs_emit (buff,"%u\n" ,media_ratio_mode_to_factor (mode)); }
drivers/gpu/drm/i915/gt/intel_lrc.c +0 -43
55 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_migrate.c +9 -9
@@ -35,9 +35,9 @@ static bool engine_supports_migration(struct intel_engine_cs *engine)return true; } -static void xehpsdv_toggle_pdes (struct i915_address_space *vm, -struct i915_page_table *pt, -void *data) +static void xehp_toggle_pdes (struct i915_address_space *vm, +struct i915_page_table *pt, +void *data) {struct insert_pte_data *d = data;
@@ -52,9 +52,9 @@ static void xehpsdv_toggle_pdes(struct i915_address_space *vm, d->offset +=SZ_2M ; } -static void xehpsdv_insert_pte (struct i915_address_space *vm, -struct i915_page_table *pt, -void *data) +static void xehp_insert_pte (struct i915_address_space *vm, +struct i915_page_table *pt, +void *data) {struct insert_pte_data *d = data;
@@ -120,7 +120,7 @@ static struct i915_address_space *migrate_vm(struct intel_gt *gt)* 512 entry layout using 4K GTT pages. The other two windows just map * lmem pages and must use the new compact 32 entry layout using 64K GTT * pages, which ensures we can address any lmem object that the user -* throws at us. We then also use the xehpsdv_toggle_pdes as a way of +* throws at us. We then also use the xehp_toggle_pdes as a way of * just toggling the PDE bit(GEN12_PDE_64K) for us, to enable the * compact layout for each of these page-tables, that fall within the * [CHUNK_SIZE, 3 * CHUNK_SIZE) range.
@@ -209,12 +209,12 @@ static struct i915_address_space *migrate_vm(struct intel_gt *gt)/* Now allow the GPU to rewrite the PTE via its own ppGTT */ if (HAS_64K_PAGES (gt->i915)) { vm->vm.foreach (&vm->vm, base, d.offset - base, - xehpsdv_insert_pte, &d); + xehp_insert_pte, &d); d.offset = base +CHUNK_SZ ; vm->vm.foreach (&vm->vm, d.offset,2 *CHUNK_SZ , - xehpsdv_toggle_pdes, &d); + xehp_toggle_pdes, &d); }else { vm->vm.foreach (&vm->vm, base, d.offset - base, insert_pte, &d);
drivers/gpu/drm/i915/gt/intel_mocs.c +0 -31
@@ -367,31 +367,6 @@ static const struct drm_i915_mocs_entry gen12_mocs_table[] = { L3_3_WB), }; -static const struct drm_i915_mocs_entry xehpsdv_mocs_table[] = { -/* wa_1608975824 */ -MOCS_ENTRY (0 ,0 ,L3_3_WB |L3_LKUP (1 )), - -/* UC - Coherent; GO:L3 */ -MOCS_ENTRY (1 ,0 ,L3_1_UC |L3_LKUP (1 )), -/* UC - Coherent; GO:Memory */ -MOCS_ENTRY (2 ,0 ,L3_1_UC |L3_GLBGO (1 ) |L3_LKUP (1 )), -/* UC - Non-Coherent; GO:Memory */ -MOCS_ENTRY (3 ,0 ,L3_1_UC |L3_GLBGO (1 )), -/* UC - Non-Coherent; GO:L3 */ -MOCS_ENTRY (4 ,0 ,L3_1_UC ), - -/* WB */ -MOCS_ENTRY (5 ,0 ,L3_3_WB |L3_LKUP (1 )), - -/* HW Reserved - SW program but never use. */ -MOCS_ENTRY (48 ,0 ,L3_3_WB |L3_LKUP (1 )), -MOCS_ENTRY (49 ,0 ,L3_1_UC |L3_LKUP (1 )), -MOCS_ENTRY (60 ,0 ,L3_1_UC ), -MOCS_ENTRY (61 ,0 ,L3_1_UC ), -MOCS_ENTRY (62 ,0 ,L3_1_UC ), -MOCS_ENTRY (63 ,0 ,L3_1_UC ), -}; -static const struct drm_i915_mocs_entry dg2_mocs_table[] = {/* UC - Coherent; GO:L3 */ MOCS_ENTRY (0 ,0 ,L3_1_UC |L3_LKUP (1 )),
@@ -514,12 +489,6 @@ static unsigned int get_mocs_settings(struct drm_i915_private *i915, table->uc_index =1 ; table->n_entries =GEN9_NUM_MOCS_ENTRIES ; table->unused_entries_index =3 ; - }else if (IS_XEHPSDV (i915)) { - table->size =ARRAY_SIZE (xehpsdv_mocs_table); - table->table = xehpsdv_mocs_table; - table->uc_index =2 ; - table->n_entries =GEN9_NUM_MOCS_ENTRIES ; - table->unused_entries_index =5 ; }else if (IS_DG1 (i915)) { table->size =ARRAY_SIZE (dg1_mocs_table); table->table = dg1_mocs_table;
drivers/gpu/drm/i915/gt/intel_rps.c +0 -2
@@ -1092,8 +1092,6 @@ static u32 intel_rps_read_state_cap(struct intel_rps *rps)if (IS_PONTEVECCHIO (i915))return intel_uncore_read (uncore,PVC_RP_STATE_CAP ); -else if (IS_XEHPSDV (i915)) -return intel_uncore_read (uncore,XEHPSDV_RP_STATE_CAP );else if (IS_GEN9_LP (i915))return intel_uncore_read (uncore,BXT_RP_STATE_CAP );else
drivers/gpu/drm/i915/gt/intel_workarounds.c +0 -95
131 lines not on this page · raw message
drivers/gpu/drm/i915/gt/uc/intel_uc.c +2 -2
@@ -51,8 +51,8 @@ static void uc_expand_default_options(struct intel_uc *uc)/* Default: enable HuC authentication and GuC submission */ i915->params.enable_guc =ENABLE_GUC_LOAD_HUC |ENABLE_GUC_SUBMISSION ; -/* XEHPSDV and PVC do not use HuC */ -if (IS_XEHPSDV (i915) ||IS_PONTEVECCHIO (i915)) +/* PVC does not use HuC */ +if (IS_PONTEVECCHIO (i915)) i915->params.enable_guc &= ~ENABLE_GUC_LOAD_HUC ; }
drivers/gpu/drm/i915/i915_drv.h +0 -4
@@ -544,7 +544,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define IS_DG1 (i915) IS_PLATFORM(i915, INTEL_DG1)#define IS_ALDERLAKE_S (i915) IS_PLATFORM(i915, INTEL_ALDERLAKE_S)#define IS_ALDERLAKE_P (i915) IS_PLATFORM(i915, INTEL_ALDERLAKE_P) -#define IS_XEHPSDV (i915) IS_PLATFORM(i915, INTEL_XEHPSDV)#define IS_DG2 (i915) IS_PLATFORM(i915, INTEL_DG2)#define IS_PONTEVECCHIO (i915) IS_PLATFORM(i915, INTEL_PONTEVECCHIO)#define IS_METEORLAKE (i915) IS_PLATFORM(i915, INTEL_METEORLAKE)
@@ -621,9 +620,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define IS_TIGERLAKE_UY (i915) \ IS_SUBPLATFORM(i915, INTEL_TIGERLAKE, INTEL_SUBPLATFORM_UY) -#define IS_XEHPSDV_GRAPHICS_STEP (__i915, since, until) \ - (IS_XEHPSDV(__i915) && IS_GRAPHICS_STEP(__i915, since, until)) -#define IS_PVC_BD_STEP (__i915, since, until) \ (IS_PONTEVECCHIO(__i915) && \ IS_BASEDIE_STEP(__i915, since, until))
drivers/gpu/drm/i915/i915_hwmon.c +0 -6
@@ -738,12 +738,6 @@ hwm_get_preregistration_info(struct drm_i915_private *i915) hwmon->rg.pkg_rapl_limit =PCU_PACKAGE_RAPL_LIMIT ; hwmon->rg.energy_status_all =PCU_PACKAGE_ENERGY_STATUS ; hwmon->rg.energy_status_tile =INVALID_MMIO_REG ; - }else if (IS_XEHPSDV (i915)) { - hwmon->rg.pkg_power_sku_unit =GT0_PACKAGE_POWER_SKU_UNIT ; - hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ; - hwmon->rg.pkg_rapl_limit =GT0_PACKAGE_RAPL_LIMIT ; - hwmon->rg.energy_status_all =GT0_PLATFORM_ENERGY_STATUS ; - hwmon->rg.energy_status_tile =GT0_PACKAGE_ENERGY_STATUS ; }else { hwmon->rg.pkg_power_sku_unit =INVALID_MMIO_REG ; hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ;
drivers/gpu/drm/i915/i915_pci.c +0 -17
@@ -734,23 +734,6 @@ static const struct intel_device_info adl_p_info = { .__runtime.media.ip.ver = 12, \ .__runtime.media.ip.rel = 50 -__maybe_unused -static const struct intel_device_info xehpsdv_info = { -XE_HP_FEATURES , -XE_HPM_FEATURES , -DGFX_FEATURES , -PLATFORM (INTEL_XEHPSDV ), - .has_64k_pages =1 , - .has_media_ratio_mode =1 , - .platform_engine_mask = -BIT (RCS0 ) |BIT (BCS0 ) | -BIT (VECS0 ) |BIT (VECS1 ) |BIT (VECS2 ) |BIT (VECS3 ) | -BIT (VCS0 ) |BIT (VCS1 ) |BIT (VCS2 ) |BIT (VCS3 ) | -BIT (VCS4 ) |BIT (VCS5 ) |BIT (VCS6 ) |BIT (VCS7 ) | -BIT (CCS0 ) |BIT (CCS1 ) |BIT (CCS2 ) |BIT (CCS3 ), - .require_force_probe =1 , -}; -#define DG2_FEATURES \ XE_HP_FEATURES, \ XE_HPM_FEATURES, \
drivers/gpu/drm/i915/i915_perf.c +5 -6
@@ -2881,11 +2881,11 @@ gen12_enable_metric_set(struct i915_perf_stream *stream,int ret;/* -* Wa_1508761755:xehpsdv, dg2 +* Wa_1508761755 * EU NOA signals behave incorrectly if EU clock gating is enabled. * Disable thread stall DOP gating and EU DOP gating. */ -if (IS_XEHPSDV (i915) ||IS_DG2 (i915)) { +if (IS_DG2 (i915)) {intel_gt_mcr_multicast_write (uncore->gt,GEN8_ROW_CHICKEN ,_MASKED_BIT_ENABLE (STALL_DOP_GATING_DISABLE )); intel_uncore_write(uncore, GEN7_ROW_CHICKEN2,
@@ -2911,7 +2911,7 @@ gen12_enable_metric_set(struct i915_perf_stream *stream,/* * Initialize Super Queue Internal Cnt Register * Set PMON Enable in order to collect valid metrics. -* Enable byets per clock reporting in OA for XEHPSDV onward. +* Enable bytes per clock reporting in OA. */ sqcnt1 =GEN12_SQCNT1_PMON_ENABLE | (HAS_OA_BPC_REPORTING (i915) ?GEN12_SQCNT1_OABPC :0 );
@@ -2971,10 +2971,9 @@ static void gen12_disable_metric_set(struct i915_perf_stream *stream)u32 sqcnt1;/* -* Wa_1508761755:xehpsdv, dg2 -* Enable thread stall DOP gating and EU DOP gating. +* Wa_1508761755: Enable thread stall DOP gating and EU DOP gating. */ -if (IS_XEHPSDV (i915) ||IS_DG2 (i915)) { +if (IS_DG2 (i915)) {intel_gt_mcr_multicast_write (uncore->gt,GEN8_ROW_CHICKEN ,_MASKED_BIT_DISABLE (STALL_DOP_GATING_DISABLE )); intel_uncore_write(uncore, GEN7_ROW_CHICKEN2,
drivers/gpu/drm/i915/i915_reg.h +1 -2
@@ -1750,7 +1750,6 @@#define BXT_RP_STATE_CAP _MMIO(0x138170)#define GEN9_RP_STATE_LIMITS _MMIO(0x138148) -#define XEHPSDV_RP_STATE_CAP _MMIO(0x250014)#define PVC_RP_STATE_CAP _MMIO(0x281014)#define MTL_RP_STATE_CAP _MMIO(0x138000)
@@ -5401,7 +5400,7 @@#define POWER_SETUP_I1_SHIFT 6/* 10.6 fixed point format */ #define POWER_SETUP_I1_DATA_MASK REG_GENMASK(15, 0)#define GEN12_PCODE_READ_SAGV_BLOCK_TIME_US 0x23 -#define XEHP_PCODE_FREQUENCY_CONFIG 0x6e/* xehpsdv, pvc */ +#define XEHP_PCODE_FREQUENCY_CONFIG 0x6e/* pvc */ /* XEHP_PCODE_FREQUENCY_CONFIG sub-commands (param1) */ #define PCODE_MBOX_FC_SC_READ_FUSED_P0 0x0#define PCODE_MBOX_FC_SC_READ_FUSED_PN 0x1
drivers/gpu/drm/i915/intel_clock_gating.c +0 -10
@@ -343,13 +343,6 @@ static void gen8_set_l3sqc_credits(struct drm_i915_private *i915,intel_uncore_write (&i915->uncore,GEN7_MISCCPCTL , misccpctl); } -static void xehpsdv_init_clock_gating (struct drm_i915_private *i915) -{ -/* Wa_22010146351:xehpsdv */ -if (IS_XEHPSDV_GRAPHICS_STEP (i915,STEP_A0 ,STEP_B0 )) -intel_uncore_rmw (&i915->uncore,XEHP_CLOCK_GATE_DIS ,0 ,SGR_DIS ); -} -static void dg2_init_clock_gating (struct drm_i915_private *i915) {/* Wa_22010954014:dg2 */
@@ -731,7 +724,6 @@ static const struct drm_i915_clock_gating_funcs platform##_clock_gating_funcs =CG_FUNCS (pvc);CG_FUNCS (dg2); -CG_FUNCS (xehpsdv);CG_FUNCS (cfl);CG_FUNCS (skl);CG_FUNCS (kbl);
@@ -768,8 +760,6 @@ void intel_clock_gating_hooks_init(struct drm_i915_private *i915) i915->clock_gating_funcs = &pvc_clock_gating_funcs; else if (IS_DG2(i915)) i915->clock_gating_funcs = &dg2_clock_gating_funcs; - else if (IS_XEHPSDV(i915)) - i915->clock_gating_funcs = &xehpsdv_clock_gating_funcs; else if (IS_COFFEELAKE(i915) || IS_COMETLAKE(i915)) i915->clock_gating_funcs = &cfl_clock_gating_funcs; else if (IS_SKYLAKE(i915))
drivers/gpu/drm/i915/intel_device_info.c +0 -1
@@ -70,7 +70,6 @@ static const char * const platform_names[] = {PLATFORM_NAME (DG1 ),PLATFORM_NAME (ALDERLAKE_S ),PLATFORM_NAME (ALDERLAKE_P ), -PLATFORM_NAME (XEHPSDV ),PLATFORM_NAME (DG2 ),PLATFORM_NAME (PONTEVECCHIO ), PLATFORM_NAME(METEORLAKE),
drivers/gpu/drm/i915/intel_device_info.h +0 -1
@@ -87,7 +87,6 @@ enum intel_platform {INTEL_DG1 ,INTEL_ALDERLAKE_S ,INTEL_ALDERLAKE_P , -INTEL_XEHPSDV ,INTEL_DG2 ,INTEL_PONTEVECCHIO , INTEL_METEORLAKE,
drivers/gpu/drm/i915/intel_step.c +0 -10
@@ -102,13 +102,6 @@ static const struct intel_step_info adlp_revids[] = { [0xC] = { COMMON_GT_MEDIA_STEP(C0), .display_step = STEP_D0 }, }; -static const struct intel_step_info xehpsdv_revids[] = { - [0x0 ] = {COMMON_GT_MEDIA_STEP (A0 ) }, - [0x1 ] = {COMMON_GT_MEDIA_STEP (A1 ) }, - [0x4 ] = {COMMON_GT_MEDIA_STEP (B0 ) }, - [0x8 ] = {COMMON_GT_MEDIA_STEP (C0 ) }, -}; -static const struct intel_step_info dg2_g10_revid_step_tbl[] = { [0x0 ] = {COMMON_GT_MEDIA_STEP (A0 ), .display_step =STEP_A0 }, [0x1 ] = {COMMON_GT_MEDIA_STEP (A1 ), .display_step =STEP_A0 },
@@ -190,9 +183,6 @@ void intel_step_init(struct drm_i915_private *i915) }else if (IS_DG2_G12 (i915)) { revids = dg2_g12_revid_step_tbl; size =ARRAY_SIZE (dg2_g12_revid_step_tbl); - }else if (IS_XEHPSDV (i915)) { - revids = xehpsdv_revids; - size =ARRAY_SIZE (xehpsdv_revids); }else if (IS_ALDERLAKE_P_N (i915)) { revids = adlp_n_revids; size =ARRAY_SIZE (adlp_n_revids);
drivers/gpu/drm/i915/intel_uncore.c +5 -18
@@ -1533,21 +1533,16 @@ static const struct intel_forcewake_range __gen12_fw_ranges[] = {0x12000 - 0x127ff: always on \ 0x12800 - 0x12fff: reserved */ \GEN_FW_RANGE (0x13000 ,0x131ff ,FORCEWAKE_MEDIA_VDBOX0 ),/* DG2 only */ \ -GEN_FW_RANGE (0x13200 ,0x13fff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ +GEN_FW_RANGE (0x13200 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ 0x13200 - 0x133ff: VD2 (DG2 only) \ -0x13400 - 0x13fff: reserved */ \ -GEN_FW_RANGE (0x14000 ,0x141ff ,FORCEWAKE_MEDIA_VDBOX0 ),/* XEHPSDV only */ \ -GEN_FW_RANGE (0x14200 ,0x143ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* XEHPSDV only */ \ -GEN_FW_RANGE (0x14400 ,0x145ff ,FORCEWAKE_MEDIA_VDBOX4 ),/* XEHPSDV only */ \ -GEN_FW_RANGE (0x14600 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX6 ),/* XEHPSDV only */ \ +0x13400 - 0x147ff: reserved */ \GEN_FW_RANGE (0x14800 ,0x14fff ,FORCEWAKE_RENDER ), \GEN_FW_RANGE (0x15000 ,0x16dff ,FORCEWAKE_GT ),/* \ 0x15000 - 0x15fff: gt (DG2 only) \ 0x16000 - 0x16dff: reserved */ \ -GEN_FW_RANGE (0x16e00 ,0x1ffff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x20000 ,0x21fff ,FORCEWAKE_MEDIA_VDBOX0 ),/* \ -0x20000 - 0x20fff: VD0 (XEHPSDV only) \ -0x21000 - 0x21fff: reserved */ \ +GEN_FW_RANGE (0x16e00 ,0x21fff ,FORCEWAKE_RENDER ),/* \ +0x16e00 - 0x1ffff: render \ +0x20000 - 0x21fff: reserved */ \GEN_FW_RANGE (0x22000 ,0x23fff ,FORCEWAKE_GT ), \ GEN_FW_RANGE(0x24000, 0x2417f, 0), /* \0x24000 - 0x2407f: always on \
@@ -1627,10 +1622,6 @@ static const struct intel_forcewake_range __gen12_fw_ranges[] = {0x1f6e00 - 0x1f7fff: reserved */ \GEN_FW_RANGE (0x1f8000 ,0x1fa0ff ,FORCEWAKE_MEDIA_VEBOX3 ), -static const struct intel_forcewake_range __xehp_fw_ranges[] = { -XEHP_FWRANGES (FORCEWAKE_GT ) -}; - static const struct intel_forcewake_range __dg2_fw_ranges[] = {XEHP_FWRANGES (FORCEWAKE_RENDER ) };
@@ -2584,10 +2575,6 @@ static int uncore_forcewake_init(struct intel_uncore *uncore)ASSIGN_FW_DOMAINS_TABLE (uncore, __dg2_fw_ranges);ASSIGN_SHADOW_TABLE (uncore, dg2_shadowed_regs);ASSIGN_WRITE_MMIO_VFUNCS (uncore, fwtable); - }else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { -ASSIGN_FW_DOMAINS_TABLE (uncore, __xehp_fw_ranges); -ASSIGN_SHADOW_TABLE (uncore, gen12_shadowed_regs); -ASSIGN_WRITE_MMIO_VFUNCS (uncore, fwtable); }else if (GRAPHICS_VER (i915) >=12 ) {ASSIGN_FW_DOMAINS_TABLE (uncore, __gen12_fw_ranges);ASSIGN_SHADOW_TABLE (uncore, gen12_shadowed_regs);
drivers/gpu/drm/i915/selftests/intel_uncore.c +0 -1
@@ -119,7 +119,6 @@ int intel_uncore_mock_selftests(void) { __gen9_fw_ranges, ARRAY_SIZE(__gen9_fw_ranges), true }, { __gen11_fw_ranges, ARRAY_SIZE(__gen11_fw_ranges), true }, { __gen12_fw_ranges, ARRAY_SIZE(__gen12_fw_ranges), true }, - { __xehp_fw_ranges, ARRAY_SIZE(__xehp_fw_ranges), true }, { __pvc_fw_ranges, ARRAY_SIZE(__pvc_fw_ranges), true }, { __mtl_fw_ranges, ARRAY_SIZE(__mtl_fw_ranges), true }, { __xelpmp_fw_ranges, ARRAY_SIZE(__xelpmp_fw_ranges), true },
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +0 -2
@@ -85,7 +85,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)#define IS_DG1 (dev_priv) IS_PLATFORM(dev_priv, XE_DG1)#define IS_ALDERLAKE_S (dev_priv) IS_PLATFORM(dev_priv, XE_ALDERLAKE_S)#define IS_ALDERLAKE_P (dev_priv) IS_PLATFORM(dev_priv, XE_ALDERLAKE_P) -#define IS_XEHPSDV (dev_priv) (dev_priv && 0)#define IS_DG2 (dev_priv) IS_PLATFORM(dev_priv, XE_DG2)#define IS_PONTEVECCHIO (dev_priv) IS_PLATFORM(dev_priv, XE_PVC)#define IS_METEORLAKE (dev_priv) IS_PLATFORM(dev_priv, XE_METEORLAKE)
@@ -130,7 +129,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)#define IS_DG2_GRAPHICS_STEP (xe, variant, first, last) \ ((xe)->info.subplatform == XE_SUBPLATFORM_DG2_ ## variant && \ IS_GRAPHICS_STEP(xe, first, last)) -#define IS_XEHPSDV_GRAPHICS_STEP (xe, first, last) (IS_XEHPSDV(xe) && IS_GRAPHICS_STEP(xe, first, last))/* XXX: No basedie stepping support yet */ #define IS_PVC_BD_STEP (xe, first, last) (!WARN_ON(1) && IS_PONTEVECCHIO(xe))
Signature · 1 line
2.43.0
PATCH v2 2/6 drm/i915: Remove XEHP_FWRANGES()
In reply to Lucas De MarchiNow that DG2 is the only user of this forcewake table, remove the macro and use FORCEWAKE_RENDER explicitly for range 0xd800 - 0xd87f.
--- drivers/gpu/drm/i915/intel_uncore.c | 297 ++++++++++++++-------------- 1 file changed, 145 insertions(+), 152 deletions(-)
drivers/gpu/drm/i915/intel_uncore.c +145 -152
@@ -1471,159 +1471,152 @@ static const struct intel_forcewake_range __gen12_fw_ranges[] = {0x1d3f00 - 0x1d3fff: VD2 */ }; -/* -* Graphics IP version 12.55 brings a slight change to the 0xd800 range, -* switching it from the GT domain to the render domain. -*/ -#define XEHP_FWRANGES (FW_RANGE_D800 ) \ - GEN_FW_RANGE(0x0, 0x1fff, 0),/* \ -0x0 - 0xaff: reserved \ -0xb00 - 0x1fff: always on */ \ -GEN_FW_RANGE (0x2000 ,0x26ff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x2700 ,0x4aff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x4b00 ,0x51ff ,0 ),/* \ -0x4b00 - 0x4fff: reserved \ -0x5000 - 0x51ff: always on */ \ -GEN_FW_RANGE (0x5200 ,0x7fff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8000 ,0x813f ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x8140 ,0x815f ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8160 ,0x81ff ,0 ),/* \ -0x8160 - 0x817f: reserved \ -0x8180 - 0x81ff: always on */ \ -GEN_FW_RANGE (0x8200 ,0x82ff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x8300 ,0x84ff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8500 ,0x8cff ,FORCEWAKE_GT ),/* \ -0x8500 - 0x87ff: gt \ -0x8800 - 0x8c7f: reserved \ -0x8c80 - 0x8cff: gt (DG2 only) */ \ -GEN_FW_RANGE (0x8d00 ,0x8fff ,FORCEWAKE_RENDER ),/* \ -0x8d00 - 0x8dff: render (DG2 only) \ -0x8e00 - 0x8fff: reserved */ \ -GEN_FW_RANGE (0x9000 ,0x94cf ,FORCEWAKE_GT ),/* \ -0x9000 - 0x947f: gt \ -0x9480 - 0x94cf: reserved */ \ -GEN_FW_RANGE (0x94d0 ,0x955f ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x9560 ,0x967f ,0 ),/* \ -0x9560 - 0x95ff: always on \ -0x9600 - 0x967f: reserved */ \ -GEN_FW_RANGE (0x9680 ,0x97ff ,FORCEWAKE_RENDER ),/* \ -0x9680 - 0x96ff: render (DG2 only) \ -0x9700 - 0x97ff: reserved */ \ -GEN_FW_RANGE (0x9800 ,0xcfff ,FORCEWAKE_GT ),/* \ -0x9800 - 0xb4ff: gt \ -0xb500 - 0xbfff: reserved \ -0xc000 - 0xcfff: gt */ \ -GEN_FW_RANGE (0xd000 ,0xd7ff ,0 ), \ -GEN_FW_RANGE (0xd800 ,0xd87f ,FW_RANGE_D800 ), \ -GEN_FW_RANGE (0xd880 ,0xdbff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0xdc00 ,0xdcff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0xdd00 ,0xde7f ,FORCEWAKE_GT ),/* \ -0xdd00 - 0xddff: gt \ -0xde00 - 0xde7f: reserved */ \ -GEN_FW_RANGE (0xde80 ,0xe8ff ,FORCEWAKE_RENDER ),/* \ -0xde80 - 0xdfff: render \ -0xe000 - 0xe0ff: reserved \ -0xe100 - 0xe8ff: render */ \ -GEN_FW_RANGE (0xe900 ,0xffff ,FORCEWAKE_GT ),/* \ -0xe900 - 0xe9ff: gt \ -0xea00 - 0xefff: reserved \ -0xf000 - 0xffff: gt */ \ -GEN_FW_RANGE (0x10000 ,0x12fff ,0 ),/* \ -0x10000 - 0x11fff: reserved \ -0x12000 - 0x127ff: always on \ -0x12800 - 0x12fff: reserved */ \ -GEN_FW_RANGE (0x13000 ,0x131ff ,FORCEWAKE_MEDIA_VDBOX0 ),/* DG2 only */ \ -GEN_FW_RANGE (0x13200 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ -0x13200 - 0x133ff: VD2 (DG2 only) \ -0x13400 - 0x147ff: reserved */ \ -GEN_FW_RANGE (0x14800 ,0x14fff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x15000 ,0x16dff ,FORCEWAKE_GT ),/* \ -0x15000 - 0x15fff: gt (DG2 only) \ -0x16000 - 0x16dff: reserved */ \ -GEN_FW_RANGE (0x16e00 ,0x21fff ,FORCEWAKE_RENDER ),/* \ -0x16e00 - 0x1ffff: render \ -0x20000 - 0x21fff: reserved */ \ -GEN_FW_RANGE (0x22000 ,0x23fff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x24000 ,0x2417f ,0 ),/* \ -0x24000 - 0x2407f: always on \ -0x24080 - 0x2417f: reserved */ \ -GEN_FW_RANGE (0x24180 ,0x249ff ,FORCEWAKE_GT ),/* \ -0x24180 - 0x241ff: gt \ -0x24200 - 0x249ff: reserved */ \ -GEN_FW_RANGE (0x24a00 ,0x251ff ,FORCEWAKE_RENDER ),/* \ -0x24a00 - 0x24a7f: render \ -0x24a80 - 0x251ff: reserved */ \ -GEN_FW_RANGE (0x25200 ,0x25fff ,FORCEWAKE_GT ),/* \ -0x25200 - 0x252ff: gt \ -0x25300 - 0x25fff: reserved */ \ -GEN_FW_RANGE (0x26000 ,0x2ffff ,FORCEWAKE_RENDER ),/* \ -0x26000 - 0x27fff: render \ -0x28000 - 0x29fff: reserved \ -0x2a000 - 0x2ffff: undocumented */ \ -GEN_FW_RANGE (0x30000 ,0x3ffff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x40000 ,0x1bffff ,0 ), \ -GEN_FW_RANGE (0x1c0000 ,0x1c3fff ,FORCEWAKE_MEDIA_VDBOX0 ),/* \ -0x1c0000 - 0x1c2bff: VD0 \ -0x1c2c00 - 0x1c2cff: reserved \ -0x1c2d00 - 0x1c2dff: VD0 \ -0x1c2e00 - 0x1c3eff: VD0 (DG2 only) \ -0x1c3f00 - 0x1c3fff: VD0 */ \ -GEN_FW_RANGE (0x1c4000 ,0x1c7fff ,FORCEWAKE_MEDIA_VDBOX1 ),/* \ -0x1c4000 - 0x1c6bff: VD1 \ -0x1c6c00 - 0x1c6cff: reserved \ -0x1c6d00 - 0x1c6dff: VD1 \ -0x1c6e00 - 0x1c7fff: reserved */ \ -GEN_FW_RANGE (0x1c8000 ,0x1cbfff ,FORCEWAKE_MEDIA_VEBOX0 ),/* \ -0x1c8000 - 0x1ca0ff: VE0 \ -0x1ca100 - 0x1cbfff: reserved */ \ -GEN_FW_RANGE (0x1cc000 ,0x1ccfff ,FORCEWAKE_MEDIA_VDBOX0 ), \ -GEN_FW_RANGE (0x1cd000 ,0x1cdfff ,FORCEWAKE_MEDIA_VDBOX2 ), \ -GEN_FW_RANGE (0x1ce000 ,0x1cefff ,FORCEWAKE_MEDIA_VDBOX4 ), \ -GEN_FW_RANGE (0x1cf000 ,0x1cffff ,FORCEWAKE_MEDIA_VDBOX6 ), \ -GEN_FW_RANGE (0x1d0000 ,0x1d3fff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ -0x1d0000 - 0x1d2bff: VD2 \ -0x1d2c00 - 0x1d2cff: reserved \ -0x1d2d00 - 0x1d2dff: VD2 \ -0x1d2e00 - 0x1d3dff: VD2 (DG2 only) \ -0x1d3e00 - 0x1d3eff: reserved \ -0x1d3f00 - 0x1d3fff: VD2 */ \ -GEN_FW_RANGE (0x1d4000 ,0x1d7fff ,FORCEWAKE_MEDIA_VDBOX3 ),/* \ -0x1d4000 - 0x1d6bff: VD3 \ -0x1d6c00 - 0x1d6cff: reserved \ -0x1d6d00 - 0x1d6dff: VD3 \ -0x1d6e00 - 0x1d7fff: reserved */ \ -GEN_FW_RANGE (0x1d8000 ,0x1dffff ,FORCEWAKE_MEDIA_VEBOX1 ),/* \ -0x1d8000 - 0x1da0ff: VE1 \ -0x1da100 - 0x1dffff: reserved */ \ -GEN_FW_RANGE (0x1e0000 ,0x1e3fff ,FORCEWAKE_MEDIA_VDBOX4 ),/* \ -0x1e0000 - 0x1e2bff: VD4 \ -0x1e2c00 - 0x1e2cff: reserved \ -0x1e2d00 - 0x1e2dff: VD4 \ -0x1e2e00 - 0x1e3eff: reserved \ -0x1e3f00 - 0x1e3fff: VD4 */ \ -GEN_FW_RANGE (0x1e4000 ,0x1e7fff ,FORCEWAKE_MEDIA_VDBOX5 ),/* \ -0x1e4000 - 0x1e6bff: VD5 \ -0x1e6c00 - 0x1e6cff: reserved \ -0x1e6d00 - 0x1e6dff: VD5 \ -0x1e6e00 - 0x1e7fff: reserved */ \ -GEN_FW_RANGE (0x1e8000 ,0x1effff ,FORCEWAKE_MEDIA_VEBOX2 ),/* \ -0x1e8000 - 0x1ea0ff: VE2 \ -0x1ea100 - 0x1effff: reserved */ \ -GEN_FW_RANGE (0x1f0000 ,0x1f3fff ,FORCEWAKE_MEDIA_VDBOX6 ),/* \ -0x1f0000 - 0x1f2bff: VD6 \ -0x1f2c00 - 0x1f2cff: reserved \ -0x1f2d00 - 0x1f2dff: VD6 \ -0x1f2e00 - 0x1f3eff: reserved \ -0x1f3f00 - 0x1f3fff: VD6 */ \ -GEN_FW_RANGE (0x1f4000 ,0x1f7fff ,FORCEWAKE_MEDIA_VDBOX7 ),/* \ -0x1f4000 - 0x1f6bff: VD7 \ -0x1f6c00 - 0x1f6cff: reserved \ -0x1f6d00 - 0x1f6dff: VD7 \ -0x1f6e00 - 0x1f7fff: reserved */ \ -GEN_FW_RANGE (0x1f8000 ,0x1fa0ff ,FORCEWAKE_MEDIA_VEBOX3 ), -static const struct intel_forcewake_range __dg2_fw_ranges[] = { -XEHP_FWRANGES (FORCEWAKE_RENDER ) +GEN_FW_RANGE (0x0 ,0x1fff ,0 ),/* +0x0 - 0xaff: reserved +0xb00 - 0x1fff: always on */ +GEN_FW_RANGE (0x2000 ,0x26ff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x2700 ,0x4aff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x4b00 ,0x51ff ,0 ),/* +0x4b00 - 0x4fff: reserved +0x5000 - 0x51ff: always on */ +GEN_FW_RANGE (0x5200 ,0x7fff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8000 ,0x813f ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x8140 ,0x815f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8160 ,0x81ff ,0 ),/* +0x8160 - 0x817f: reserved +0x8180 - 0x81ff: always on */ +GEN_FW_RANGE (0x8200 ,0x82ff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x8300 ,0x84ff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8500 ,0x8cff ,FORCEWAKE_GT ),/* +0x8500 - 0x87ff: gt +0x8800 - 0x8c7f: reserved +0x8c80 - 0x8cff: gt (DG2 only) */ +GEN_FW_RANGE (0x8d00 ,0x8fff ,FORCEWAKE_RENDER ),/* +0x8d00 - 0x8dff: render (DG2 only) +0x8e00 - 0x8fff: reserved */ +GEN_FW_RANGE (0x9000 ,0x94cf ,FORCEWAKE_GT ),/* +0x9000 - 0x947f: gt +0x9480 - 0x94cf: reserved */ +GEN_FW_RANGE (0x94d0 ,0x955f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x9560 ,0x967f ,0 ),/* +0x9560 - 0x95ff: always on +0x9600 - 0x967f: reserved */ +GEN_FW_RANGE (0x9680 ,0x97ff ,FORCEWAKE_RENDER ),/* +0x9680 - 0x96ff: render +0x9700 - 0x97ff: reserved */ +GEN_FW_RANGE (0x9800 ,0xcfff ,FORCEWAKE_GT ),/* +0x9800 - 0xb4ff: gt +0xb500 - 0xbfff: reserved +0xc000 - 0xcfff: gt */ +GEN_FW_RANGE (0xd000 ,0xd7ff ,0 ), +GEN_FW_RANGE (0xd800 ,0xd87f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0xd880 ,0xdbff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0xdc00 ,0xdcff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0xdd00 ,0xde7f ,FORCEWAKE_GT ),/* +0xdd00 - 0xddff: gt +0xde00 - 0xde7f: reserved */ +GEN_FW_RANGE (0xde80 ,0xe8ff ,FORCEWAKE_RENDER ),/* +0xde80 - 0xdfff: render +0xe000 - 0xe0ff: reserved +0xe100 - 0xe8ff: render */ +GEN_FW_RANGE (0xe900 ,0xffff ,FORCEWAKE_GT ),/* +0xe900 - 0xe9ff: gt +0xea00 - 0xefff: reserved +0xf000 - 0xffff: gt */ +GEN_FW_RANGE (0x10000 ,0x12fff ,0 ),/* +0x10000 - 0x11fff: reserved +0x12000 - 0x127ff: always on +0x12800 - 0x12fff: reserved */ +GEN_FW_RANGE (0x13000 ,0x131ff ,FORCEWAKE_MEDIA_VDBOX0 ), +GEN_FW_RANGE (0x13200 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* +0x13200 - 0x133ff: VD2 (DG2 only) +0x13400 - 0x147ff: reserved */ +GEN_FW_RANGE (0x14800 ,0x14fff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x15000 ,0x16dff ,FORCEWAKE_GT ),/* +0x15000 - 0x15fff: gt (DG2 only) +0x16000 - 0x16dff: reserved */ +GEN_FW_RANGE (0x16e00 ,0x21fff ,FORCEWAKE_RENDER ),/* +0x16e00 - 0x1ffff: render +0x20000 - 0x21fff: reserved */ +GEN_FW_RANGE (0x22000 ,0x23fff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x24000 ,0x2417f ,0 ),/* +0x24000 - 0x2407f: always on +0x24080 - 0x2417f: reserved */ +GEN_FW_RANGE (0x24180 ,0x249ff ,FORCEWAKE_GT ),/* +0x24180 - 0x241ff: gt +0x24200 - 0x249ff: reserved */ +GEN_FW_RANGE (0x24a00 ,0x251ff ,FORCEWAKE_RENDER ),/* +0x24a00 - 0x24a7f: render +0x24a80 - 0x251ff: reserved */ +GEN_FW_RANGE (0x25200 ,0x25fff ,FORCEWAKE_GT ),/* +0x25200 - 0x252ff: gt +0x25300 - 0x25fff: reserved */ +GEN_FW_RANGE (0x26000 ,0x2ffff ,FORCEWAKE_RENDER ),/* +0x26000 - 0x27fff: render +0x28000 - 0x29fff: reserved +0x2a000 - 0x2ffff: undocumented */ +GEN_FW_RANGE (0x30000 ,0x3ffff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x40000 ,0x1bffff ,0 ), +GEN_FW_RANGE (0x1c0000 ,0x1c3fff ,FORCEWAKE_MEDIA_VDBOX0 ),/* +0x1c0000 - 0x1c2bff: VD0 +0x1c2c00 - 0x1c2cff: reserved +0x1c2d00 - 0x1c2dff: VD0 +0x1c2e00 - 0x1c3eff: VD0 +0x1c3f00 - 0x1c3fff: VD0 */ +GEN_FW_RANGE (0x1c4000 ,0x1c7fff ,FORCEWAKE_MEDIA_VDBOX1 ),/* +0x1c4000 - 0x1c6bff: VD1 +0x1c6c00 - 0x1c6cff: reserved +0x1c6d00 - 0x1c6dff: VD1 +0x1c6e00 - 0x1c7fff: reserved */ +GEN_FW_RANGE (0x1c8000 ,0x1cbfff ,FORCEWAKE_MEDIA_VEBOX0 ),/* +0x1c8000 - 0x1ca0ff: VE0 +0x1ca100 - 0x1cbfff: reserved */ +GEN_FW_RANGE (0x1cc000 ,0x1ccfff ,FORCEWAKE_MEDIA_VDBOX0 ), +GEN_FW_RANGE (0x1cd000 ,0x1cdfff ,FORCEWAKE_MEDIA_VDBOX2 ), +GEN_FW_RANGE (0x1ce000 ,0x1cefff ,FORCEWAKE_MEDIA_VDBOX4 ), +GEN_FW_RANGE (0x1cf000 ,0x1cffff ,FORCEWAKE_MEDIA_VDBOX6 ), +GEN_FW_RANGE (0x1d0000 ,0x1d3fff ,FORCEWAKE_MEDIA_VDBOX2 ),/* +0x1d0000 - 0x1d2bff: VD2 +0x1d2c00 - 0x1d2cff: reserved +0x1d2d00 - 0x1d2dff: VD2 +0x1d2e00 - 0x1d3dff: VD2 +0x1d3e00 - 0x1d3eff: reserved +0x1d3f00 - 0x1d3fff: VD2 */ +GEN_FW_RANGE (0x1d4000 ,0x1d7fff ,FORCEWAKE_MEDIA_VDBOX3 ),/* +0x1d4000 - 0x1d6bff: VD3 +0x1d6c00 - 0x1d6cff: reserved +0x1d6d00 - 0x1d6dff: VD3 +0x1d6e00 - 0x1d7fff: reserved */ +GEN_FW_RANGE (0x1d8000 ,0x1dffff ,FORCEWAKE_MEDIA_VEBOX1 ),/* +0x1d8000 - 0x1da0ff: VE1 +0x1da100 - 0x1dffff: reserved */ +GEN_FW_RANGE (0x1e0000 ,0x1e3fff ,FORCEWAKE_MEDIA_VDBOX4 ),/* +0x1e0000 - 0x1e2bff: VD4 +0x1e2c00 - 0x1e2cff: reserved +0x1e2d00 - 0x1e2dff: VD4 +0x1e2e00 - 0x1e3eff: reserved +0x1e3f00 - 0x1e3fff: VD4 */ +GEN_FW_RANGE (0x1e4000 ,0x1e7fff ,FORCEWAKE_MEDIA_VDBOX5 ),/* +0x1e4000 - 0x1e6bff: VD5 +0x1e6c00 - 0x1e6cff: reserved +0x1e6d00 - 0x1e6dff: VD5 +0x1e6e00 - 0x1e7fff: reserved */ +GEN_FW_RANGE (0x1e8000 ,0x1effff ,FORCEWAKE_MEDIA_VEBOX2 ),/* +0x1e8000 - 0x1ea0ff: VE2 +0x1ea100 - 0x1effff: reserved */ +GEN_FW_RANGE (0x1f0000 ,0x1f3fff ,FORCEWAKE_MEDIA_VDBOX6 ),/* +0x1f0000 - 0x1f2bff: VD6 +0x1f2c00 - 0x1f2cff: reserved +0x1f2d00 - 0x1f2dff: VD6 +0x1f2e00 - 0x1f3eff: reserved +0x1f3f00 - 0x1f3fff: VD6 */ +GEN_FW_RANGE (0x1f4000 ,0x1f7fff ,FORCEWAKE_MEDIA_VDBOX7 ),/* +0x1f4000 - 0x1f6bff: VD7 +0x1f6c00 - 0x1f6cff: reserved +0x1f6d00 - 0x1f6dff: VD7 +0x1f6e00 - 0x1f7fff: reserved */ +GEN_FW_RANGE (0x1f8000 ,0x1fa0ff ,FORCEWAKE_MEDIA_VEBOX3 ), };static const struct intel_forcewake_range __pvc_fw_ranges[] = {
Signature · 1 line
2.43.0
Re: [PATCH v2 2/6] drm/i915: Remove XEHP_FWRANGES()
Quoted 5 lines · Lucas De Marchi
Now that DG2 is the only user of this forcewake table, remove the macro and use
FORCEWAKE_RENDERexplicitly for range0xd800-0xd87f.Suggested-by Matt Roper <[email protected]>Signed-off-by Lucas De Marchi <[email protected]>
Quoted 316 lines
--- drivers/gpu/drm/i915/intel_uncore.c | 297 ++++++++++++++-------------- 1 file changed, 145 insertions(+), 152 deletions(-)drivers/gpu/drm/i915/intel_uncore.c +145
-152@@ -1471,159 +1471,152 @@ static const struct intel_forcewake_range __gen12_fw_ranges[] = {0x1d3f00 - 0x1d3fff: VD2 */ }; -/* -* Graphics IP version 12.55 brings a slight change to the 0xd800 range, -* switching it from the GT domain to the render domain. -*/ -#define XEHP_FWRANGES (FW_RANGE_D800 ) \ - GEN_FW_RANGE(0x0, 0x1fff, 0),/* \ -0x0 - 0xaff: reserved \ -0xb00 - 0x1fff: always on */ \ -GEN_FW_RANGE (0x2000 ,0x26ff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x2700 ,0x4aff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x4b00 ,0x51ff ,0 ),/* \ -0x4b00 - 0x4fff: reserved \ -0x5000 - 0x51ff: always on */ \ -GEN_FW_RANGE (0x5200 ,0x7fff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8000 ,0x813f ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x8140 ,0x815f ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8160 ,0x81ff ,0 ),/* \ -0x8160 - 0x817f: reserved \ -0x8180 - 0x81ff: always on */ \ -GEN_FW_RANGE (0x8200 ,0x82ff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x8300 ,0x84ff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x8500 ,0x8cff ,FORCEWAKE_GT ),/* \ -0x8500 - 0x87ff: gt \ -0x8800 - 0x8c7f: reserved \ -0x8c80 - 0x8cff: gt (DG2 only) */ \ -GEN_FW_RANGE (0x8d00 ,0x8fff ,FORCEWAKE_RENDER ),/* \ -0x8d00 - 0x8dff: render (DG2 only) \ -0x8e00 - 0x8fff: reserved */ \ -GEN_FW_RANGE (0x9000 ,0x94cf ,FORCEWAKE_GT ),/* \ -0x9000 - 0x947f: gt \ -0x9480 - 0x94cf: reserved */ \ -GEN_FW_RANGE (0x94d0 ,0x955f ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x9560 ,0x967f ,0 ),/* \ -0x9560 - 0x95ff: always on \ -0x9600 - 0x967f: reserved */ \ -GEN_FW_RANGE (0x9680 ,0x97ff ,FORCEWAKE_RENDER ),/* \ -0x9680 - 0x96ff: render (DG2 only) \ -0x9700 - 0x97ff: reserved */ \ -GEN_FW_RANGE (0x9800 ,0xcfff ,FORCEWAKE_GT ),/* \ -0x9800 - 0xb4ff: gt \ -0xb500 - 0xbfff: reserved \ -0xc000 - 0xcfff: gt */ \ -GEN_FW_RANGE (0xd000 ,0xd7ff ,0 ), \ -GEN_FW_RANGE (0xd800 ,0xd87f ,FW_RANGE_D800 ), \ -GEN_FW_RANGE (0xd880 ,0xdbff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0xdc00 ,0xdcff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0xdd00 ,0xde7f ,FORCEWAKE_GT ),/* \ -0xdd00 - 0xddff: gt \ -0xde00 - 0xde7f: reserved */ \ -GEN_FW_RANGE (0xde80 ,0xe8ff ,FORCEWAKE_RENDER ),/* \ -0xde80 - 0xdfff: render \ -0xe000 - 0xe0ff: reserved \ -0xe100 - 0xe8ff: render */ \ -GEN_FW_RANGE (0xe900 ,0xffff ,FORCEWAKE_GT ),/* \ -0xe900 - 0xe9ff: gt \ -0xea00 - 0xefff: reserved \ -0xf000 - 0xffff: gt */ \ -GEN_FW_RANGE (0x10000 ,0x12fff ,0 ),/* \ -0x10000 - 0x11fff: reserved \ -0x12000 - 0x127ff: always on \ -0x12800 - 0x12fff: reserved */ \ -GEN_FW_RANGE (0x13000 ,0x131ff ,FORCEWAKE_MEDIA_VDBOX0 ),/* DG2 only */ \ -GEN_FW_RANGE (0x13200 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ -0x13200 - 0x133ff: VD2 (DG2 only) \ -0x13400 - 0x147ff: reserved */ \ -GEN_FW_RANGE (0x14800 ,0x14fff ,FORCEWAKE_RENDER ), \ -GEN_FW_RANGE (0x15000 ,0x16dff ,FORCEWAKE_GT ),/* \ -0x15000 - 0x15fff: gt (DG2 only) \ -0x16000 - 0x16dff: reserved */ \ -GEN_FW_RANGE (0x16e00 ,0x21fff ,FORCEWAKE_RENDER ),/* \ -0x16e00 - 0x1ffff: render \ -0x20000 - 0x21fff: reserved */ \ -GEN_FW_RANGE (0x22000 ,0x23fff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x24000 ,0x2417f ,0 ),/* \ -0x24000 - 0x2407f: always on \ -0x24080 - 0x2417f: reserved */ \ -GEN_FW_RANGE (0x24180 ,0x249ff ,FORCEWAKE_GT ),/* \ -0x24180 - 0x241ff: gt \ -0x24200 - 0x249ff: reserved */ \ -GEN_FW_RANGE (0x24a00 ,0x251ff ,FORCEWAKE_RENDER ),/* \ -0x24a00 - 0x24a7f: render \ -0x24a80 - 0x251ff: reserved */ \ -GEN_FW_RANGE (0x25200 ,0x25fff ,FORCEWAKE_GT ),/* \ -0x25200 - 0x252ff: gt \ -0x25300 - 0x25fff: reserved */ \ -GEN_FW_RANGE (0x26000 ,0x2ffff ,FORCEWAKE_RENDER ),/* \ -0x26000 - 0x27fff: render \ -0x28000 - 0x29fff: reserved \ -0x2a000 - 0x2ffff: undocumented */ \ -GEN_FW_RANGE (0x30000 ,0x3ffff ,FORCEWAKE_GT ), \ -GEN_FW_RANGE (0x40000 ,0x1bffff ,0 ), \ -GEN_FW_RANGE (0x1c0000 ,0x1c3fff ,FORCEWAKE_MEDIA_VDBOX0 ),/* \ -0x1c0000 - 0x1c2bff: VD0 \ -0x1c2c00 - 0x1c2cff: reserved \ -0x1c2d00 - 0x1c2dff: VD0 \ -0x1c2e00 - 0x1c3eff: VD0 (DG2 only) \ -0x1c3f00 - 0x1c3fff: VD0 */ \ -GEN_FW_RANGE (0x1c4000 ,0x1c7fff ,FORCEWAKE_MEDIA_VDBOX1 ),/* \ -0x1c4000 - 0x1c6bff: VD1 \ -0x1c6c00 - 0x1c6cff: reserved \ -0x1c6d00 - 0x1c6dff: VD1 \ -0x1c6e00 - 0x1c7fff: reserved */ \ -GEN_FW_RANGE (0x1c8000 ,0x1cbfff ,FORCEWAKE_MEDIA_VEBOX0 ),/* \ -0x1c8000 - 0x1ca0ff: VE0 \ -0x1ca100 - 0x1cbfff: reserved */ \ -GEN_FW_RANGE (0x1cc000 ,0x1ccfff ,FORCEWAKE_MEDIA_VDBOX0 ), \ -GEN_FW_RANGE (0x1cd000 ,0x1cdfff ,FORCEWAKE_MEDIA_VDBOX2 ), \ -GEN_FW_RANGE (0x1ce000 ,0x1cefff ,FORCEWAKE_MEDIA_VDBOX4 ), \ -GEN_FW_RANGE (0x1cf000 ,0x1cffff ,FORCEWAKE_MEDIA_VDBOX6 ), \ -GEN_FW_RANGE (0x1d0000 ,0x1d3fff ,FORCEWAKE_MEDIA_VDBOX2 ),/* \ -0x1d0000 - 0x1d2bff: VD2 \ -0x1d2c00 - 0x1d2cff: reserved \ -0x1d2d00 - 0x1d2dff: VD2 \ -0x1d2e00 - 0x1d3dff: VD2 (DG2 only) \ -0x1d3e00 - 0x1d3eff: reserved \ -0x1d3f00 - 0x1d3fff: VD2 */ \ -GEN_FW_RANGE (0x1d4000 ,0x1d7fff ,FORCEWAKE_MEDIA_VDBOX3 ),/* \ -0x1d4000 - 0x1d6bff: VD3 \ -0x1d6c00 - 0x1d6cff: reserved \ -0x1d6d00 - 0x1d6dff: VD3 \ -0x1d6e00 - 0x1d7fff: reserved */ \ -GEN_FW_RANGE (0x1d8000 ,0x1dffff ,FORCEWAKE_MEDIA_VEBOX1 ),/* \ -0x1d8000 - 0x1da0ff: VE1 \ -0x1da100 - 0x1dffff: reserved */ \ -GEN_FW_RANGE (0x1e0000 ,0x1e3fff ,FORCEWAKE_MEDIA_VDBOX4 ),/* \ -0x1e0000 - 0x1e2bff: VD4 \ -0x1e2c00 - 0x1e2cff: reserved \ -0x1e2d00 - 0x1e2dff: VD4 \ -0x1e2e00 - 0x1e3eff: reserved \ -0x1e3f00 - 0x1e3fff: VD4 */ \ -GEN_FW_RANGE (0x1e4000 ,0x1e7fff ,FORCEWAKE_MEDIA_VDBOX5 ),/* \ -0x1e4000 - 0x1e6bff: VD5 \ -0x1e6c00 - 0x1e6cff: reserved \ -0x1e6d00 - 0x1e6dff: VD5 \ -0x1e6e00 - 0x1e7fff: reserved */ \ -GEN_FW_RANGE (0x1e8000 ,0x1effff ,FORCEWAKE_MEDIA_VEBOX2 ),/* \ -0x1e8000 - 0x1ea0ff: VE2 \ -0x1ea100 - 0x1effff: reserved */ \ -GEN_FW_RANGE (0x1f0000 ,0x1f3fff ,FORCEWAKE_MEDIA_VDBOX6 ),/* \ -0x1f0000 - 0x1f2bff: VD6 \ -0x1f2c00 - 0x1f2cff: reserved \ -0x1f2d00 - 0x1f2dff: VD6 \ -0x1f2e00 - 0x1f3eff: reserved \ -0x1f3f00 - 0x1f3fff: VD6 */ \ -GEN_FW_RANGE (0x1f4000 ,0x1f7fff ,FORCEWAKE_MEDIA_VDBOX7 ),/* \ -0x1f4000 - 0x1f6bff: VD7 \ -0x1f6c00 - 0x1f6cff: reserved \ -0x1f6d00 - 0x1f6dff: VD7 \ -0x1f6e00 - 0x1f7fff: reserved */ \ -GEN_FW_RANGE (0x1f8000 ,0x1fa0ff ,FORCEWAKE_MEDIA_VEBOX3 ), -static const struct intel_forcewake_range __dg2_fw_ranges[] = { -XEHP_FWRANGES (FORCEWAKE_RENDER ) +GEN_FW_RANGE (0x0 ,0x1fff ,0 ),/* +0x0 - 0xaff: reserved +0xb00 - 0x1fff: always on */ +GEN_FW_RANGE (0x2000 ,0x26ff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x2700 ,0x4aff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x4b00 ,0x51ff ,0 ),/* +0x4b00 - 0x4fff: reserved +0x5000 - 0x51ff: always on */ +GEN_FW_RANGE (0x5200 ,0x7fff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8000 ,0x813f ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x8140 ,0x815f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8160 ,0x81ff ,0 ),/* +0x8160 - 0x817f: reserved +0x8180 - 0x81ff: always on */ +GEN_FW_RANGE (0x8200 ,0x82ff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x8300 ,0x84ff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x8500 ,0x8cff ,FORCEWAKE_GT ),/* +0x8500 - 0x87ff: gt +0x8800 - 0x8c7f: reserved +0x8c80 - 0x8cff: gt (DG2 only) */ +GEN_FW_RANGE (0x8d00 ,0x8fff ,FORCEWAKE_RENDER ),/* +0x8d00 - 0x8dff: render (DG2 only) +0x8e00 - 0x8fff: reserved */ +GEN_FW_RANGE (0x9000 ,0x94cf ,FORCEWAKE_GT ),/* +0x9000 - 0x947f: gt +0x9480 - 0x94cf: reserved */ +GEN_FW_RANGE (0x94d0 ,0x955f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x9560 ,0x967f ,0 ),/* +0x9560 - 0x95ff: always on +0x9600 - 0x967f: reserved */ +GEN_FW_RANGE (0x9680 ,0x97ff ,FORCEWAKE_RENDER ),/* +0x9680 - 0x96ff: render +0x9700 - 0x97ff: reserved */ +GEN_FW_RANGE (0x9800 ,0xcfff ,FORCEWAKE_GT ),/* +0x9800 - 0xb4ff: gt +0xb500 - 0xbfff: reserved +0xc000 - 0xcfff: gt */ +GEN_FW_RANGE (0xd000 ,0xd7ff ,0 ), +GEN_FW_RANGE (0xd800 ,0xd87f ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0xd880 ,0xdbff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0xdc00 ,0xdcff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0xdd00 ,0xde7f ,FORCEWAKE_GT ),/* +0xdd00 - 0xddff: gt +0xde00 - 0xde7f: reserved */ +GEN_FW_RANGE (0xde80 ,0xe8ff ,FORCEWAKE_RENDER ),/* +0xde80 - 0xdfff: render +0xe000 - 0xe0ff: reserved +0xe100 - 0xe8ff: render */ +GEN_FW_RANGE (0xe900 ,0xffff ,FORCEWAKE_GT ),/* +0xe900 - 0xe9ff: gt +0xea00 - 0xefff: reserved +0xf000 - 0xffff: gt */ +GEN_FW_RANGE (0x10000 ,0x12fff ,0 ),/* +0x10000 - 0x11fff: reserved +0x12000 - 0x127ff: always on +0x12800 - 0x12fff: reserved */ +GEN_FW_RANGE (0x13000 ,0x131ff ,FORCEWAKE_MEDIA_VDBOX0 ), +GEN_FW_RANGE (0x13200 ,0x147ff ,FORCEWAKE_MEDIA_VDBOX2 ),/* +0x13200 - 0x133ff: VD2 (DG2 only) +0x13400 - 0x147ff: reserved */ +GEN_FW_RANGE (0x14800 ,0x14fff ,FORCEWAKE_RENDER ), +GEN_FW_RANGE (0x15000 ,0x16dff ,FORCEWAKE_GT ),/* +0x15000 - 0x15fff: gt (DG2 only) +0x16000 - 0x16dff: reserved */ +GEN_FW_RANGE (0x16e00 ,0x21fff ,FORCEWAKE_RENDER ),/* +0x16e00 - 0x1ffff: render +0x20000 - 0x21fff: reserved */ +GEN_FW_RANGE (0x22000 ,0x23fff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x24000 ,0x2417f ,0 ),/* +0x24000 - 0x2407f: always on +0x24080 - 0x2417f: reserved */ +GEN_FW_RANGE (0x24180 ,0x249ff ,FORCEWAKE_GT ),/* +0x24180 - 0x241ff: gt +0x24200 - 0x249ff: reserved */ +GEN_FW_RANGE (0x24a00 ,0x251ff ,FORCEWAKE_RENDER ),/* +0x24a00 - 0x24a7f: render +0x24a80 - 0x251ff: reserved */ +GEN_FW_RANGE (0x25200 ,0x25fff ,FORCEWAKE_GT ),/* +0x25200 - 0x252ff: gt +0x25300 - 0x25fff: reserved */ +GEN_FW_RANGE (0x26000 ,0x2ffff ,FORCEWAKE_RENDER ),/* +0x26000 - 0x27fff: render +0x28000 - 0x29fff: reserved +0x2a000 - 0x2ffff: undocumented */ +GEN_FW_RANGE (0x30000 ,0x3ffff ,FORCEWAKE_GT ), +GEN_FW_RANGE (0x40000 ,0x1bffff ,0 ), +GEN_FW_RANGE (0x1c0000 ,0x1c3fff ,FORCEWAKE_MEDIA_VDBOX0 ),/* +0x1c0000 - 0x1c2bff: VD0 +0x1c2c00 - 0x1c2cff: reserved +0x1c2d00 - 0x1c2dff: VD0 +0x1c2e00 - 0x1c3eff: VD0 +0x1c3f00 - 0x1c3fff: VD0 */ +GEN_FW_RANGE (0x1c4000 ,0x1c7fff ,FORCEWAKE_MEDIA_VDBOX1 ),/* +0x1c4000 - 0x1c6bff: VD1 +0x1c6c00 - 0x1c6cff: reserved +0x1c6d00 - 0x1c6dff: VD1 +0x1c6e00 - 0x1c7fff: reserved */ +GEN_FW_RANGE (0x1c8000 ,0x1cbfff ,FORCEWAKE_MEDIA_VEBOX0 ),/* +0x1c8000 - 0x1ca0ff: VE0 +0x1ca100 - 0x1cbfff: reserved */ +GEN_FW_RANGE (0x1cc000 ,0x1ccfff ,FORCEWAKE_MEDIA_VDBOX0 ), +GEN_FW_RANGE (0x1cd000 ,0x1cdfff ,FORCEWAKE_MEDIA_VDBOX2 ), +GEN_FW_RANGE (0x1ce000 ,0x1cefff ,FORCEWAKE_MEDIA_VDBOX4 ), +GEN_FW_RANGE (0x1cf000 ,0x1cffff ,FORCEWAKE_MEDIA_VDBOX6 ), +GEN_FW_RANGE (0x1d0000 ,0x1d3fff ,FORCEWAKE_MEDIA_VDBOX2 ),/* +0x1d0000 - 0x1d2bff: VD2 +0x1d2c00 - 0x1d2cff: reserved +0x1d2d00 - 0x1d2dff: VD2 +0x1d2e00 - 0x1d3dff: VD2 +0x1d3e00 - 0x1d3eff: reserved +0x1d3f00 - 0x1d3fff: VD2 */ +GEN_FW_RANGE (0x1d4000 ,0x1d7fff ,FORCEWAKE_MEDIA_VDBOX3 ),/* +0x1d4000 - 0x1d6bff: VD3 +0x1d6c00 - 0x1d6cff: reserved +0x1d6d00 - 0x1d6dff: VD3 +0x1d6e00 - 0x1d7fff: reserved */ +GEN_FW_RANGE (0x1d8000 ,0x1dffff ,FORCEWAKE_MEDIA_VEBOX1 ),/* +0x1d8000 - 0x1da0ff: VE1 +0x1da100 - 0x1dffff: reserved */ +GEN_FW_RANGE (0x1e0000 ,0x1e3fff ,FORCEWAKE_MEDIA_VDBOX4 ),/* +0x1e0000 - 0x1e2bff: VD4 +0x1e2c00 - 0x1e2cff: reserved +0x1e2d00 - 0x1e2dff: VD4 +0x1e2e00 - 0x1e3eff: reserved +0x1e3f00 - 0x1e3fff: VD4 */ +GEN_FW_RANGE (0x1e4000 ,0x1e7fff ,FORCEWAKE_MEDIA_VDBOX5 ),/* +0x1e4000 - 0x1e6bff: VD5 +0x1e6c00 - 0x1e6cff: reserved +0x1e6d00 - 0x1e6dff: VD5 +0x1e6e00 - 0x1e7fff: reserved */ +GEN_FW_RANGE (0x1e8000 ,0x1effff ,FORCEWAKE_MEDIA_VEBOX2 ),/* +0x1e8000 - 0x1ea0ff: VE2 +0x1ea100 - 0x1effff: reserved */ +GEN_FW_RANGE (0x1f0000 ,0x1f3fff ,FORCEWAKE_MEDIA_VDBOX6 ),/* +0x1f0000 - 0x1f2bff: VD6 +0x1f2c00 - 0x1f2cff: reserved +0x1f2d00 - 0x1f2dff: VD6 +0x1f2e00 - 0x1f3eff: reserved +0x1f3f00 - 0x1f3fff: VD6 */ +GEN_FW_RANGE (0x1f4000 ,0x1f7fff ,FORCEWAKE_MEDIA_VDBOX7 ),/* +0x1f4000 - 0x1f6bff: VD7 +0x1f6c00 - 0x1f6cff: reserved +0x1f6d00 - 0x1f6dff: VD7 +0x1f6e00 - 0x1f7fff: reserved */ +GEN_FW_RANGE (0x1f8000 ,0x1fa0ff ,FORCEWAKE_MEDIA_VEBOX3 ), };static const struct intel_forcewake_range __pvc_fw_ranges[] = {Signature · 1 line
2.43.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
PATCH v2 3/6 drm/i915: Stop inheriting IP_VER(12, 50)
In reply to Lucas De MarchiAll the platforms that inherit the media/graphics version from XE_HPM_FEATURES / XE_HP_FEATURES just override it to another version. Just set the version directly in the respective struct and remove the versions from the _FEATURES macros. Since that was the only use for XE_HPM_FEATURES, remove it completely.
--- drivers/gpu/drm/i915/i915_pci.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/i915_pci.c +4 -8
@@ -705,8 +705,6 @@ static const struct intel_device_info adl_p_info = { I915_GTT_PAGE_SIZE_2M#define XE_HP_FEATURES \ - .__runtime.graphics.ip.ver = 12, \ - .__runtime.graphics.ip.rel = 50, \ XE_HP_PAGE_SIZES, \ TGL_CACHELEVEL, \ .dma_mask_size = 46, \
@@ -730,15 +728,12 @@ static const struct intel_device_info adl_p_info = { .__runtime.ppgtt_size = 48, \ .__runtime.ppgtt_type = INTEL_PPGTT_FULL -#define XE_HPM_FEATURES \ - .__runtime.media.ip.ver = 12, \ - .__runtime.media.ip.rel = 50 -#define DG2_FEATURES \ XE_HP_FEATURES, \ - XE_HPM_FEATURES, \ DGFX_FEATURES, \ + .__runtime.graphics.ip.ver = 12, \ .__runtime.graphics.ip.rel = 55, \ + .__runtime.media.ip.ver = 12, \ .__runtime.media.ip.rel = 55, \ PLATFORM(INTEL_DG2), \ .has_64k_pages = 1, \
@@ -773,9 +768,10 @@ static const struct intel_device_info ats_m_info = {__maybe_unused static const struct intel_device_info pvc_info = {XE_HPC_FEATURES , -XE_HPM_FEATURES ,DGFX_FEATURES , + .__runtime.graphics.ip.ver =12 , .__runtime.graphics.ip.rel =60 , + .__runtime.media.ip.ver =12 , .__runtime.media.ip.rel =60 ,PLATFORM (INTEL_PONTEVECCHIO ), .has_flat_ccs =0 ,
Signature · 1 line
2.43.0
Re: [PATCH v2 3/6] drm/i915: Stop inheriting IP_VER(12, 50)
Quoting Lucas De Marchi (2024-03-12 20:51:42-03:00)
Quoted 7 lines
All the platforms that inherit the media/graphics version from
XE_HPM_FEATURES/XE_HP_FEATURESjust override it to another version. Just set the version directly in the respective struct and remove the versions from the_FEATURESmacros. Since that was the only use forXE_HPM_FEATURES, remove it completely.Signed-off-by Lucas De Marchi <[email protected]>
I took a look at the patch and also checked with the following script:
#!/bin/bash
parse_info()
{
local rev=$1
local out=$2
echo "Generating info for $(git log -n1 --format="%h %s" "$rev")"
git checkout "$rev"
make drivers/gpu/drm/i915/i915_pci.i
echo
cat drivers/gpu/drm/i915/i915_pci.i \
| grep -o \
-e 'struct\s\+intel_device_info\s\+[^=]\+' \
-e '.__runtime.\(graphics\|media\).ip.\(ver\|rel\)\s*=[^,]\+' \
| awk '
/intel_device_info/ { cur_info_var = $3 }
/__runtime/ { info[cur_info_var "::" $1] = cur_info_var "::" $0 }
END {
for (k in info) {
print info[k]
}
}
' \
| sort \
> $out
}
parse_info c70b324e95d2a06d663111ce3498729e1f9729f9~ /tmp/a
parse_info c70b324e95d2a06d663111ce3498729e1f9729f9 /tmp/b
diff_content=$(git diff --no-index -- /tmp/a /tmp/b)
if [[ -z $diff_content ]]; then
echo "Patch looks sane :-)"
else
echo "Patch generates different IP versions!"
echo
print $diff_content
fiAnd I got the following output:
Generating info for eba0fccec7de drm/i915: Remove XEHP_FWRANGES()
Previous HEAD position was c70b324e95d2 drm/i915: Stop inheriting IP_VER(12, 50)
HEAD is now at eba0fccec7de drm/i915: Remove XEHP_FWRANGES()
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
CPP [M] drivers/gpu/drm/i915/i915_pci.i
Generating info for c70b324e95d2 drm/i915: Stop inheriting IP_VER(12, 50)
Previous HEAD position was eba0fccec7de drm/i915: Remove XEHP_FWRANGES()
HEAD is now at c70b324e95d2 drm/i915: Stop inheriting IP_VER(12, 50)
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
CPP [M] drivers/gpu/drm/i915/i915_pci.i
Patch looks sane :-)Based on that,
Quoted 50 lines
---
drivers/gpu/drm/i915/i915_pci.c| 12 ++++--------1 file changed, 4 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_pci.c +2
-7@@ -705,8 +705,6 @@ static const struct intel_device_info adl_p_info = { I915_GTT_PAGE_SIZE_2M#define XE_HP_FEATURES \ - .__runtime.graphics.ip.ver = 12, \ - .__runtime.graphics.ip.rel = 50, \ XE_HP_PAGE_SIZES, \ TGL_CACHELEVEL, \ .dma_mask_size = 46, \@@ -730,15 +728,12 @@ static const struct intel_device_info adl_p_info = { .__runtime.ppgtt_size = 48, \ .__runtime.ppgtt_type = INTEL_PPGTT_FULL -#define XE_HPM_FEATURES \ - .__runtime.media.ip.ver = 12, \ - .__runtime.media.ip.rel = 50 -#define DG2_FEATURES \ XE_HP_FEATURES, \ - XE_HPM_FEATURES, \ DGFX_FEATURES, \ + .__runtime.graphics.ip.ver = 12, \ .__runtime.graphics.ip.rel = 55, \ + .__runtime.media.ip.ver = 12, \ .__runtime.media.ip.rel = 55, \ PLATFORM(INTEL_DG2), \ .has_64k_pages = 1, \@@ -773,9 +768,10 @@ static const struct intel_device_info ats_m_info = {
__maybe_unused
static const structintel_device_infopvc_info= {
XE_HPC_FEATURES,drivers/gpu/drm/i915/i915_pci.c +2
-1-XE_HPM_FEATURES , DGFX_FEATURES, + .__runtime.graphics.ip.ver = 12, .__runtime.graphics.ip.rel = 60, + .__runtime.media.ip.ver = 12, .__runtime.media.ip.rel =60 ,PLATFORM (INTEL_PONTEVECCHIO ), .has_flat_ccs = 0,Signature · 1 line
2.43.0
Re: [PATCH v2 3/6] drm/i915: Stop inheriting IP_VER(12, 50)
In reply to Lucas De MarchiQuoted 7 lines · Lucas De Marchi
All the platforms that inherit the media/graphics version from
XE_HPM_FEATURES/XE_HP_FEATURESjust override it to another version. Just set the version directly in the respective struct and remove the versions from the_FEATURESmacros. Since that was the only use forXE_HPM_FEATURES, remove it completely.Signed-off-by Lucas De Marchi <[email protected]>
Quoted 50 lines
--- drivers/gpu/drm/i915/i915_pci.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_pci.c +4
-8@@ -705,8 +705,6 @@ static const struct intel_device_info adl_p_info = { I915_GTT_PAGE_SIZE_2M#define XE_HP_FEATURES \ - .__runtime.graphics.ip.ver = 12, \ - .__runtime.graphics.ip.rel = 50, \ XE_HP_PAGE_SIZES, \ TGL_CACHELEVEL, \ .dma_mask_size = 46, \@@ -730,15 +728,12 @@ static const struct intel_device_info adl_p_info = { .__runtime.ppgtt_size = 48, \ .__runtime.ppgtt_type = INTEL_PPGTT_FULL -#define XE_HPM_FEATURES \ - .__runtime.media.ip.ver = 12, \ - .__runtime.media.ip.rel = 50 -#define DG2_FEATURES \ XE_HP_FEATURES, \ - XE_HPM_FEATURES, \ DGFX_FEATURES, \ + .__runtime.graphics.ip.ver = 12, \ .__runtime.graphics.ip.rel = 55, \ + .__runtime.media.ip.ver = 12, \ .__runtime.media.ip.rel = 55, \ PLATFORM(INTEL_DG2), \ .has_64k_pages = 1, \@@ -773,9 +768,10 @@ static const struct intel_device_info ats_m_info = {__maybe_unused static const struct intel_device_info pvc_info = {XE_HPC_FEATURES , -XE_HPM_FEATURES ,DGFX_FEATURES , + .__runtime.graphics.ip.ver =12 , .__runtime.graphics.ip.rel =60 , + .__runtime.media.ip.ver =12 , .__runtime.media.ip.rel =60 ,PLATFORM (INTEL_PONTEVECCHIO ), .has_flat_ccs =0 ,Signature · 1 line
2.43.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
PATCH v2 4/6 drm/i915: Update IP_VER(12, 50)
In reply to Lucas De MarchiWith no platform using graphics/media IP_VER(12, 50), replace the checks throughout the code with IP_VER(12, 55) so the code makes sense by itself with no additional explanation of previous baggage.
--- drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 4 ++-- .../gpu/drm/i915/gem/selftests/i915_gem_client_blt.c | 8 ++++---- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 5 ++--- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 10 +++++----- drivers/gpu/drm/i915/gt/intel_gt.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_gt_mcr.h | 2 +- drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +- drivers/gpu/drm/i915/gt/intel_lrc.c | 8 ++++---- drivers/gpu/drm/i915/gt/intel_migrate.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_mocs.c | 2 +- drivers/gpu/drm/i915/gt/intel_sseu.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_workarounds.c | 4 ++-- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 4 ++-- drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +- drivers/gpu/drm/i915/i915_getparam.c | 4 ++-- drivers/gpu/drm/i915/i915_gpu_error.c | 5 ++--- drivers/gpu/drm/i915/i915_perf.c | 8 ++++---- drivers/gpu/drm/i915/i915_query.c | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- 23 files changed, 46 insertions(+), 48 deletions(-)
drivers/gpu/drm/i915/gem/selftests/huge_pages.c +2 -2
@@ -713,7 +713,7 @@ static int igt_ppgtt_huge_fill(void *arg) {struct drm_i915_private *i915 = arg;unsigned int supported =RUNTIME_INFO (i915)->page_sizes; -bool has_pte64 =GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 ); +bool has_pte64 =GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 );struct i915_address_space *vm;struct i915_gem_context *ctx;unsigned long max_pages;
@@ -857,7 +857,7 @@ static int igt_ppgtt_huge_fill(void *arg)static int igt_ppgtt_64K (void *arg) {struct drm_i915_private *i915 = arg; -bool has_pte64 =GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 ); +bool has_pte64 =GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 );struct drm_i915_gem_object *obj;struct i915_address_space *vm;struct i915_gem_context *ctx;
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c +4 -4
@@ -117,7 +117,7 @@ static bool fastblit_supports_x_tiling(const struct drm_i915_private *i915)if (gen <12 )return true; -if (GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) <IP_VER (12 ,55 ))return false;return HAS_DISPLAY (i915);
@@ -166,7 +166,7 @@ static int prepare_blit(const struct tiled_blits *t, src_pitch = t->width;/* in dwords */ if (src->tiling ==CLIENT_TILING_Y ) { src_tiles =XY_FAST_COPY_BLT_D0_SRC_TILE_MODE (YMAJOR ); -if (GRAPHICS_VER_FULL (to_i915 (batch->base.dev)) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (to_i915 (batch->base.dev)) >=IP_VER (12 ,55 )) src_4t =XY_FAST_COPY_BLT_D1_SRC_TILE4 ; }else if (src->tiling ==CLIENT_TILING_X ) { src_tiles =XY_FAST_COPY_BLT_D0_SRC_TILE_MODE (TILE_X );
@@ -177,7 +177,7 @@ static int prepare_blit(const struct tiled_blits *t, dst_pitch = t->width;/* in dwords */ if (dst->tiling ==CLIENT_TILING_Y ) { dst_tiles =XY_FAST_COPY_BLT_D0_DST_TILE_MODE (YMAJOR ); -if (GRAPHICS_VER_FULL (to_i915 (batch->base.dev)) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (to_i915 (batch->base.dev)) >=IP_VER (12 ,55 )) dst_4t =XY_FAST_COPY_BLT_D1_DST_TILE4 ; }else if (dst->tiling ==CLIENT_TILING_X ) { dst_tiles =XY_FAST_COPY_BLT_D0_DST_TILE_MODE (TILE_X );
@@ -365,7 +365,7 @@ static u64 tiled_offset(const struct intel_gt *gt, v += x; swizzle = gt->ggtt->bit_6_swizzle_x; - }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,50 )) { + }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,55 )) {/* Y-major tiling layout is Tile4 for Xe_HP and beyond */ v =linear_x_y_to_ftiled_pos (x_pos, y_pos, stride,32 );
drivers/gpu/drm/i915/gt/gen8_engine_cs.c +1 -1
@@ -833,7 +833,7 @@ u32 *gen12_emit_fini_breadcrumb_rcs(struct i915_request *rq, u32 *cs) cs =gen12_emit_pipe_control (cs,0 ,PIPE_CONTROL_DEPTH_CACHE_FLUSH ,0 ); -if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,55 ))/* Wa_1409600907 */ flags |=PIPE_CONTROL_DEPTH_STALL ;
drivers/gpu/drm/i915/gt/intel_engine_cs.c +2 -3
@@ -765,14 +765,14 @@ static void engine_mask_apply_media_fuses(struct intel_gt *gt)* and bits have disable semantices. */ media_fuse =intel_uncore_read (gt->uncore,GEN11_GT_VEBOX_VDBOX_DISABLE ); -if (MEDIA_VER_FULL (i915) <IP_VER (12 ,50 )) +if (MEDIA_VER_FULL (i915) <IP_VER (12 ,55 )) media_fuse = ~media_fuse; vdbox_mask = media_fuse &GEN11_GT_VDBOX_DISABLE_MASK ; vebox_mask = (media_fuse &GEN11_GT_VEBOX_DISABLE_MASK ) >>GEN11_GT_VEBOX_DISABLE_SHIFT ; -if (MEDIA_VER_FULL (i915) >=IP_VER (12 ,50 )) { +if (MEDIA_VER_FULL (i915) >=IP_VER (12 ,55 )) { fuse1 =intel_uncore_read (gt->uncore,HSW_PAVP_FUSE1 ); gt->info.sfc_mask =REG_FIELD_GET (XEHP_SFC_ENABLE_MASK , fuse1); }else {
@@ -1193,7 +1193,6 @@ static int intel_engine_init_tlb_invalidation(struct intel_engine_cs *engine)if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,74 ) ||GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,71 ) ||GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,70 ) || -GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,50 ) ||GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,55 )) { regs = xehp_regs; num =ARRAY_SIZE (xehp_regs);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +5 -5
@@ -493,7 +493,7 @@ __execlists_schedule_in(struct i915_request *rq)/* Use a fixed tag for OA and friends */ GEM_BUG_ON (ce->tag <=BITS_PER_LONG ); ce->lrc.ccid = ce->tag; - }else if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) { + }else if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) {/* We don't need a strict matching tag, just different values */ unsigned int tag =ffs (READ_ONCE (engine->context_tag));
@@ -613,7 +613,7 @@ static void __execlists_schedule_out(struct i915_request * const rq,intel_engine_add_retire (engine, ce->timeline); ccid = ce->lrc.ccid; -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) { +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) { ccid >>=XEHP_SW_CTX_ID_SHIFT -32 ; ccid &=XEHP_MAX_CONTEXT_HW_ID ; }else {
@@ -1907,7 +1907,7 @@ process_csb(struct intel_engine_cs *engine, struct i915_request **inactive)ENGINE_TRACE (engine,"csb[%d]: status=0x%08x:0x%08x\n" , head,upper_32_bits (csb),lower_32_bits (csb)); -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) promote =xehp_csb_parse (csb);else if (GRAPHICS_VER (engine->i915) >=12 ) promote =gen12_csb_parse (csb);
@@ -3479,7 +3479,7 @@ logical_ring_default_vfuncs(struct intel_engine_cs *engine) } } -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) { +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) {if (intel_engine_has_preemption (engine)) engine->emit_bb_start = xehp_emit_bb_start;else
@@ -3582,7 +3582,7 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine) engine->context_tag =GENMASK (BITS_PER_LONG -2 ,0 );if (GRAPHICS_VER (engine->i915) >=11 && -GRAPHICS_VER_FULL (engine->i915) <IP_VER (12 ,50 )) { +GRAPHICS_VER_FULL (engine->i915) <IP_VER (12 ,55 )) { execlists->ccid |= engine->instance << (GEN11_ENGINE_INSTANCE_SHIFT -32 ); execlists->ccid |= engine->class << (GEN11_ENGINE_CLASS_SHIFT -32 ); }
drivers/gpu/drm/i915/gt/intel_gt.c +2 -2
@@ -278,7 +278,7 @@ intel_gt_clear_error_registers(struct intel_gt *gt,intel_uncore_posting_read (uncore,XELPMP_RING_FAULT_REG ); - }else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { + }else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) {intel_gt_mcr_multicast_rmw (gt,XEHP_RING_FAULT_REG ,RING_FAULT_VALID ,0 );intel_gt_mcr_read_any (gt,XEHP_RING_FAULT_REG );
@@ -403,7 +403,7 @@ void intel_gt_check_and_clear_faults(struct intel_gt *gt)struct drm_i915_private *i915 = gt->i915;/* From GEN8 onwards we only have one 'All Engine Fault Register' */ -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))xehp_check_faults (gt);else if (GRAPHICS_VER (i915) >=8 )gen8_check_faults (gt);
drivers/gpu/drm/i915/gt/intel_gt_mcr.c +2 -2
@@ -184,7 +184,7 @@ void intel_gt_mcr_init(struct intel_gt *gt)* steering. */ }else if (GRAPHICS_VER (i915) >=11 && -GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) { +GRAPHICS_VER_FULL (i915) <IP_VER (12 ,55 )) { gt->steering_table[L3BANK ] = icl_l3bank_steering_table; gt->info.l3bank_mask = ~intel_uncore_read(gt->uncore, GEN10_MIRROR_FUSE3) &
@@ -829,7 +829,7 @@ void intel_gt_mcr_get_ss_steering(struct intel_gt *gt, unsigned int dss,if (IS_PONTEVECCHIO (gt->i915)) { *group = dss /GEN_DSS_PER_CSLICE ; *instance = dss %GEN_DSS_PER_CSLICE ; - }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,50 )) { + }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,55 )) { *group = dss /GEN_DSS_PER_GSLICE ; *instance = dss %GEN_DSS_PER_GSLICE ; }else {
drivers/gpu/drm/i915/gt/intel_gt_mcr.h +1 -1
@@ -54,7 +54,7 @@ int intel_gt_mcr_wait_for_reg(struct intel_gt *gt,* the topology, so we lookup the DSS ID directly in "slice 0." */ #define _HAS_SS (ss_, gt_, group_, instance_) ( \ - GRAPHICS_VER_FULL(gt_->i915) >= IP_VER(12, 50) ? \ + GRAPHICS_VER_FULL(gt_->i915) >= IP_VER(12, 55) ? \ intel_sseu_has_subslice(&(gt_)->info.sseu, 0, ss_) : \ intel_sseu_has_subslice(&(gt_)->info.sseu, group_, instance_))
drivers/gpu/drm/i915/gt/intel_gtt.c +1 -1
@@ -680,7 +680,7 @@ void setup_private_pat(struct intel_gt *gt)if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,70 ))xelpg_setup_private_ppat (gt); -else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))xehp_setup_private_ppat (gt);else if (GRAPHICS_VER (i915) >=12 )tgl_setup_private_ppat (uncore);
drivers/gpu/drm/i915/gt/intel_lrc.c +4 -4
@@ -676,7 +676,7 @@ static const u8 *reg_offsets(const struct intel_engine_cs *engine)static int lrc_ring_mi_mode (const struct intel_engine_cs *engine) { -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 ))return 0x70 ;else if (GRAPHICS_VER (engine->i915) >=12 )return 0x60 ;
@@ -690,7 +690,7 @@ static int lrc_ring_mi_mode(const struct intel_engine_cs *engine)static int lrc_ring_bb_offset (const struct intel_engine_cs *engine) { -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 ))return 0x80 ;else if (GRAPHICS_VER (engine->i915) >=12 )return 0x70 ;
@@ -705,7 +705,7 @@ static int lrc_ring_bb_offset(const struct intel_engine_cs *engine)static int lrc_ring_gpr0 (const struct intel_engine_cs *engine) { -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 ))return 0x84 ;else if (GRAPHICS_VER (engine->i915) >=12 )return 0x74 ;
@@ -752,7 +752,7 @@ static int lrc_ring_indirect_offset(const struct intel_engine_cs *engine)static int lrc_ring_cmd_buf_cctl (const struct intel_engine_cs *engine) { -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 ))/* * Note that the CSFE context has a dummy slot for CMD_BUF_CCTL * simply to match the RCS context image layout.
drivers/gpu/drm/i915/gt/intel_migrate.c +2 -2
@@ -925,7 +925,7 @@ static int emit_clear(struct i915_request *rq, u32 offset, int size,GEM_BUG_ON (size >>PAGE_SHIFT >S16_MAX ); -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) ring_sz =XY_FAST_COLOR_BLT_DW ;else if (ver >=8 ) ring_sz =8 ;
@@ -936,7 +936,7 @@ static int emit_clear(struct i915_request *rq, u32 offset, int size,if (IS_ERR (cs))return PTR_ERR (cs); -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) { *cs++ =XY_FAST_COLOR_BLT_CMD |XY_FAST_COLOR_BLT_DEPTH_32 | (XY_FAST_COLOR_BLT_DW -2 ); *cs++ = FIELD_PREP(XY_FAST_COLOR_BLT_MOCS_MASK, mocs) |
drivers/gpu/drm/i915/gt/intel_mocs.c +1 -1
@@ -639,7 +639,7 @@ static void init_l3cc_table(struct intel_gt *gt,intel_gt_mcr_lock (gt, &flags);for_each_l3cc (l3cc, table, i) -if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,55 ))intel_gt_mcr_multicast_write_fw (gt,XEHP_LNCFCMOCS (i), l3cc);else intel_uncore_write_fw (gt->uncore,GEN9_LNCFCMOCS (i), l3cc);
drivers/gpu/drm/i915/gt/intel_sseu.c +2 -2
@@ -642,7 +642,7 @@ void intel_sseu_info_init(struct intel_gt *gt) {struct drm_i915_private *i915 = gt->i915; -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))xehp_sseu_info_init (gt);else if (GRAPHICS_VER (i915) >=12 )gen12_sseu_info_init (gt);
@@ -851,7 +851,7 @@ void intel_sseu_print_topology(struct drm_i915_private *i915, {if (sseu->max_slices ==0 )drm_printf (p,"Unavailable\n" ); -else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))sseu_print_xehp_topology (sseu, p);else sseu_print_hsw_topology (sseu, p);
drivers/gpu/drm/i915/gt/intel_workarounds.c +2 -2
@@ -2771,7 +2771,7 @@ add_render_compute_tuning_settings(struct intel_gt *gt,wa_mcr_masked_field_set (wal,GEN9_ROW_CHICKEN4 ,THREAD_EX_ARB_MODE ,THREAD_EX_ARB_MODE_RR_AFTER_DEP ); -if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,55 ))wa_write_clr (wal,GEN8_GARBCNTL ,GEN12_BUS_HASH_CTL_BIT_EXC ); }
@@ -2970,7 +2970,7 @@ static bool mcr_range(struct drm_i915_private *i915, u32 offset)const struct i915_range *mcr_ranges;int i; -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) mcr_ranges = mcr_ranges_xehp;else if (GRAPHICS_VER (i915) >=12 ) mcr_ranges = mcr_ranges_gen12;
drivers/gpu/drm/i915/gt/uc/intel_guc.c +1 -1
@@ -286,7 +286,7 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc)/* Wa_22012773006:gen11,gen12 < XeHP */ if (GRAPHICS_VER (gt->i915) >=11 && -GRAPHICS_VER_FULL (gt->i915) <IP_VER (12 ,50 )) +GRAPHICS_VER_FULL (gt->i915) <IP_VER (12 ,55 )) flags |=GUC_WA_POLLCS ;/* Wa_14014475959 */
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c +2 -2
@@ -412,7 +412,7 @@ static int guc_mmio_regset_init(struct temp_regset *regset,/* add in local MOCS registers */ for (i =0 ; i <LNCFCMOCS_REG_COUNT ; i++) -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) ret |=GUC_MCR_REG_ADD (gt, regset,XEHP_LNCFCMOCS (i), false);else ret |=GUC_MMIO_REG_ADD (gt, regset,GEN9_LNCFCMOCS (i), false);
@@ -522,7 +522,7 @@ static void fill_engine_enable_masks(struct intel_gt *gt,#define LR_HW_CONTEXT_SIZE (80 * sizeof(u32))#define XEHP_LR_HW_CONTEXT_SIZE (96 * sizeof(u32)) -#define LR_HW_CONTEXT_SZ (i915) (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 50) ? \ +#define LR_HW_CONTEXT_SZ (i915) (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 55) ? \ XEHP_LR_HW_CONTEXT_SIZE : \ LR_HW_CONTEXT_SIZE)#define LRC_SKIP_SIZE (i915) (LRC_PPHWSP_SZ * PAGE_SIZE + LR_HW_CONTEXT_SZ(i915))
drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c +1 -1
@@ -26,7 +26,7 @@ static void guc_prepare_xfer(struct intel_gt *gt)GUC_ENABLE_READ_CACHE_FOR_WOPCM_DATA |GUC_ENABLE_MIA_CLOCK_GATING ; -if (GRAPHICS_VER_FULL (uncore->i915) <IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (uncore->i915) <IP_VER (12 ,55 )) shim_flags |=GUC_DISABLE_SRAM_INIT_TO_ZEROES |GUC_ENABLE_MIA_CACHING ;
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1 -1
@@ -4519,7 +4519,7 @@ static void guc_default_vfuncs(struct intel_engine_cs *engine)*/ engine->emit_bb_start = gen8_emit_bb_start; -if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 )) engine->emit_bb_start = xehp_emit_bb_start; }
drivers/gpu/drm/i915/i915_getparam.c +2 -2
@@ -166,7 +166,7 @@ int i915_getparam_ioctl(struct drm_device *dev, void *data,break ;case I915_PARAM_SLICE_MASK :/* Not supported from Xe_HP onward; use topology queries */ -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))return -EINVAL ; value = sseu->slice_mask;
@@ -175,7 +175,7 @@ int i915_getparam_ioctl(struct drm_device *dev, void *data,break ;case I915_PARAM_SUBSLICE_MASK :/* Not supported from Xe_HP onward; use topology queries */ -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 ))return -EINVAL ;/* Only copy bits from the first slice */
drivers/gpu/drm/i915/i915_gpu_error.c +2 -3
@@ -1245,8 +1245,7 @@ static void engine_record_registers(struct intel_engine_coredump *ee)if (MEDIA_VER (i915) >=13 && engine->gt->type ==GT_MEDIA ) ee->fault_reg =intel_uncore_read (engine->uncore,XELPMP_RING_FAULT_REG ); - -else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) +else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) ee->fault_reg =intel_gt_mcr_read_any (engine->gt,XEHP_RING_FAULT_REG );else if (GRAPHICS_VER (i915) >=12 )
@@ -1852,7 +1851,7 @@ static void gt_record_global_regs(struct intel_gt_coredump *gt)if (GRAPHICS_VER (i915) ==7 ) gt->err_int =intel_uncore_read (uncore,GEN7_ERR_INT ); -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,55 )) { gt->fault_data0 =intel_gt_mcr_read_any ((struct intel_gt *)gt->_gt,XEHP_FAULT_TLB_DATA0 ); gt->fault_data1 = intel_gt_mcr_read_any((struct intel_gt *)gt->_gt,
drivers/gpu/drm/i915/i915_perf.c +4 -4
@@ -292,7 +292,7 @@ static u32 i915_perf_stream_paranoid = true;#define OAREPORT_REASON_CTX_SWITCH (1<<3)#define OAREPORT_REASON_CLK_RATIO (1<<5) -#define HAS_MI_SET_PREDICATE (i915) (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 50)) +#define HAS_MI_SET_PREDICATE (i915) (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 55))/* For sysctl proc_dointvec_minmax of i915_oa_max_sample_rate *
@@ -817,7 +817,7 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,*/ if (oa_report_ctx_invalid (stream, report) && -GRAPHICS_VER_FULL (stream->engine->i915) <IP_VER (12 ,50 )) { +GRAPHICS_VER_FULL (stream->engine->i915) <IP_VER (12 ,55 )) { ctx_id =INVALID_CTX_ID ;oa_context_id_squash (stream, report32); }
@@ -1419,7 +1419,7 @@ static int gen12_get_render_context_id(struct i915_perf_stream *stream) mask = ((1U <<GEN12_GUC_SW_CTX_ID_WIDTH ) -1 ) << (GEN12_GUC_SW_CTX_ID_SHIFT -32 ); - }else if (GRAPHICS_VER_FULL (stream->engine->i915) >=IP_VER (12 ,50 )) { + }else if (GRAPHICS_VER_FULL (stream->engine->i915) >=IP_VER (12 ,55 )) { ctx_id = (XEHP_MAX_CONTEXT_HW_ID -1 ) << (XEHP_SW_CTX_ID_SHIFT -32 );
@@ -4122,7 +4122,7 @@ static int read_properties_unlocked(struct i915_perf *perf, props->hold_preemption = !!value;break ;case DRM_I915_PERF_PROP_GLOBAL_SSEU : { -if (GRAPHICS_VER_FULL (perf->i915) >=IP_VER (12 ,50 )) { +if (GRAPHICS_VER_FULL (perf->i915) >=IP_VER (12 ,55 )) {drm_dbg (&perf->i915->drm,"SSEU config not supported on gfx %x\n" ,GRAPHICS_VER_FULL (perf->i915));
drivers/gpu/drm/i915/i915_query.c +1 -1
@@ -105,7 +105,7 @@ static int query_geometry_subslices(struct drm_i915_private *i915,struct intel_engine_cs *engine;struct i915_engine_class_instance classinstance; -if (GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +if (GRAPHICS_VER_FULL (i915) <IP_VER (12 ,55 ))return -ENODEV ; classinstance = *((struct i915_engine_class_instance *)&query_item->flags);
drivers/gpu/drm/i915/intel_uncore.c +1 -1
@@ -2714,7 +2714,7 @@ void intel_uncore_prune_engine_fw_domains(struct intel_uncore *uncore,* the forcewake domain if any of the other engines * in the same media slice are present. */ -if (GRAPHICS_VER_FULL (uncore->i915) >=IP_VER (12 ,50 ) && i %2 ==0 ) { +if (GRAPHICS_VER_FULL (uncore->i915) >=IP_VER (12 ,55 ) && i %2 ==0 ) {if ((i +1 <I915_MAX_VCS ) &&HAS_ENGINE (gt,_VCS (i +1 )))continue ;
Signature · 1 line
2.43.0
PATCH v2 5/6 drm/i915: Drop dead code for pvc
In reply to Lucas De MarchiPCI IDs for PVC were never added and platform always marked with force_probe. Drop what's not used and rename some places as needed.
The registers not used anymore are also removed.
--- .../gpu/drm/i915/gem/i915_gem_object_types.h | 2 +- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 3 - drivers/gpu/drm/i915/gt/intel_engine_cs.c | 33 ---- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 30 +--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 9 -- drivers/gpu/drm/i915/gt/intel_mocs.c | 19 --- drivers/gpu/drm/i915/gt/intel_rps.c | 4 +- drivers/gpu/drm/i915/gt/intel_sseu.c | 9 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 84 +---------- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 4 - drivers/gpu/drm/i915/i915_debugfs.c | 12 -- drivers/gpu/drm/i915/i915_drv.h | 9 -- drivers/gpu/drm/i915/i915_pci.c | 36 ----- drivers/gpu/drm/i915/i915_reg.h | 1 - drivers/gpu/drm/i915/intel_clock_gating.c | 16 +- drivers/gpu/drm/i915/intel_device_info.c | 1 - drivers/gpu/drm/i915/intel_device_info.h | 1 - drivers/gpu/drm/i915/intel_step.c | 70 +-------- drivers/gpu/drm/i915/intel_uncore.c | 142 ------------------ drivers/gpu/drm/i915/selftests/intel_uncore.c | 2 - .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 4 - 21 files changed, 10 insertions(+), 481 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +1 -1
@@ -386,7 +386,7 @@ struct drm_i915_gem_object {* and kernel mode driver for caching policy control after GEN12. * In the meantime platform specific tables are created to translate * i915_cache_level into pat index, for more details check the macros -* defined i915/i915_pci.c, e.g. PVC_CACHELEVEL. +* defined i915/i915_pci.c, e.g. TGL_CACHELEVEL. * For backward compatibility, this field contains values exactly match * the entries of enum i915_cache_level for pre-GEN12 platforms (See * LEGACY_CACHELEVEL), so that the PTE encode functions for these
drivers/gpu/drm/i915/gt/gen8_engine_cs.c +0 -3
@@ -189,9 +189,6 @@ static bool gen12_needs_ccs_aux_inv(struct intel_engine_cs *engine) {i915_reg_t reg =gen12_get_aux_inv_reg (engine); -if (IS_PONTEVECCHIO (engine->i915)) -return false; -/* * So far platforms supported by i915 having flat ccs do not require * AUX invalidation. Check also whether the engine requires it.
drivers/gpu/drm/i915/gt/intel_engine_cs.c +0 -33
@@ -839,38 +839,6 @@ static void engine_mask_apply_compute_fuses(struct intel_gt *gt) } } -static void engine_mask_apply_copy_fuses (struct intel_gt *gt) -{ -struct drm_i915_private *i915 = gt->i915; -struct intel_gt_info *info = >->info; -unsigned long meml3_mask; -unsigned long quad; - -if (!(GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,60 ) && -GRAPHICS_VER_FULL (i915) <IP_VER (12 ,70 ))) -return ; - - meml3_mask =intel_uncore_read (gt->uncore,GEN10_MIRROR_FUSE3 ); - meml3_mask =REG_FIELD_GET (GEN12_MEML3_EN_MASK , meml3_mask); - -/* -* Link Copy engines may be fused off according to meml3_mask. Each -* bit is a quad that houses 2 Link Copy and two Sub Copy engines. -*/ -for_each_clear_bit (quad, &meml3_mask,GEN12_MAX_MSLICES ) { -unsigned int instance = quad *2 +1 ; -intel_engine_mask_t mask =GENMASK (_BCS (instance +1 ), -_BCS (instance)); - -if (mask & info->engine_mask) { -gt_dbg (gt,"bcs%u fused off\n" , instance); -gt_dbg (gt,"bcs%u fused off\n" , instance +1 ); - - info->engine_mask &= ~mask; - } - } -} -/* * Determine which engines are fused off in our particular hardware. * Note that we have a catch-22 situation where we need to be able to access
@@ -889,7 +857,6 @@ static intel_engine_mask_t init_engine_mask(struct intel_gt *gt)engine_mask_apply_media_fuses (gt);engine_mask_apply_compute_fuses (gt); -engine_mask_apply_copy_fuses (gt);/* * The only use of the GSC CS is to load and communicate with the GSC
drivers/gpu/drm/i915/gt/intel_gt_mcr.c +1 -29
@@ -69,27 +69,6 @@ static const struct intel_mmio_range dg2_lncf_steering_table[] = { {}, }; -/* -* We have several types of MCR registers on PVC where steering to (0,0) -* will always provide us with a non-terminated value. We'll stick them -* all in the same table for simplicity. -*/ -static const struct intel_mmio_range pvc_instance0_steering_table[] = { - {0x004000 ,0x004AFF },/* HALF-BSLICE */ - {0x008800 ,0x00887F },/* CC */ - {0x008A80 ,0x008AFF },/* TILEPSMI */ - {0x00B000 ,0x00B0FF },/* HALF-BSLICE */ - {0x00B100 ,0x00B3FF },/* L3BANK */ - {0x00C800 ,0x00CFFF },/* HALF-BSLICE */ - {0x00D800 ,0x00D8FF },/* HALF-BSLICE */ - {0x00DD00 ,0x00DDFF },/* BSLICE */ - {0x00E900 ,0x00E9FF },/* HALF-BSLICE */ - {0x00EC00 ,0x00EEFF },/* HALF-BSLICE */ - {0x00F000 ,0x00FFFF },/* HALF-BSLICE */ - {0x024180 ,0x0241FF },/* HALF-BSLICE */ - {}, -}; -static const struct intel_mmio_range xelpg_instance0_steering_table[] = { {0x000B00 ,0x000BFF },/* SQIDI */ {0x001000 ,0x001FFF },/* SQIDI */
@@ -173,8 +152,6 @@ void intel_gt_mcr_init(struct intel_gt *gt) gt->steering_table[INSTANCE0 ] = xelpg_instance0_steering_table; gt->steering_table[L3BANK ] = xelpg_l3bank_steering_table; gt->steering_table[DSS ] = xelpg_dss_steering_table; - }else if (IS_PONTEVECCHIO (i915)) { - gt->steering_table[INSTANCE0 ] = pvc_instance0_steering_table; }else if (IS_DG2 (i915)) { gt->steering_table[MSLICE ] = dg2_mslice_steering_table; gt->steering_table[LNCF ] = dg2_lncf_steering_table;
@@ -805,8 +782,6 @@ void intel_gt_mcr_report_steering(struct drm_printer *p, struct intel_gt *gt,for (int i =0 ; i <NUM_STEERING_TYPES ; i++)if (gt->steering_table[i])report_steering_type (p, gt, i, dump_table); - }else if (IS_PONTEVECCHIO (gt->i915)) { -report_steering_type (p, gt,INSTANCE0 , dump_table); }else if (HAS_MSLICE_STEERING (gt->i915)) {report_steering_type (p, gt,MSLICE , dump_table);report_steering_type (p, gt,LNCF , dump_table);
@@ -826,10 +801,7 @@ void intel_gt_mcr_report_steering(struct drm_printer *p, struct intel_gt *gt,void intel_gt_mcr_get_ss_steering (struct intel_gt *gt,unsigned int dss,unsigned int *group,unsigned int *instance) { -if (IS_PONTEVECCHIO (gt->i915)) { - *group = dss /GEN_DSS_PER_CSLICE ; - *instance = dss %GEN_DSS_PER_CSLICE ; - }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,55 )) { +if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,55 )) { *group = dss /GEN_DSS_PER_GSLICE ; *instance = dss %GEN_DSS_PER_GSLICE ; }else {
drivers/gpu/drm/i915/gt/intel_gt_regs.h +0 -9
@@ -953,10 +953,6 @@#define GEN7_WA_FOR_GEN7_L3_CONTROL 0x3C47FF8C#define GEN7_L3AGDIS (1 << 19) -#define XEHPC_LNCFMISCCFGREG0 MCR_REG(0xb01c) -#define XEHPC_HOSTCACHEEN REG_BIT(1) -#define XEHPC_OVRLSCCC REG_BIT(0) -#define GEN7_L3CNTLREG2 _MMIO(0xb020)/* MOCS (Memory Object Control State) registers */
@@ -1013,11 +1009,6 @@#define XEHP_L3SCQREG7 MCR_REG(0xb188)#define BLEND_FILL_CACHING_OPT_DIS REG_BIT(3) -#define XEHPC_L3SCRUB MCR_REG(0xb18c) -#define SCRUB_CL_DWNGRADE_SHARED REG_BIT(12) -#define SCRUB_RATE_PER_BANK_MASK REG_GENMASK(2, 0) -#define SCRUB_RATE_4B_PER_CLK REG_FIELD_PREP(SCRUB_RATE_PER_BANK_MASK, 0x6) -#define GEN11_GLBLINVL _MMIO(0xb404)#define GEN11_BANK_HASH_ADDR_EXCL_MASK (0x7f << 5)#define GEN11_BANK_HASH_ADDR_EXCL_BIT0 (1 << 5)
drivers/gpu/drm/i915/gt/intel_mocs.c +0 -19
@@ -53,7 +53,6 @@ struct drm_i915_mocs_table {/* Helper defines */ #define GEN9_NUM_MOCS_ENTRIES 64/* 63-64 are reserved, but configured. */ -#define PVC_NUM_MOCS_ENTRIES 3#define MTL_NUM_MOCS_ENTRIES 16/* (e)LLC caching options */
@@ -379,17 +378,6 @@ static const struct drm_i915_mocs_entry dg2_mocs_table[] = { MOCS_ENTRY(3, 0, L3_3_WB | L3_LKUP(1)), }; -static const struct drm_i915_mocs_entry pvc_mocs_table[] = { -/* Error */ -MOCS_ENTRY (0 ,0 ,L3_3_WB ), - -/* UC */ -MOCS_ENTRY (1 ,0 ,L3_1_UC ), - -/* WB */ -MOCS_ENTRY (2 ,0 ,L3_3_WB ), -}; -static const struct drm_i915_mocs_entry mtl_mocs_table[] = {/* Error - Reserved for Non-Use */ MOCS_ENTRY(0,
@@ -476,13 +464,6 @@ static unsigned int get_mocs_settings(struct drm_i915_private *i915, table->n_entries =MTL_NUM_MOCS_ENTRIES ; table->uc_index =9 ; table->unused_entries_index =1 ; - }else if (IS_PONTEVECCHIO (i915)) { - table->size =ARRAY_SIZE (pvc_mocs_table); - table->table = pvc_mocs_table; - table->n_entries =PVC_NUM_MOCS_ENTRIES ; - table->uc_index =1 ; - table->wb_index =2 ; - table->unused_entries_index =2 ; }else if (IS_DG2 (i915)) { table->size =ARRAY_SIZE (dg2_mocs_table); table->table = dg2_mocs_table;
drivers/gpu/drm/i915/gt/intel_rps.c +1 -3
@@ -1090,9 +1090,7 @@ static u32 intel_rps_read_state_cap(struct intel_rps *rps)struct drm_i915_private *i915 =rps_to_i915 (rps);struct intel_uncore *uncore =rps_to_uncore (rps); -if (IS_PONTEVECCHIO (i915)) -return intel_uncore_read (uncore,PVC_RP_STATE_CAP ); -else if (IS_GEN9_LP (i915)) +if (IS_GEN9_LP (i915))return intel_uncore_read (uncore,BXT_RP_STATE_CAP );else return intel_uncore_read (uncore,GEN6_RP_STATE_CAP );
drivers/gpu/drm/i915/gt/intel_sseu.c +2 -7
@@ -214,13 +214,8 @@ static void xehp_sseu_info_init(struct intel_gt *gt)int num_compute_regs, num_geometry_regs;int eu; -if (IS_PONTEVECCHIO (gt->i915)) { - num_geometry_regs =0 ; - num_compute_regs =2 ; - }else { - num_geometry_regs =1 ; - num_compute_regs =1 ; - } + num_geometry_regs =1 ; + num_compute_regs =1 ;/* * The concept of slice has been removed in Xe_HP. To be compatible
drivers/gpu/drm/i915/gt/intel_workarounds.c +3 -81
149 lines not on this page · raw message
drivers/gpu/drm/i915/gt/uc/intel_uc.c +0 -4
@@ -50,10 +50,6 @@ static void uc_expand_default_options(struct intel_uc *uc)/* Default: enable HuC authentication and GuC submission */ i915->params.enable_guc =ENABLE_GUC_LOAD_HUC |ENABLE_GUC_SUBMISSION ; - -/* PVC does not use HuC */ -if (IS_PONTEVECCHIO (i915)) - i915->params.enable_guc &= ~ENABLE_GUC_LOAD_HUC ; }/* Reset GuC providing us with fresh state for both GuC and HuC.
drivers/gpu/drm/i915/i915_debugfs.c +0 -12
@@ -156,18 +156,6 @@ static const char *i915_cache_level_str(struct drm_i915_gem_object *obj)case 4 :return " WB (2-Way Coh)" ;default :return " not defined" ; } - }else if (IS_PONTEVECCHIO (i915)) { -switch (obj->pat_index) { -case 0 :return " UC" ; -case 1 :return " WC" ; -case 2 :return " WT" ; -case 3 :return " WB" ; -case 4 :return " WT (CLOS1)" ; -case 5 :return " WB (CLOS1)" ; -case 6 :return " WT (CLOS2)" ; -case 7 :return " WT (CLOS2)" ; -default :return " not defined" ; - } }else if (GRAPHICS_VER (i915) >=12 ) {switch (obj->pat_index) {case 0 :return " WB" ;
drivers/gpu/drm/i915/i915_drv.h +0 -9
@@ -545,7 +545,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define IS_ALDERLAKE_S (i915) IS_PLATFORM(i915, INTEL_ALDERLAKE_S)#define IS_ALDERLAKE_P (i915) IS_PLATFORM(i915, INTEL_ALDERLAKE_P)#define IS_DG2 (i915) IS_PLATFORM(i915, INTEL_DG2) -#define IS_PONTEVECCHIO (i915) IS_PLATFORM(i915, INTEL_PONTEVECCHIO)#define IS_METEORLAKE (i915) IS_PLATFORM(i915, INTEL_METEORLAKE)#define IS_LUNARLAKE (i915) 0
@@ -620,14 +619,6 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define IS_TIGERLAKE_UY (i915) \ IS_SUBPLATFORM(i915, INTEL_TIGERLAKE, INTEL_SUBPLATFORM_UY) -#define IS_PVC_BD_STEP (__i915, since, until) \ - (IS_PONTEVECCHIO(__i915) && \ - IS_BASEDIE_STEP(__i915, since, until)) - -#define IS_PVC_CT_STEP (__i915, since, until) \ - (IS_PONTEVECCHIO(__i915) && \ - IS_GRAPHICS_STEP(__i915, since, until)) -#define IS_LP (i915) (INTEL_INFO(i915)->is_lp)#define IS_GEN9_LP (i915) (GRAPHICS_VER(i915) == 9 && IS_LP(i915))#define IS_GEN9_BC (i915) (GRAPHICS_VER(i915) == 9 && !IS_LP(i915))
drivers/gpu/drm/i915/i915_pci.c +0 -36
@@ -59,14 +59,6 @@ [I915_CACHE_WT] = 2, \ } -#define PVC_CACHELEVEL \ - .cachelevel_to_pat = { \ - [I915_CACHE_NONE] = 0, \ - [I915_CACHE_LLC] = 3, \ - [I915_CACHE_L3_LLC] = 3, \ - [I915_CACHE_WT] = 2, \ - } -#define MTL_CACHELEVEL \ .cachelevel_to_pat = { \ [I915_CACHE_NONE] = 2, \
@@ -756,34 +748,6 @@ static const struct intel_device_info ats_m_info = { .tuning_thread_rr_after_dep = 1, }; -#define XE_HPC_FEATURES \ - XE_HP_FEATURES, \ - .dma_mask_size = 52, \ - .has_3d_pipeline = 0, \ - .has_guc_deprivilege = 1, \ - .has_l3_ccs_read = 1, \ - .has_mslice_steering = 0, \ - .has_one_eu_per_fuse_bit = 1 - -__maybe_unused -static const struct intel_device_info pvc_info = { -XE_HPC_FEATURES , -DGFX_FEATURES , - .__runtime.graphics.ip.ver =12 , - .__runtime.graphics.ip.rel =60 , - .__runtime.media.ip.ver =12 , - .__runtime.media.ip.rel =60 , -PLATFORM (INTEL_PONTEVECCHIO ), - .has_flat_ccs =0 , - .max_pat_index =7 , - .platform_engine_mask = -BIT (BCS0 ) | -BIT (VCS0 ) | -BIT (CCS0 ) |BIT (CCS1 ) |BIT (CCS2 ) |BIT (CCS3 ), - .require_force_probe =1 , -PVC_CACHELEVEL , -}; -static const struct intel_gt_definition xelpmp_extra_gt[] = { { .type =GT_MEDIA ,
drivers/gpu/drm/i915/i915_reg.h +0 -1
@@ -1750,7 +1750,6 @@#define BXT_RP_STATE_CAP _MMIO(0x138170)#define GEN9_RP_STATE_LIMITS _MMIO(0x138148) -#define PVC_RP_STATE_CAP _MMIO(0x281014)#define MTL_RP_STATE_CAP _MMIO(0x138000)#define MTL_MEDIAP_STATE_CAP _MMIO(0x138020)
drivers/gpu/drm/i915/intel_clock_gating.c +1 -15
@@ -350,17 +350,6 @@ static void dg2_init_clock_gating(struct drm_i915_private *i915) SGSI_SIDECLK_DIS); } -static void pvc_init_clock_gating (struct drm_i915_private *i915) -{ -/* Wa_14012385139:pvc */ -if (IS_PVC_BD_STEP (i915,STEP_A0 ,STEP_B0 )) -intel_uncore_rmw (&i915->uncore,XEHP_CLOCK_GATE_DIS ,0 ,SGR_DIS ); - -/* Wa_22010954014:pvc */ -if (IS_PVC_BD_STEP (i915,STEP_A0 ,STEP_B0 )) -intel_uncore_rmw (&i915->uncore,XEHP_CLOCK_GATE_DIS ,0 ,SGSI_SIDECLK_DIS ); -} -static void cnp_init_clock_gating (struct drm_i915_private *i915) {if (!HAS_PCH_CNP (i915))
@@ -722,7 +711,6 @@ static const struct drm_i915_clock_gating_funcs platform##_clock_gating_funcs = .init_clock_gating = platform##_init_clock_gating, \ } -CG_FUNCS (pvc);CG_FUNCS (dg2);CG_FUNCS (cfl);CG_FUNCS (skl);
@@ -756,9 +744,7 @@ CG_FUNCS(nop);*/ void intel_clock_gating_hooks_init (struct drm_i915_private *i915) { -if (IS_PONTEVECCHIO (i915)) - i915->clock_gating_funcs = &pvc_clock_gating_funcs; -else if (IS_DG2 (i915)) +if (IS_DG2 (i915)) i915->clock_gating_funcs = &dg2_clock_gating_funcs;else if (IS_COFFEELAKE (i915) ||IS_COMETLAKE (i915)) i915->clock_gating_funcs = &cfl_clock_gating_funcs;
drivers/gpu/drm/i915/intel_device_info.c +0 -1
@@ -71,7 +71,6 @@ static const char * const platform_names[] = {PLATFORM_NAME (ALDERLAKE_S ),PLATFORM_NAME (ALDERLAKE_P ),PLATFORM_NAME (DG2 ), -PLATFORM_NAME (PONTEVECCHIO ), PLATFORM_NAME(METEORLAKE), };#undef PLATFORM_NAME
drivers/gpu/drm/i915/intel_device_info.h +0 -1
@@ -88,7 +88,6 @@ enum intel_platform {INTEL_ALDERLAKE_S ,INTEL_ALDERLAKE_P ,INTEL_DG2 , -INTEL_PONTEVECCHIO ,INTEL_METEORLAKE , INTEL_MAX_PLATFORMS };
drivers/gpu/drm/i915/intel_step.c +1 -69
88 lines not on this page · raw message
drivers/gpu/drm/i915/intel_uncore.c +0 -142
160 lines not on this page · raw message
drivers/gpu/drm/i915/selftests/intel_uncore.c +0 -2
@@ -71,7 +71,6 @@ static int intel_shadow_table_check(void) { gen11_shadowed_regs, ARRAY_SIZE(gen11_shadowed_regs) }, { gen12_shadowed_regs, ARRAY_SIZE(gen12_shadowed_regs) }, { dg2_shadowed_regs, ARRAY_SIZE(dg2_shadowed_regs) }, - { pvc_shadowed_regs, ARRAY_SIZE(pvc_shadowed_regs) }, { mtl_shadowed_regs, ARRAY_SIZE(mtl_shadowed_regs) }, { xelpmp_shadowed_regs, ARRAY_SIZE(xelpmp_shadowed_regs) }, };
@@ -119,7 +118,6 @@ int intel_uncore_mock_selftests(void) { __gen9_fw_ranges, ARRAY_SIZE(__gen9_fw_ranges), true }, { __gen11_fw_ranges, ARRAY_SIZE(__gen11_fw_ranges), true }, { __gen12_fw_ranges, ARRAY_SIZE(__gen12_fw_ranges), true }, - { __pvc_fw_ranges, ARRAY_SIZE(__pvc_fw_ranges), true }, { __mtl_fw_ranges, ARRAY_SIZE(__mtl_fw_ranges), true }, { __xelpmp_fw_ranges, ARRAY_SIZE(__xelpmp_fw_ranges), true }, };
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +0 -4
@@ -86,7 +86,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)#define IS_ALDERLAKE_S (dev_priv) IS_PLATFORM(dev_priv, XE_ALDERLAKE_S)#define IS_ALDERLAKE_P (dev_priv) IS_PLATFORM(dev_priv, XE_ALDERLAKE_P)#define IS_DG2 (dev_priv) IS_PLATFORM(dev_priv, XE_DG2) -#define IS_PONTEVECCHIO (dev_priv) IS_PLATFORM(dev_priv, XE_PVC)#define IS_METEORLAKE (dev_priv) IS_PLATFORM(dev_priv, XE_METEORLAKE)#define IS_LUNARLAKE (dev_priv) IS_PLATFORM(dev_priv, XE_LUNARLAKE)
@@ -130,9 +129,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev) ((xe)->info.subplatform == XE_SUBPLATFORM_DG2_ ## variant && \ IS_GRAPHICS_STEP(xe, first, last)) -/* XXX: No basedie stepping support yet */ -#define IS_PVC_BD_STEP (xe, first, last) (!WARN_ON(1) && IS_PONTEVECCHIO(xe)) -#define IS_TIGERLAKE_DISPLAY_STEP (xe, first, last) (IS_TIGERLAKE(xe) && IS_DISPLAY_STEP(xe, first, last))#define IS_ROCKETLAKE_DISPLAY_STEP (xe, first, last) (IS_ROCKETLAKE(xe) && IS_DISPLAY_STEP(xe, first, last))#define IS_DG1_DISPLAY_STEP (xe, first, last) (IS_DG1(xe) && IS_DISPLAY_STEP(xe, first, last))
Signature · 1 line
2.43.0
PATCH v2 6/6 drm/i915: Remove special handling for !RCS_MASK()
In reply to Lucas De MarchiWith both XEHPSDV and PVC removed (as platforms, most of their code remain used by others), there's no need to handle !RCS_MASK() as other platforms don't ever have fused-off render. Remove those code paths and the special WA flag when initializing GuC.
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 5 ++--- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 4 ---- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 1 - 3 files changed, 2 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +2 -3
@@ -497,9 +497,8 @@ static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, engine->logical_mask =BIT (logical_instance);__sprint_engine_name (engine); -if ((engine->class ==COMPUTE_CLASS && !RCS_MASK (engine->gt) && -__ffs (CCS_MASK (engine->gt)) == engine->instance) || - engine->class ==RENDER_CLASS ) +if ((engine->class ==COMPUTE_CLASS || engine->class ==RENDER_CLASS ) && +__ffs (CCS_MASK (engine->gt) |RCS_MASK (engine->gt)) == engine->instance) engine->flags |=I915_ENGINE_FIRST_RENDER_COMPUTE ;/* features common between engines sharing EUs */
drivers/gpu/drm/i915/gt/uc/intel_guc.c +0 -4
@@ -320,10 +320,6 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc)if (IS_DG2_G11 (gt->i915)) flags |=GUC_WA_CONTEXT_ISOLATION ; -/* Wa_18020744125 */ -if (!RCS_MASK (gt)) - flags |=GUC_WA_RCS_REGS_IN_CCS_REGS_LIST ; -/* * Wa_14018913170: Applicable to all platforms supported by i915 so * don't bother testing for all X/Y/Z platforms explicitly.
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +0 -1
@@ -101,7 +101,6 @@#define GUC_WA_RCS_CCS_SWITCHOUT BIT(16)#define GUC_WA_HOLD_CCS_SWITCHOUT BIT(17)#define GUC_WA_POLLCS BIT(18) -#define GUC_WA_RCS_REGS_IN_CCS_REGS_LIST BIT(21)#define GUC_WA_ENABLE_TSC_CHECK_ON_RC6 BIT(22)#define GUC_CTL_FEATURE 2
Signature · 1 line
2.43.0
Re: [PATCH v2 6/6] drm/i915: Remove special handling for !RCS_MASK()
Quoted 17 lines · Lucas De Marchi
With both XEHPSDV and PVC removed (as platforms, most of their code remain used by others), there's no need to handle !RCS_MASK() as other platforms don't ever have fused-off render. Remove those code paths and the special WA flag when initializing GuC.
Signed-off-by Lucas De Marchi <[email protected]>--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 5 ++--- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 4 ---- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 1 - 3 files changed, 2 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/gt/intel_engine_cs.c +0
-0
drivers/gpu/drm/i915/gt/intel_engine_cs.c static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, · line 502
Quoted 9 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +2
-3@@ -497,9 +497,8 @@ static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, engine->logical_mask =BIT (logical_instance);__sprint_engine_name (engine); -if ((engine->class ==COMPUTE_CLASS && !RCS_MASK (engine->gt) && -__ffs (CCS_MASK (engine->gt)) == engine->instance) || - engine->class ==RENDER_CLASS ) +if ((engine->class ==COMPUTE_CLASS || engine->class ==RENDER_CLASS ) && +__ffs (CCS_MASK (engine->gt) |RCS_MASK (engine->gt)) == engine->instance) engine->flags |=I915_ENGINE_FIRST_RENDER_COMPUTE ;
Given that we expect all i915 platforms to have a render engine now, we could simplify this down to just
if (engine->class == RENDER)
engine->flags |= I915_ENGINE_FIRST_RENDER_COMPUTE;But either way,
Quoted 32 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +0
-0/* features common between engines sharing EUs */ drivers/gpu/drm/i915/gt/uc/intel_guc.c +0
-4@@ -320,10 +320,6 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc)if (IS_DG2_G11 (gt->i915)) flags |=GUC_WA_CONTEXT_ISOLATION ; -/* Wa_18020744125 */ -if (!RCS_MASK (gt)) - flags |=GUC_WA_RCS_REGS_IN_CCS_REGS_LIST ; -/* * Wa_14018913170: Applicable to all platforms supported by i915 so * don't bother testing for all X/Y/Z platforms explicitly. drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +0
-1@@ -101,7 +101,6 @@#define GUC_WA_RCS_CCS_SWITCHOUT BIT(16)#define GUC_WA_HOLD_CCS_SWITCHOUT BIT(17)#define GUC_WA_POLLCS BIT(18) -#define GUC_WA_RCS_REGS_IN_CCS_REGS_LIST BIT(21)#define GUC_WA_ENABLE_TSC_CHECK_ON_RC6 BIT(22)#define GUC_CTL_FEATURE 2Signature · 1 line
2.43.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [PATCH v2 6/6] drm/i915: Remove special handling for !RCS_MASK()
Quoted 31 lines · Matt Roper
Quoted 17 lines · Lucas De Marchi
With both XEHPSDV and PVC removed (as platforms, most of their code remain used by others), there's no need to handle !RCS_MASK() as other platforms don't ever have fused-off render. Remove those code paths and the special WA flag when initializing GuC.
Signed-off-by Lucas De Marchi <[email protected]>--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 5 ++--- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 4 ---- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 1 - 3 files changed, 2 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/gt/intel_engine_cs.c +0
-0drivers/gpu/drm/i915/gt/intel_engine_cs.c static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, · line 502
Quoted 9 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +2
-3@@ -497,9 +497,8 @@ static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, engine->logical_mask =BIT (logical_instance);__sprint_engine_name (engine); -if ((engine->class ==COMPUTE_CLASS && !RCS_MASK (engine->gt) && -__ffs (CCS_MASK (engine->gt)) == engine->instance) || - engine->class ==RENDER_CLASS ) +if ((engine->class ==COMPUTE_CLASS || engine->class ==RENDER_CLASS ) && +__ffs (CCS_MASK (engine->gt) |RCS_MASK (engine->gt)) == engine->instance) engine->flags |=I915_ENGINE_FIRST_RENDER_COMPUTE ;Given that we expect all i915 platforms to have a render engine now, we could simplify this down to just
Quoted 2 lines
if (engine->class == RENDER)
engine->flags |= I915_ENGINE_FIRST_RENDER_COMPUTE;makes sense, but I'd rather add a patch on top to get rid of I915_ENGINE_FIRST_RENDER_COMPUTE and make this assumption "we always have a render engine" explicit. It
seems that there's more that can be simplified when we do that.
Quoted 4 lines
But either way,
Reviewed-by Matt Roper <[email protected]>
I will keep this patch as is for now. Thanks
Lucas De Marchi
Quoted 39 lines
Quoted 33 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +0
-0/* features common between engines sharing EUs */ drivers/gpu/drm/i915/gt/uc/intel_guc.c +0
-4@@ -320,10 +320,6 @@ static u32 guc_ctl_wa_flags(struct intel_guc *guc)if (IS_DG2_G11 (gt->i915)) flags |=GUC_WA_CONTEXT_ISOLATION ; -/* Wa_18020744125 */ -if (!RCS_MASK (gt)) - flags |=GUC_WA_RCS_REGS_IN_CCS_REGS_LIST ; -/* * Wa_14018913170: Applicable to all platforms supported by i915 so * don't bother testing for all X/Y/Z platforms explicitly. drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +0
-2@@ -101,7 +101,6 @@#define GUC_WA_RCS_CCS_SWITCHOUT BIT(16)#define GUC_WA_HOLD_CCS_SWITCHOUT BIT(17)#define GUC_WA_POLLCS BIT(18) -#define GUC_WA_RCS_REGS_IN_CCS_REGS_LIST BIT(21)#define GUC_WA_ENABLE_TSC_CHECK_ON_RC6 BIT(22)#define GUC_CTL_FEATURE 2 --2.43.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: cleanup dead code
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code
URL : https://patchwork.freedesktop.org/series/131049/
State : warning
== Summary ==
Error: dim checkpatch failed0eed5859f6c8 drm/i915: Drop dead code for xehpsdv
-:918: WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations #918: FILE: drivers/gpu/drm/i915/intel_uncore.c:1538:
+ 0x13400 - 0x147ff: reserved */ \
-:928: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #928: FILE: drivers/gpu/drm/i915/intel_uncore.c:1544:
+ GEN_FW_RANGE(0x16e00, 0x21fff, FORCEWAKE_RENDER), /* \
+ 0x16e00 - 0x1ffff: render \
-:929: WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations #929: FILE: drivers/gpu/drm/i915/intel_uncore.c:1545:
+ 0x20000 - 0x21fff: reserved */ \
total: 0 errors, 3 warnings, 0 checks, 818 lines checked d6ab3160894a drm/i915: Remove XEHP_FWRANGES()
-:174: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #174: FILE: drivers/gpu/drm/i915/intel_uncore.c:1476:
+ GEN_FW_RANGE(0x0, 0x1fff, 0), /*
+ 0x0 - 0xaff: reserved
-:175: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #175: FILE: drivers/gpu/drm/i915/intel_uncore.c:1477:
+ 0xb00 - 0x1fff: always on */
-:179: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #179: FILE: drivers/gpu/drm/i915/intel_uncore.c:1481:
+ GEN_FW_RANGE(0x4b00, 0x51ff, 0), /*
+ 0x4b00 - 0x4fff: reserved
-:180: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #180: FILE: drivers/gpu/drm/i915/intel_uncore.c:1482:
+ 0x5000 - 0x51ff: always on */
-:185: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #185: FILE: drivers/gpu/drm/i915/intel_uncore.c:1487:
+ GEN_FW_RANGE(0x8160, 0x81ff, 0), /*
+ 0x8160 - 0x817f: reserved
-:186: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #186: FILE: drivers/gpu/drm/i915/intel_uncore.c:1488:
+ 0x8180 - 0x81ff: always on */
-:190: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #190: FILE: drivers/gpu/drm/i915/intel_uncore.c:1492:
+ GEN_FW_RANGE(0x8500, 0x8cff, FORCEWAKE_GT), /*
+ 0x8500 - 0x87ff: gt
-:192: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #192: FILE: drivers/gpu/drm/i915/intel_uncore.c:1494:
+ 0x8c80 - 0x8cff: gt (DG2 only) */
-:194: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #194: FILE: drivers/gpu/drm/i915/intel_uncore.c:1496:
+ GEN_FW_RANGE(0x8d00, 0x8fff, FORCEWAKE_RENDER), /*
+ 0x8d00 - 0x8dff: render (DG2 only)
-:195: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #195: FILE: drivers/gpu/drm/i915/intel_uncore.c:1497:
+ 0x8e00 - 0x8fff: reserved */
-:197: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #197: FILE: drivers/gpu/drm/i915/intel_uncore.c:1499:
+ GEN_FW_RANGE(0x9000, 0x94cf, FORCEWAKE_GT), /*
+ 0x9000 - 0x947f: gt
-:198: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #198: FILE: drivers/gpu/drm/i915/intel_uncore.c:1500:
+ 0x9480 - 0x94cf: reserved */
-:201: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #201: FILE: drivers/gpu/drm/i915/intel_uncore.c:1503:
+ GEN_FW_RANGE(0x9560, 0x967f, 0), /*
+ 0x9560 - 0x95ff: always on
-:202: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #202: FILE: drivers/gpu/drm/i915/intel_uncore.c:1504:
+ 0x9600 - 0x967f: reserved */
-:204: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #204: FILE: drivers/gpu/drm/i915/intel_uncore.c:1506:
+ GEN_FW_RANGE(0x9680, 0x97ff, FORCEWAKE_RENDER), /*
+ 0x9680 - 0x96ff: render
-:205: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #205: FILE: drivers/gpu/drm/i915/intel_uncore.c:1507:
+ 0x9700 - 0x97ff: reserved */
-:207: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #207: FILE: drivers/gpu/drm/i915/intel_uncore.c:1509:
+ GEN_FW_RANGE(0x9800, 0xcfff, FORCEWAKE_GT), /*
+ 0x9800 - 0xb4ff: gt
-:209: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #209: FILE: drivers/gpu/drm/i915/intel_uncore.c:1511:
+ 0xc000 - 0xcfff: gt */
-:215: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #215: FILE: drivers/gpu/drm/i915/intel_uncore.c:1517:
+ GEN_FW_RANGE(0xdd00, 0xde7f, FORCEWAKE_GT), /*
+ 0xdd00 - 0xddff: gt
-:216: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #216: FILE: drivers/gpu/drm/i915/intel_uncore.c:1518:
+ 0xde00 - 0xde7f: reserved */
-:218: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #218: FILE: drivers/gpu/drm/i915/intel_uncore.c:1520:
+ GEN_FW_RANGE(0xde80, 0xe8ff, FORCEWAKE_RENDER), /*
+ 0xde80 - 0xdfff: render
-:220: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #220: FILE: drivers/gpu/drm/i915/intel_uncore.c:1522:
+ 0xe100 - 0xe8ff: render */
-:222: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #222: FILE: drivers/gpu/drm/i915/intel_uncore.c:1524:
+ GEN_FW_RANGE(0xe900, 0xffff, FORCEWAKE_GT), /*
+ 0xe900 - 0xe9ff: gt
-:224: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #224: FILE: drivers/gpu/drm/i915/intel_uncore.c:1526:
+ 0xf000 - 0xffff: gt */
-:226: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #226: FILE: drivers/gpu/drm/i915/intel_uncore.c:1528:
+ GEN_FW_RANGE(0x10000, 0x12fff, 0), /*
+ 0x10000 - 0x11fff: reserved
-:228: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #228: FILE: drivers/gpu/drm/i915/intel_uncore.c:1530:
+ 0x12800 - 0x12fff: reserved */
-:231: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #231: FILE: drivers/gpu/drm/i915/intel_uncore.c:1533:
+ GEN_FW_RANGE(0x13200, 0x147ff, FORCEWAKE_MEDIA_VDBOX2), /*
+ 0x13200 - 0x133ff: VD2 (DG2 only)
-:232: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #232: FILE: drivers/gpu/drm/i915/intel_uncore.c:1534:
+ 0x13400 - 0x147ff: reserved */
-:235: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #235: FILE: drivers/gpu/drm/i915/intel_uncore.c:1537:
+ GEN_FW_RANGE(0x15000, 0x16dff, FORCEWAKE_GT), /*
+ 0x15000 - 0x15fff: gt (DG2 only)
-:236: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #236: FILE: drivers/gpu/drm/i915/intel_uncore.c:1538:
+ 0x16000 - 0x16dff: reserved */
-:238: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #238: FILE: drivers/gpu/drm/i915/intel_uncore.c:1540:
+ GEN_FW_RANGE(0x16e00, 0x21fff, FORCEWAKE_RENDER), /*
+ 0x16e00 - 0x1ffff: render
-:239: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #239: FILE: drivers/gpu/drm/i915/intel_uncore.c:1541:
+ 0x20000 - 0x21fff: reserved */
-:242: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #242: FILE: drivers/gpu/drm/i915/intel_uncore.c:1544:
+ GEN_FW_RANGE(0x24000, 0x2417f, 0), /*
+ 0x24000 - 0x2407f: always on
-:243: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #243: FILE: drivers/gpu/drm/i915/intel_uncore.c:1545:
+ 0x24080 - 0x2417f: reserved */
-:245: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #245: FILE: drivers/gpu/drm/i915/intel_uncore.c:1547:
+ GEN_FW_RANGE(0x24180, 0x249ff, FORCEWAKE_GT), /*
+ 0x24180 - 0x241ff: gt
-:246: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #246: FILE: drivers/gpu/drm/i915/intel_uncore.c:1548:
+ 0x24200 - 0x249ff: reserved */
-:248: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #248: FILE: drivers/gpu/drm/i915/intel_uncore.c:1550:
+ GEN_FW_RANGE(0x24a00, 0x251ff, FORCEWAKE_RENDER), /*
+ 0x24a00 - 0x24a7f: render
-:249: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #249: FILE: drivers/gpu/drm/i915/intel_uncore.c:1551:
+ 0x24a80 - 0x251ff: reserved */
-:251: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #251: FILE: drivers/gpu/drm/i915/intel_uncore.c:1553:
+ GEN_FW_RANGE(0x25200, 0x25fff, FORCEWAKE_GT), /*
+ 0x25200 - 0x252ff: gt
-:252: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #252: FILE: drivers/gpu/drm/i915/intel_uncore.c:1554:
+ 0x25300 - 0x25fff: reserved */
-:254: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #254: FILE: drivers/gpu/drm/i915/intel_uncore.c:1556:
+ GEN_FW_RANGE(0x26000, 0x2ffff, FORCEWAKE_RENDER), /*
+ 0x26000 - 0x27fff: render
-:256: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #256: FILE: drivers/gpu/drm/i915/intel_uncore.c:1558:
+ 0x2a000 - 0x2ffff: undocumented */
-:260: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #260: FILE: drivers/gpu/drm/i915/intel_uncore.c:1562:
+ GEN_FW_RANGE(0x1c0000, 0x1c3fff, FORCEWAKE_MEDIA_VDBOX0), /*
+ 0x1c0000 - 0x1c2bff: VD0
-:264: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #264: FILE: drivers/gpu/drm/i915/intel_uncore.c:1566:
+ 0x1c3f00 - 0x1c3fff: VD0 */
-:266: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #266: FILE: drivers/gpu/drm/i915/intel_uncore.c:1568:
+ GEN_FW_RANGE(0x1c4000, 0x1c7fff, FORCEWAKE_MEDIA_VDBOX1), /*
+ 0x1c4000 - 0x1c6bff: VD1
-:269: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #269: FILE: drivers/gpu/drm/i915/intel_uncore.c:1571:
+ 0x1c6e00 - 0x1c7fff: reserved */
-:271: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #271: FILE: drivers/gpu/drm/i915/intel_uncore.c:1573:
+ GEN_FW_RANGE(0x1c8000, 0x1cbfff, FORCEWAKE_MEDIA_VEBOX0), /*
+ 0x1c8000 - 0x1ca0ff: VE0
-:272: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #272: FILE: drivers/gpu/drm/i915/intel_uncore.c:1574:
+ 0x1ca100 - 0x1cbfff: reserved */
-:278: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #278: FILE: drivers/gpu/drm/i915/intel_uncore.c:1580:
+ GEN_FW_RANGE(0x1d0000, 0x1d3fff, FORCEWAKE_MEDIA_VDBOX2), /*
+ 0x1d0000 - 0x1d2bff: VD2
-:283: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #283: FILE: drivers/gpu/drm/i915/intel_uncore.c:1585:
+ 0x1d3f00 - 0x1d3fff: VD2 */
-:285: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #285: FILE: drivers/gpu/drm/i915/intel_uncore.c:1587:
+ GEN_FW_RANGE(0x1d4000, 0x1d7fff, FORCEWAKE_MEDIA_VDBOX3), /*
+ 0x1d4000 - 0x1d6bff: VD3
-:288: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #288: FILE: drivers/gpu/drm/i915/intel_uncore.c:1590:
+ 0x1d6e00 - 0x1d7fff: reserved */
-:290: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #290: FILE: drivers/gpu/drm/i915/intel_uncore.c:1592:
+ GEN_FW_RANGE(0x1d8000, 0x1dffff, FORCEWAKE_MEDIA_VEBOX1), /*
+ 0x1d8000 - 0x1da0ff: VE1
-:291: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #291: FILE: drivers/gpu/drm/i915/intel_uncore.c:1593:
+ 0x1da100 - 0x1dffff: reserved */
-:293: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #293: FILE: drivers/gpu/drm/i915/intel_uncore.c:1595:
+ GEN_FW_RANGE(0x1e0000, 0x1e3fff, FORCEWAKE_MEDIA_VDBOX4), /*
+ 0x1e0000 - 0x1e2bff: VD4
-:297: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #297: FILE: drivers/gpu/drm/i915/intel_uncore.c:1599:
+ 0x1e3f00 - 0x1e3fff: VD4 */
-:299: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #299: FILE: drivers/gpu/drm/i915/intel_uncore.c:1601:
+ GEN_FW_RANGE(0x1e4000, 0x1e7fff, FORCEWAKE_MEDIA_VDBOX5), /*
+ 0x1e4000 - 0x1e6bff: VD5
-:302: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #302: FILE: drivers/gpu/drm/i915/intel_uncore.c:1604:
+ 0x1e6e00 - 0x1e7fff: reserved */
-:304: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #304: FILE: drivers/gpu/drm/i915/intel_uncore.c:1606:
+ GEN_FW_RANGE(0x1e8000, 0x1effff, FORCEWAKE_MEDIA_VEBOX2), /*
+ 0x1e8000 - 0x1ea0ff: VE2
-:305: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #305: FILE: drivers/gpu/drm/i915/intel_uncore.c:1607:
+ 0x1ea100 - 0x1effff: reserved */
-:307: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #307: FILE: drivers/gpu/drm/i915/intel_uncore.c:1609:
+ GEN_FW_RANGE(0x1f0000, 0x1f3fff, FORCEWAKE_MEDIA_VDBOX6), /*
+ 0x1f0000 - 0x1f2bff: VD6
-:311: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #311: FILE: drivers/gpu/drm/i915/intel_uncore.c:1613:
+ 0x1f3f00 - 0x1f3fff: VD6 */
-:313: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #313: FILE: drivers/gpu/drm/i915/intel_uncore.c:1615:
+ GEN_FW_RANGE(0x1f4000, 0x1f7fff, FORCEWAKE_MEDIA_VDBOX7), /*
+ 0x1f4000 - 0x1f6bff: VD7
-:316: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #316: FILE: drivers/gpu/drm/i915/intel_uncore.c:1618:
+ 0x1f6e00 - 0x1f7fff: reserved */
total: 0 errors, 64 warnings, 0 checks, 304 lines checked bc7569457907 drm/i915: Stop inheriting IP_VER(12, 50) 09ed724bc41e drm/i915: Update IP_VER(12, 50) bc9a55730e2d drm/i915: Drop dead code for pvc 4d608d0d5247 drm/i915: Remove special handling for !RCS_MASK()
Patchwork
CI✗ Fi.CI.SPARSE: warning for drm/i915: cleanup dead code
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code
URL : https://patchwork.freedesktop.org/series/131049/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: cleanup dead code
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code
URL : https://patchwork.freedesktop.org/series/131049/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14423 -> Patchwork_131049v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_131049v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_131049v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/index.html
Participating hosts (33 -> 29)
------------------------------
Missing (4): bat-dg1-7 bat-jsl-1 fi-glk-j4005 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_131049v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gtt:
- bat-arls-2: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in Patchwork_131049v1 that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- fi-cfl-8109u: [FAIL][2] ([i915#8293]) -> [PASS][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14423/fi-cfl-8109u/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/fi-cfl-8109u/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-cfl-8109u: NOTRUN -> [SKIP][4] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/fi-cfl-8109u/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-cfl-8109u: NOTRUN -> [SKIP][5] ([i915#4613]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/fi-cfl-8109u/igt@[email protected]
- bat-arls-2: NOTRUN -> [SKIP][6] ([i915#10213]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@gem_mmap@basic:
- bat-arls-2: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-arls-2: NOTRUN -> [SKIP][8] ([i915#10196] / [i915#4077]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-arls-2: NOTRUN -> [SKIP][9] ([i915#10197] / [i915#10211] / [i915#4079])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-arls-2: NOTRUN -> [SKIP][10] ([i915#10206] / [i915#4079])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rps@basic-api:
- bat-arls-2: NOTRUN -> [SKIP][11] ([i915#10209])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- bat-rpls-3: [PASS][12] -> [DMESG-WARN][13] ([i915#5591])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14423/bat-rpls-3/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-rpls-3/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@hugepages:
- bat-dg2-8: NOTRUN -> [ABORT][14] ([i915#10366])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-dg2-8/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-arls-2: NOTRUN -> [SKIP][15] ([i915#10200]) +9 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-arls-2: NOTRUN -> [SKIP][16] ([i915#10202]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-arls-2: NOTRUN -> [SKIP][17] ([i915#9886])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-2: NOTRUN -> [SKIP][18] ([i915#10207])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- fi-cfl-8109u: NOTRUN -> [SKIP][19] +11 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/fi-cfl-8109u/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-arls-2: NOTRUN -> [SKIP][20] ([i915#10196] / [i915#4077] / [i915#9688])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@kms_psr@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-arls-2: NOTRUN -> [SKIP][21] ([i915#10208] / [i915#8809])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-arls-2: NOTRUN -> [SKIP][22] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-arls-2: NOTRUN -> [SKIP][23] ([i915#10212] / [i915#3708])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-arls-2: NOTRUN -> [SKIP][24] ([i915#10214] / [i915#3708])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-arls-2: NOTRUN -> [SKIP][25] ([i915#10216] / [i915#3708])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- bat-arls-2: [ABORT][26] ([i915#10233]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14423/bat-arls-2/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-arls-2/igt@[email protected]
* igt@i915_selftest@live@dmabuf:
- bat-dg2-8: [ABORT][28] ([i915#10366]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14423/bat-dg2-8/igt@i915_selftest@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/bat-dg2-8/igt@i915_selftest@[email protected]
[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10233]: https://gitlab.freedesktop.org/drm/intel/issues/10233
[i915#10366]: https://gitlab.freedesktop.org/drm/intel/issues/10366
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886
Build changes
-------------
* Linux: CI_DRM_14423 -> Patchwork_131049v1
CI-20190529: 20190529
CI_DRM_14423: 8762453258673794e13e4d59cb9df1042b97ba01 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7757: 7757
Patchwork_131049v1: 8762453258673794e13e4d59cb9df1042b97ba01 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
d16dfd3e6416 drm/i915: Remove special handling for !RCS_MASK() a983903865bc drm/i915: Drop dead code for pvc db1bece9b40a drm/i915: Update IP_VER(12, 50) 730b28e3a77c drm/i915: Stop inheriting IP_VER(12, 50) b6fbdb2a9152 drm/i915: Remove XEHP_FWRANGES() 4fea1fbc5fe6 drm/i915: Drop dead code for xehpsdv
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v1/index.html
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: cleanup dead code (rev2)
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code (rev2)
URL : https://patchwork.freedesktop.org/series/131049/
State : warning
== Summary ==
Error: dim checkpatch failed8c0c8bf0df8f drm/i915: Drop dead code for xehpsdv
-:918: WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations #918: FILE: drivers/gpu/drm/i915/intel_uncore.c:1538:
+ 0x13400 - 0x147ff: reserved */ \
-:928: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #928: FILE: drivers/gpu/drm/i915/intel_uncore.c:1544:
+ GEN_FW_RANGE(0x16e00, 0x21fff, FORCEWAKE_RENDER), /* \
+ 0x16e00 - 0x1ffff: render \
-:929: WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations #929: FILE: drivers/gpu/drm/i915/intel_uncore.c:1545:
+ 0x20000 - 0x21fff: reserved */ \
total: 0 errors, 3 warnings, 0 checks, 818 lines checked 53e7df647789 drm/i915: Remove XEHP_FWRANGES()
-:174: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #174: FILE: drivers/gpu/drm/i915/intel_uncore.c:1476:
+ GEN_FW_RANGE(0x0, 0x1fff, 0), /*
+ 0x0 - 0xaff: reserved
-:175: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #175: FILE: drivers/gpu/drm/i915/intel_uncore.c:1477:
+ 0xb00 - 0x1fff: always on */
-:179: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #179: FILE: drivers/gpu/drm/i915/intel_uncore.c:1481:
+ GEN_FW_RANGE(0x4b00, 0x51ff, 0), /*
+ 0x4b00 - 0x4fff: reserved
-:180: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #180: FILE: drivers/gpu/drm/i915/intel_uncore.c:1482:
+ 0x5000 - 0x51ff: always on */
-:185: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #185: FILE: drivers/gpu/drm/i915/intel_uncore.c:1487:
+ GEN_FW_RANGE(0x8160, 0x81ff, 0), /*
+ 0x8160 - 0x817f: reserved
-:186: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #186: FILE: drivers/gpu/drm/i915/intel_uncore.c:1488:
+ 0x8180 - 0x81ff: always on */
-:190: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #190: FILE: drivers/gpu/drm/i915/intel_uncore.c:1492:
+ GEN_FW_RANGE(0x8500, 0x8cff, FORCEWAKE_GT), /*
+ 0x8500 - 0x87ff: gt
-:192: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #192: FILE: drivers/gpu/drm/i915/intel_uncore.c:1494:
+ 0x8c80 - 0x8cff: gt (DG2 only) */
-:194: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #194: FILE: drivers/gpu/drm/i915/intel_uncore.c:1496:
+ GEN_FW_RANGE(0x8d00, 0x8fff, FORCEWAKE_RENDER), /*
+ 0x8d00 - 0x8dff: render (DG2 only)
-:195: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #195: FILE: drivers/gpu/drm/i915/intel_uncore.c:1497:
+ 0x8e00 - 0x8fff: reserved */
-:197: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #197: FILE: drivers/gpu/drm/i915/intel_uncore.c:1499:
+ GEN_FW_RANGE(0x9000, 0x94cf, FORCEWAKE_GT), /*
+ 0x9000 - 0x947f: gt
-:198: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #198: FILE: drivers/gpu/drm/i915/intel_uncore.c:1500:
+ 0x9480 - 0x94cf: reserved */
-:201: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #201: FILE: drivers/gpu/drm/i915/intel_uncore.c:1503:
+ GEN_FW_RANGE(0x9560, 0x967f, 0), /*
+ 0x9560 - 0x95ff: always on
-:202: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #202: FILE: drivers/gpu/drm/i915/intel_uncore.c:1504:
+ 0x9600 - 0x967f: reserved */
-:204: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #204: FILE: drivers/gpu/drm/i915/intel_uncore.c:1506:
+ GEN_FW_RANGE(0x9680, 0x97ff, FORCEWAKE_RENDER), /*
+ 0x9680 - 0x96ff: render
-:205: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #205: FILE: drivers/gpu/drm/i915/intel_uncore.c:1507:
+ 0x9700 - 0x97ff: reserved */
-:207: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #207: FILE: drivers/gpu/drm/i915/intel_uncore.c:1509:
+ GEN_FW_RANGE(0x9800, 0xcfff, FORCEWAKE_GT), /*
+ 0x9800 - 0xb4ff: gt
-:209: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #209: FILE: drivers/gpu/drm/i915/intel_uncore.c:1511:
+ 0xc000 - 0xcfff: gt */
-:215: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #215: FILE: drivers/gpu/drm/i915/intel_uncore.c:1517:
+ GEN_FW_RANGE(0xdd00, 0xde7f, FORCEWAKE_GT), /*
+ 0xdd00 - 0xddff: gt
-:216: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #216: FILE: drivers/gpu/drm/i915/intel_uncore.c:1518:
+ 0xde00 - 0xde7f: reserved */
-:218: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #218: FILE: drivers/gpu/drm/i915/intel_uncore.c:1520:
+ GEN_FW_RANGE(0xde80, 0xe8ff, FORCEWAKE_RENDER), /*
+ 0xde80 - 0xdfff: render
-:220: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #220: FILE: drivers/gpu/drm/i915/intel_uncore.c:1522:
+ 0xe100 - 0xe8ff: render */
-:222: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #222: FILE: drivers/gpu/drm/i915/intel_uncore.c:1524:
+ GEN_FW_RANGE(0xe900, 0xffff, FORCEWAKE_GT), /*
+ 0xe900 - 0xe9ff: gt
-:224: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #224: FILE: drivers/gpu/drm/i915/intel_uncore.c:1526:
+ 0xf000 - 0xffff: gt */
-:226: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #226: FILE: drivers/gpu/drm/i915/intel_uncore.c:1528:
+ GEN_FW_RANGE(0x10000, 0x12fff, 0), /*
+ 0x10000 - 0x11fff: reserved
-:228: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #228: FILE: drivers/gpu/drm/i915/intel_uncore.c:1530:
+ 0x12800 - 0x12fff: reserved */
-:231: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #231: FILE: drivers/gpu/drm/i915/intel_uncore.c:1533:
+ GEN_FW_RANGE(0x13200, 0x147ff, FORCEWAKE_MEDIA_VDBOX2), /*
+ 0x13200 - 0x133ff: VD2 (DG2 only)
-:232: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #232: FILE: drivers/gpu/drm/i915/intel_uncore.c:1534:
+ 0x13400 - 0x147ff: reserved */
-:235: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #235: FILE: drivers/gpu/drm/i915/intel_uncore.c:1537:
+ GEN_FW_RANGE(0x15000, 0x16dff, FORCEWAKE_GT), /*
+ 0x15000 - 0x15fff: gt (DG2 only)
-:236: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #236: FILE: drivers/gpu/drm/i915/intel_uncore.c:1538:
+ 0x16000 - 0x16dff: reserved */
-:238: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #238: FILE: drivers/gpu/drm/i915/intel_uncore.c:1540:
+ GEN_FW_RANGE(0x16e00, 0x21fff, FORCEWAKE_RENDER), /*
+ 0x16e00 - 0x1ffff: render
-:239: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #239: FILE: drivers/gpu/drm/i915/intel_uncore.c:1541:
+ 0x20000 - 0x21fff: reserved */
-:242: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #242: FILE: drivers/gpu/drm/i915/intel_uncore.c:1544:
+ GEN_FW_RANGE(0x24000, 0x2417f, 0), /*
+ 0x24000 - 0x2407f: always on
-:243: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #243: FILE: drivers/gpu/drm/i915/intel_uncore.c:1545:
+ 0x24080 - 0x2417f: reserved */
-:245: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #245: FILE: drivers/gpu/drm/i915/intel_uncore.c:1547:
+ GEN_FW_RANGE(0x24180, 0x249ff, FORCEWAKE_GT), /*
+ 0x24180 - 0x241ff: gt
-:246: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #246: FILE: drivers/gpu/drm/i915/intel_uncore.c:1548:
+ 0x24200 - 0x249ff: reserved */
-:248: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #248: FILE: drivers/gpu/drm/i915/intel_uncore.c:1550:
+ GEN_FW_RANGE(0x24a00, 0x251ff, FORCEWAKE_RENDER), /*
+ 0x24a00 - 0x24a7f: render
-:249: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #249: FILE: drivers/gpu/drm/i915/intel_uncore.c:1551:
+ 0x24a80 - 0x251ff: reserved */
-:251: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #251: FILE: drivers/gpu/drm/i915/intel_uncore.c:1553:
+ GEN_FW_RANGE(0x25200, 0x25fff, FORCEWAKE_GT), /*
+ 0x25200 - 0x252ff: gt
-:252: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #252: FILE: drivers/gpu/drm/i915/intel_uncore.c:1554:
+ 0x25300 - 0x25fff: reserved */
-:254: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #254: FILE: drivers/gpu/drm/i915/intel_uncore.c:1556:
+ GEN_FW_RANGE(0x26000, 0x2ffff, FORCEWAKE_RENDER), /*
+ 0x26000 - 0x27fff: render
-:256: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #256: FILE: drivers/gpu/drm/i915/intel_uncore.c:1558:
+ 0x2a000 - 0x2ffff: undocumented */
-:260: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #260: FILE: drivers/gpu/drm/i915/intel_uncore.c:1562:
+ GEN_FW_RANGE(0x1c0000, 0x1c3fff, FORCEWAKE_MEDIA_VDBOX0), /*
+ 0x1c0000 - 0x1c2bff: VD0
-:264: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #264: FILE: drivers/gpu/drm/i915/intel_uncore.c:1566:
+ 0x1c3f00 - 0x1c3fff: VD0 */
-:266: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #266: FILE: drivers/gpu/drm/i915/intel_uncore.c:1568:
+ GEN_FW_RANGE(0x1c4000, 0x1c7fff, FORCEWAKE_MEDIA_VDBOX1), /*
+ 0x1c4000 - 0x1c6bff: VD1
-:269: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #269: FILE: drivers/gpu/drm/i915/intel_uncore.c:1571:
+ 0x1c6e00 - 0x1c7fff: reserved */
-:271: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #271: FILE: drivers/gpu/drm/i915/intel_uncore.c:1573:
+ GEN_FW_RANGE(0x1c8000, 0x1cbfff, FORCEWAKE_MEDIA_VEBOX0), /*
+ 0x1c8000 - 0x1ca0ff: VE0
-:272: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #272: FILE: drivers/gpu/drm/i915/intel_uncore.c:1574:
+ 0x1ca100 - 0x1cbfff: reserved */
-:278: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #278: FILE: drivers/gpu/drm/i915/intel_uncore.c:1580:
+ GEN_FW_RANGE(0x1d0000, 0x1d3fff, FORCEWAKE_MEDIA_VDBOX2), /*
+ 0x1d0000 - 0x1d2bff: VD2
-:283: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #283: FILE: drivers/gpu/drm/i915/intel_uncore.c:1585:
+ 0x1d3f00 - 0x1d3fff: VD2 */
-:285: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #285: FILE: drivers/gpu/drm/i915/intel_uncore.c:1587:
+ GEN_FW_RANGE(0x1d4000, 0x1d7fff, FORCEWAKE_MEDIA_VDBOX3), /*
+ 0x1d4000 - 0x1d6bff: VD3
-:288: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #288: FILE: drivers/gpu/drm/i915/intel_uncore.c:1590:
+ 0x1d6e00 - 0x1d7fff: reserved */
-:290: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #290: FILE: drivers/gpu/drm/i915/intel_uncore.c:1592:
+ GEN_FW_RANGE(0x1d8000, 0x1dffff, FORCEWAKE_MEDIA_VEBOX1), /*
+ 0x1d8000 - 0x1da0ff: VE1
-:291: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #291: FILE: drivers/gpu/drm/i915/intel_uncore.c:1593:
+ 0x1da100 - 0x1dffff: reserved */
-:293: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #293: FILE: drivers/gpu/drm/i915/intel_uncore.c:1595:
+ GEN_FW_RANGE(0x1e0000, 0x1e3fff, FORCEWAKE_MEDIA_VDBOX4), /*
+ 0x1e0000 - 0x1e2bff: VD4
-:297: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #297: FILE: drivers/gpu/drm/i915/intel_uncore.c:1599:
+ 0x1e3f00 - 0x1e3fff: VD4 */
-:299: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #299: FILE: drivers/gpu/drm/i915/intel_uncore.c:1601:
+ GEN_FW_RANGE(0x1e4000, 0x1e7fff, FORCEWAKE_MEDIA_VDBOX5), /*
+ 0x1e4000 - 0x1e6bff: VD5
-:302: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #302: FILE: drivers/gpu/drm/i915/intel_uncore.c:1604:
+ 0x1e6e00 - 0x1e7fff: reserved */
-:304: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #304: FILE: drivers/gpu/drm/i915/intel_uncore.c:1606:
+ GEN_FW_RANGE(0x1e8000, 0x1effff, FORCEWAKE_MEDIA_VEBOX2), /*
+ 0x1e8000 - 0x1ea0ff: VE2
-:305: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #305: FILE: drivers/gpu/drm/i915/intel_uncore.c:1607:
+ 0x1ea100 - 0x1effff: reserved */
-:307: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #307: FILE: drivers/gpu/drm/i915/intel_uncore.c:1609:
+ GEN_FW_RANGE(0x1f0000, 0x1f3fff, FORCEWAKE_MEDIA_VDBOX6), /*
+ 0x1f0000 - 0x1f2bff: VD6
-:311: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #311: FILE: drivers/gpu/drm/i915/intel_uncore.c:1613:
+ 0x1f3f00 - 0x1f3fff: VD6 */
-:313: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #313: FILE: drivers/gpu/drm/i915/intel_uncore.c:1615:
+ GEN_FW_RANGE(0x1f4000, 0x1f7fff, FORCEWAKE_MEDIA_VDBOX7), /*
+ 0x1f4000 - 0x1f6bff: VD7
-:316: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #316: FILE: drivers/gpu/drm/i915/intel_uncore.c:1618:
+ 0x1f6e00 - 0x1f7fff: reserved */
total: 0 errors, 64 warnings, 0 checks, 304 lines checked 9c03857255e7 drm/i915: Stop inheriting IP_VER(12, 50) a4c0e80ba83b drm/i915: Update IP_VER(12, 50) ff52e704eb5d drm/i915: Drop dead code for pvc 9e29ae3c3f79 drm/i915: Remove special handling for !RCS_MASK()
Patchwork
CI✗ Fi.CI.SPARSE: warning for drm/i915: cleanup dead code (rev2)
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code (rev2)
URL : https://patchwork.freedesktop.org/series/131049/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: cleanup dead code (rev2)
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915: cleanup dead code (rev2)
URL : https://patchwork.freedesktop.org/series/131049/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14433 -> Patchwork_131049v2
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_131049v2 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_131049v2, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/index.html
Participating hosts (37 -> 36)
------------------------------
Additional (3): bat-kbl-2 bat-dg2-11 fi-kbl-8809g
Missing (4): fi-glk-j4005 bat-jsl-1 fi-bsw-nick fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_131049v2:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- bat-arls-1: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14433/bat-arls-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-arls-1/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@too-high:
- fi-kbl-8809g: NOTRUN -> [FAIL][3] +2 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
* igt@kms_force_connector_basic@force-edid:
- fi-kbl-8809g: NOTRUN -> [DMESG-FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- fi-kbl-8809g: NOTRUN -> [DMESG-WARN][5] +2 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_131049v2 that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- fi-cfl-8109u: [PASS][6] -> [FAIL][7] ([i915#8293])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14433/fi-cfl-8109u/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-cfl-8109u/boot.html
### IGT changes ###
#### Issues hit ####
* igt@fbdev@info:
- fi-kbl-8809g: NOTRUN -> [SKIP][8] ([i915#1849])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
- bat-kbl-2: NOTRUN -> [SKIP][9] ([i915#1849])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-kbl-2/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-kbl-8809g: NOTRUN -> [SKIP][10] ([i915#2190])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-8809g: NOTRUN -> [SKIP][11] ([i915#4613]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- bat-kbl-2: NOTRUN -> [SKIP][12] +39 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-kbl-2/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg2-11: NOTRUN -> [SKIP][13] ([i915#4083])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg2-11: NOTRUN -> [SKIP][14] ([i915#4077]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-dg2-11: NOTRUN -> [SKIP][15] ([i915#4079]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rps@basic-api:
- bat-dg2-11: NOTRUN -> [SKIP][16] ([i915#6621])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][17] ([i915#4212]) +7 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][18] ([i915#5190])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][19] ([i915#4215] / [i915#5190])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- bat-dg2-11: NOTRUN -> [SKIP][20] ([i915#4103] / [i915#4213]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-dg2-11: NOTRUN -> [SKIP][21] ([i915#3555] / [i915#3840])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-11: NOTRUN -> [SKIP][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-11: NOTRUN -> [SKIP][23] ([i915#5274])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-8809g: NOTRUN -> [FAIL][24] ([IGT#3])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-a-hdmi-a-1:
- fi-kbl-8809g: NOTRUN -> [SKIP][25] +58 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/fi-kbl-8809g/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-dg2-11: NOTRUN -> [SKIP][26] ([i915#5354])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-dg2-11: NOTRUN -> [SKIP][27] ([i915#9732]) +3 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg2-11: NOTRUN -> [SKIP][28] ([i915#3555])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg2-11: NOTRUN -> [SKIP][29] ([i915#3708])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg2-11: NOTRUN -> [SKIP][30] ([i915#3708] / [i915#4077]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-dg2-11: NOTRUN -> [SKIP][31] ([i915#3291] / [i915#3708]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/bat-dg2-11/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3
[i915#10436]: https://gitlab.freedesktop.org/drm/intel/issues/10436
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
Build changes
-------------
* Linux: CI_DRM_14433 -> Patchwork_131049v2
CI-20190529: 20190529
CI_DRM_14433: f5246a1cf97dd1b9bf955148b0ca2cbf0b18d31e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7765: 67615901aedcc79d8d1523c6484c67c11ba0e316 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_131049v2: f5246a1cf97dd1b9bf955148b0ca2cbf0b18d31e @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
e882eff50712 drm/i915: Remove special handling for !RCS_MASK() 82e1d1f3502d drm/i915: Drop dead code for pvc 088d0af72f06 drm/i915: Update IP_VER(12, 50) bfaebb767aa1 drm/i915: Stop inheriting IP_VER(12, 50) d51139fd3720 drm/i915: Remove XEHP_FWRANGES() 62cc6900e425 drm/i915: Drop dead code for xehpsdv
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131049v2/index.html