]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove unnecessary save/restore of pdev->d3_delay
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 9 May 2017 15:08:58 +0000 (10:08 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 Jun 2017 16:15:06 +0000 (11:15 -0500)
commit0922edcf759bd55a82dbeda823092e5b7a462dea
treebcde5f945e2dd7230b6501f196840675e15d4096
parent8aedc19c9748387f59e5df08b6c0935aa62700b3
drm/amdgpu: remove unnecessary save/restore of pdev->d3_delay

Remove unnecessary save/restore of pdev->d3_delay.

The only assignments to pdev->d3_delay are in radeon_switcheroo_set_state()
and some quirks, none of which should be relevant in the
amdgpu_switcheroo_set_state() path.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c