[Bug 45121] New: Not all PCIID 1002:68e1 are Mobility

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Jul 24 16:37:29 PDT 2012


https://bugzilla.kernel.org/show_bug.cgi?id=45121

           Summary: Not all PCIID 1002:68e1 are Mobility
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.5.0
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri at kernel-bugs.osdl.org
        ReportedBy: athena at fftw.org
        Regression: No


I have a couple of HD5450 cards with pci id 1002:68e1 subsystem 1787:3000.
These are HD5450 cards, even though 1002:68e1 is the pci id of HD5430 Mobility.
One card is marketed as HIS H545HO512, the other as ASUS EAH5450
SL/DI/512MD3/MG(LP).  (I also have another HIS H545HO512 card that reports
the correct pci id 1002:68f9, and therefore not all these HIS cards are the
same.)

The bug is that the kernel radeon driver sets the RADEON_IS_MOBILITY flag for
the 1002:68e1 cards, which prevents the power profiles from working correctly. 
My diagnosis of the problem is that the driver looks up the battery power
profile, which does not exist, and it falls back to the default power profile,
which runs at full speed all the time.  I have verified that by clearing the
RADEON_IS_MOBILITY flag and recompiling the kernel module, this command works
as expected:

  echo "low" > /sys/class/drm/card0/device/power_profile

Since these cards with the wrong PCI ID seem common (the two cheapest cards on
newegg have this issue), it would be nice if future kernels could provide a
workaround.

Thanks,
Matteo Frigo

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the dri-devel mailing list