diff options
| author | Wolfram Sang <[email protected]> | 2024-07-13 11:10:54 +0200 | 
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2024-07-13 11:10:54 +0200 | 
| commit | 479f18ccca110b727d99c2db60d769736bf390e6 (patch) | |
| tree | 5d8d380e208fe41231c8679383354a23ba7f58c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | 500c20fe3ea4a241f7ea58a414343367ab2e4085 (diff) | |
| parent | ab1c7ea48f6e225aa40eff3be45a47c7d93cb3b8 (diff) | |
Merge tag 'i2c-host-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-mergewindow
This release includes significant updates, with the primary
change being the renaming from "master/slave" to
"controller/target" to adhere to I2C v7 and SMBus 3.2 standards.
New Support:
 - Added support for Intel Arrow Lake-H.
 - Added I2C support in the Arioha SoC by linking the Mediatek
   I2C controller.
Cleanups:
 - Added the MODULE_DESCRIPTION() macro, resolving a modpost
   warning in the ALi 1563 Southbridge driver.
 - Constified the regmap_config declaration in the i2c-designware
   driver.
 - Improved the coding style in the Renesas R-Car driver by
   removing unnecessary semicolons after brackets.
General improvements:
 - In the OMAP device, replaced NOIRQ_SYSTEM_SLEEP_PM_OPS with
   RUNTIME_PM_OPS to enable waking up the controller during
   suspend() before suspend_noirq() kicks in.
 - Improved logging in the Xilinx driver.
 - Added a warning (WARN()) in the Renesas R-Car driver for
   spurious interrupts.
DTS Changes:
 - Removed address-cell and size-cell from the Atmel at91sam,
   nVidia Tegra 20, and Samsung S3c2410 devices.
 - Fixed Texas Instruments OMAP4 I2C controller to comply with
   the i2c-controller.yaml schema.
 - Improved indentation in DTS examples for several I2C devices.
 - Converted the NXP LPC1788 binding to the dt-schema.
 - Added documentation for the compatible string
   thead,th1520-i2c.
 - Added the "power-domains" property for the Meson I2C driver.
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 932dc93b2e63..33f791d92ddf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -5220,11 +5220,14 @@ int amdgpu_device_mode1_reset(struct amdgpu_device *adev)  	dev_info(adev->dev, "GPU mode1 reset\n"); +	/* Cache the state before bus master disable. The saved config space +	 * values are used in other cases like restore after mode-2 reset. +	 */ +	amdgpu_device_cache_pci_state(adev->pdev); +  	/* disable BM */  	pci_clear_master(adev->pdev); -	amdgpu_device_cache_pci_state(adev->pdev); -  	if (amdgpu_dpm_is_mode1_reset_supported(adev)) {  		dev_info(adev->dev, "GPU smu mode1 reset\n");  		ret = amdgpu_dpm_mode1_reset(adev);  |