drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:23:41 +0000 (07:23 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:52:34 +0000 (07:52 -0600)
commit35e768e296729ac96a8c33b7810b6cb1673ae961
tree08afdecf8138754ffd98ac813deab874d71c030a
parent19d7a95a8ba66b198f759cf610cc935ce9840d5b
drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions

Replace hard-coded magic numbers with the descriptive PCI_EXP_LNKCTL2
definitions.  No functional change intended.

Link: https://lore.kernel.org/r/20191112173503.176611-4-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/si.c