All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.sourceforge.net
Subject: [Bug 34102] New: radeon drm/kms driver: please use suspend/hibernate notifiers for allocating memory in suspend routines
Date: Fri, 29 Apr 2011 16:06:24 GMT	[thread overview]
Message-ID: <bug-34102-2300@https.bugzilla.kernel.org/> (raw)

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

           Summary: radeon drm/kms driver: please use suspend/hibernate
                    notifiers for allocating memory in suspend routines
           Product: Drivers
           Version: 2.5
          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: Martin@Lichtvoll.de
        Regression: Yes


I have the issue that since switching to Radeon KMS neither in-kernel-suspend
nor TuxOnIce - that I do not use anymore currently - hibernation aborts due to
lack of free memory when I have more than just 2-3 applications open although I
have 2 GB of RAM in my ThinkPad T42. For further details please see:

Bug #30482 -  try harder to free enough memory / improve image size autotuning

According to Rafael 

"The problem is a consequence of bugs in device drivers that shouldn't allocate
memory in their suspend/resume routines _at_ _all_.

So, a more fundamental fix would be to modify drivers so that they use
suspend/hibernate notifiers for allocating memory.  IOW, you should complain
to the developers of the drivers that cause problems to happen."

(see https://bugzilla.kernel.org/show_bug.cgi?id=30482#c7)

While I am not completely sure that it is the Radeon DRM/KMS driver allocating
memory additionally memory during hibernation cycle having this issue since
switching to KMS points at that.

Currently I am using 2.6.38.4 with gallium userspace:

martin@shambhala:~> glxinfo | grep OpenGL
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV350
OpenGL version string: 2.1 Mesa 7.10.2
OpenGL shading language version string: 1.20
OpenGL extensions:

martin@shambhala:~> xdpyinfo | grep version
version number:    11.0
X.Org version: 1.10.1

but this happened with earlier versions as well.

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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

             reply	other threads:[~2011-04-29 16:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 16:06 bugzilla-daemon [this message]
2011-04-29 16:06 ` [Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines bugzilla-daemon
2011-05-03 20:45 ` bugzilla-daemon
2011-05-03 21:33 ` bugzilla-daemon
2011-05-03 21:44 ` bugzilla-daemon
2011-05-03 21:44 ` bugzilla-daemon
2011-05-04 14:23 ` bugzilla-daemon
2011-05-04 16:31 ` bugzilla-daemon
2011-05-04 19:37 ` bugzilla-daemon
2011-05-04 20:05 ` bugzilla-daemon
2011-05-05 19:53 ` bugzilla-daemon
2011-05-09 12:15 ` bugzilla-daemon
2011-05-09 15:15 ` bugzilla-daemon
2011-05-09 15:59 ` bugzilla-daemon
2011-05-09 19:06 ` bugzilla-daemon
2011-05-30  7:56 ` bugzilla-daemon
2012-06-13 15:05 ` bugzilla-daemon
2012-06-13 15:05 ` 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-34102-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.sourceforge.net \
    /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.