Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358152
b: refs/heads/master
c: 9fe0423
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Dave Airlie committed Feb 8, 2013
1 parent 9e982bb commit 9f8da19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03f6509df9218c760ae74f41a609233220d33f19
refs/heads/master: 9fe0423eac2c0781a3ece8779b086acd3e76f2c8
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/drm_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@ int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask)
if (lnkcap2 & PCI_EXP_LNKCAP2_SLS_8_0GB)
*mask |= DRM_PCIE_SPEED_80;
} else {
if (lnkcap & 1)
if (lnkcap & PCI_EXP_LNKCAP_SLS_2_5GB)
*mask |= DRM_PCIE_SPEED_25;
if (lnkcap & 2)
if (lnkcap & PCI_EXP_LNKCAP_SLS_5_0GB)
*mask |= DRM_PCIE_SPEED_50;
}

Expand Down

0 comments on commit 9f8da19

Please sign in to comment.