[SRU][Precise][PATCH 0/1] drm/radeon: properly handle mc_stop/mc_resume on evergreen+ (v2)

Luis Henriques luis.henriques at canonical.com
Mon Oct 8 13:53:42 UTC 2012


BugLink: http://bugs.launchpad.net/bugs/1058303

== SRU Justification ==

A regression has been traced back to commit
be05980391dd7c9f3557b5aa529de807dfc911bd (commit
81ee8fb6b52ec69eeed37fe7943446af1dccecc5 upstream).  This bug affects some users
using the radeon evergreen gpu and has been fixed upstream but didn't made its
way to stable yet.

== Fix ==

In order to completely fix the issue, the following commits would be required in
Precise:

3ae19b750bdc09ce233e1504348320141593ffda drm/radeon/kms: add wait_for_vblank asic callback
89e5181f3f79fbe46dbf811f9bc470f524704450 drm/radeon/kms: add a radeon asic callback for mc idle
8848f759c0de139bada271aa446f48637c98ca1a drm/radeon/kms: add trinity (TN) chip family
4a15903db02026728d0cf2755c6fabae16b8db6a drm/radeon/dce4+: don't use radeon_crtc for vblank callback
62444b7462a2b98bc78d68736c03a7c4e66ba7e2 drm/radeon: properly handle mc_stop/mc_resume on evergreen+ (v2)

Since this would introduce a big code churn, only the last one (commit
62444b7462a2b98bc78d68736c03a7c4e66ba7e2) has been picked.  This backport
includes all the missing bits from the other commits.

== Impact ==

Users with the affected hardware will fail to boot.  Here's an example of an
lspci for an affected gpu:

00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6320] [1002:9806] (prog-if 00 [VGA controller])

== Test Case ==

Reboot a system using the affected hardware.

Alex Deucher (1):
  drm/radeon: properly handle mc_stop/mc_resume on evergreen+ (v2)

 drivers/gpu/drm/radeon/evergreen.c     |  185 ++++++++++++++++----------------
 drivers/gpu/drm/radeon/evergreen_reg.h |    3 +
 drivers/gpu/drm/radeon/evergreend.h    |    7 ++
 drivers/gpu/drm/radeon/radeon_asic.h   |    1 +
 4 files changed, 105 insertions(+), 91 deletions(-)

-- 
1.7.10.4




More information about the kernel-team mailing list