diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/gpu/drm/i915/i915_pci.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
| -rw-r--r-- | drivers/gpu/drm/i915/i915_pci.c | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index a8d942b16223..edcfb5fe20b2 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -896,7 +896,6 @@ static const struct intel_device_info jsl_info = {  static const struct intel_device_info tgl_info = {  	GEN12_FEATURES,  	PLATFORM(INTEL_TIGERLAKE), -	.display.has_modular_fia = 1,  	.__runtime.platform_engine_mask =  		BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | BIT(VCS2),  }; @@ -996,7 +995,6 @@ static const struct intel_device_info adl_p_info = {  			       BIT(TRANSCODER_C) | BIT(TRANSCODER_D) |  			       BIT(TRANSCODER_DSI_0) | BIT(TRANSCODER_DSI_1),  	.display.has_cdclk_crawl = 1, -	.display.has_modular_fia = 1,  	.display.has_psr_hw_tracking = 0,  	.__runtime.platform_engine_mask =  		BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | BIT(VCS2), @@ -1028,6 +1026,7 @@ static const struct intel_device_info adl_p_info = {  	.has_mslice_steering = 1, \  	.has_oa_bpc_reporting = 1, \  	.has_oa_slice_contrib_limits = 1, \ +	.has_oam = 1, \  	.has_rc6 = 1, \  	.has_reset_engine = 1, \  	.has_rps = 1, \ @@ -1135,6 +1134,8 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {  static const struct intel_device_info mtl_info = {  	XE_HP_FEATURES,  	XE_LPDP_FEATURES, +	.__runtime.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | +			       BIT(TRANSCODER_C) | BIT(TRANSCODER_D),  	/*  	 * Real graphics IP version will be obtained from hardware GMD_ID  	 * register.  Value provided here is just for sanity checking. @@ -1143,7 +1144,6 @@ static const struct intel_device_info mtl_info = {  	.__runtime.graphics.ip.rel = 70,  	.__runtime.media.ip.ver = 13,  	PLATFORM(INTEL_METEORLAKE), -	.display.has_modular_fia = 1,  	.extra_gt_list = xelpmp_extra_gt,  	.has_flat_ccs = 0,  	.has_gmd_id = 1, @@ -1344,6 +1344,12 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)  		return -ENODEV;  	} +	if (intel_info->require_force_probe) { +		dev_info(&pdev->dev, "Force probing unsupported Device ID %04x, tainting kernel\n", +			 pdev->device); +		add_taint(TAINT_USER, LOCKDEP_STILL_OK); +	} +  	/* Only bind to function 0 of the device. Early generations  	 * used function 1 as a placeholder for multi-head. This causes  	 * us confusion instead, especially on the systems where both  |