All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 45121] New: Not all PCIID 1002:68e1 are Mobility
Date: Tue, 24 Jul 2012 23:37:29 +0000 (UTC)	[thread overview]
Message-ID: <bug-45121-2300@https.bugzilla.kernel.org/> (raw)

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@kernel-bugs.osdl.org
        ReportedBy: athena@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.

             reply	other threads:[~2012-07-24 23:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 23:37 bugzilla-daemon [this message]
2013-11-19 23:51 ` [Bug 45121] [TRIVIAL]Not all PCIID 1002:68e1 are Mobility bugzilla-daemon
2013-11-20 14:18 ` bugzilla-daemon
2013-11-20 14:53 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-45121-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.