summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-06-01 07:08:56 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-07-01 07:59:17 +0200
commitaaddad1f64712250162c921a4694c2a4b7d9007c (patch)
treeec8bad5103d7cf182932b576f14f86745e053b98 /drivers/gpu/drm/amd/powerplay/inc
parentdrm/amd/powerplay: maximize code sharing between .hw_fini and .suspend (diff)
downloadlinux-aaddad1f64712250162c921a4694c2a4b7d9007c.tar.xz
linux-aaddad1f64712250162c921a4694c2a4b7d9007c.zip
drm/amd/powerplay: move amdgpu_irq_src to the smu structure allocation
Rather than allocating it dynamically at runtime considering it is only several bytes in size. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
index caefe24852ca..e1f99877cac1 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
@@ -356,7 +356,7 @@ struct smu_baco_context
struct smu_context
{
struct amdgpu_device *adev;
- struct amdgpu_irq_src *irq_source;
+ struct amdgpu_irq_src irq_source;
const struct pptable_funcs *ppt_funcs;
struct mutex mutex;