dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 83651] New: radeon: kernel returns invalid information about video connectors' status
Date: Mon, 01 Sep 2014 09:31:14 +0000	[thread overview]
Message-ID: <bug-83651-2300@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 83651
           Summary: radeon: kernel returns invalid information about video
                    connectors' status
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.16.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: newgarry@mail.ru
        Regression: No

Information obtained from kernel sys subsystem about ATI HD 5650 card's
connectors status doesn't reflects real existing situation. That prevents
higher level systems using the obtained information from working correctly.

For example, systemd uses that information to decide what to do on lid close
event (related bug report,
https://bugs.freedesktop.org/show_bug.cgi?id=76267#c13).

My laptop have hybrid video configuration (Intel + discrete ATI). The discrete
ATI card is always powered off by init script via vgaswitcheroo interface on
system boot. There aren't external connected monitors.


Following is the valid report from kernel about the Intel card after system
boot:

# cat /sys/class/drm/card0-LVDS-1/status 
connected

# cat /sys/class/drm/card0-VGA-1/status 
disconnected


Following is the invalid report from kernel about the ATI card after system
boot:

# cat /sys/class/drm/card1-LVDS-2/status 
connected

# cat /sys/class/drm/card1-VGA-2/status 
connected

# cat /sys/class/drm/card1-HDMI-A-1/status 
disconnected


Report from vgaswitcheroo interface:

# cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
2:DIS-Audio: :Off:0000:01:00.1


lspci:

# lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated
Graphics Controller (rev 18)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M] (rev ff)

# lspci -n | grep 0300
00:02.0 0300: 8086:0046 (rev 18)
01:00.0 0300: 1002:68c1 (rev ff)


Kernel: 3.16.1


Thank you in advance!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2014-09-01  9:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01  9:31 bugzilla-daemon [this message]
2014-09-08  4:17 ` [Bug 83651] radeon: kernel returns invalid information about video connectors' status bugzilla-daemon
2014-09-08 17:39 ` bugzilla-daemon
2014-09-08 17:41 ` bugzilla-daemon
2014-09-08 17:42 ` bugzilla-daemon
2014-09-21 14:26 ` bugzilla-daemon
2014-09-22 14:13 ` bugzilla-daemon
2014-10-02 12:39 ` bugzilla-daemon
2014-10-02 13:07 ` bugzilla-daemon
2014-10-02 13:08 ` bugzilla-daemon
2014-10-23 13:42 ` bugzilla-daemon
2014-10-23 13:59 ` 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-83651-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).