diff options
| author | Thomas Gleixner <[email protected]> | 2020-06-11 15:17:57 +0200 | 
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:17:57 +0200 | 
| commit | f77d26a9fc525286bcef3d4f98b52e17482cf49c (patch) | |
| tree | 6b179c9aa84787773cb601a14a64255e2912154b /drivers/gpu/drm/amd/amdgpu/cik.c | |
| parent | b6bea24d41519e8c31e4798f1c1a3f67e540c5d0 (diff) | |
| parent | f0178fc01fe46bab6a95415f5647d1a74efcad1b (diff) | |
Merge branch 'x86/entry' into ras/core
to fixup conflicts in arch/x86/kernel/cpu/mce/core.c so MCE specific follow
up patches can be applied without creating a horrible merge conflict
afterwards.
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cik.c | 10 | 
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c index 006f21ef7ddf..fe306d0f73f7 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -1358,8 +1358,6 @@ static int cik_asic_reset(struct amdgpu_device *adev)  	int r;  	if (cik_asic_reset_method(adev) == AMD_RESET_METHOD_BACO) { -		if (!adev->in_suspend) -			amdgpu_inc_vram_lost(adev);  		r = amdgpu_dpm_baco_reset(adev);  	} else {  		r = cik_asic_pci_config_reset(adev); @@ -1811,12 +1809,6 @@ static uint32_t cik_get_rev_id(struct amdgpu_device *adev)  		>> CC_DRM_ID_STRAPS__ATI_REV_ID__SHIFT;  } -static void cik_detect_hw_virtualization(struct amdgpu_device *adev) -{ -	if (is_virtual_machine()) /* passthrough mode */ -		adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; -} -  static void cik_flush_hdp(struct amdgpu_device *adev, struct amdgpu_ring *ring)  {  	if (!ring || !ring->funcs->emit_wreg) { @@ -2179,8 +2171,6 @@ static const struct amdgpu_ip_block_version cik_common_ip_block =  int cik_set_ip_blocks(struct amdgpu_device *adev)  { -	cik_detect_hw_virtualization(adev); -  	switch (adev->asic_type) {  	case CHIP_BONAIRE:  		amdgpu_device_ip_block_add(adev, &cik_common_ip_block);  |