summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/via/via_drv.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2015-11-30 22:02:55 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-02 17:24:21 +0300
commit06bf403de344a8a0811ebd24992d2a08022c5225 (patch)
tree11890bf9fb7e0419e65f0718f42d61878d007a33 /drivers/gpu/drm/via/via_drv.h
parent31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 (diff)
downloadlinux-06bf403de344a8a0811ebd24992d2a08022c5225.tar.xz
PCI / PM: Tune down retryable runtime suspend error messages
The runtime PM core doesn't treat EBUSY and EAGAIN retvals from the driver suspend hooks as errors, but they still show up as errors in dmesg. Tune them down. See rpm_suspend() for details of handling these return values. Note that we use dev_dbg() for the retryable retvals, so after this change you'll need either CONFIG_DYNAMIC_DEBUG or CONFIG_PCI_DEBUG for them to show up in the log. One problem caused by this was noticed by Daniel: the i915 driver returns EAGAIN to signal a temporary failure to suspend and as a request towards the RPM core for scheduling a suspend again. This is a normal event, but the resulting error message flags a breakage during the driver's automated testing which parses dmesg and picks up the error. Reported-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://bugs.freedesktop.org/show_bug.cgi?id=92992 Signed-off-by: Imre Deak <imre.deak@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/via/via_drv.h')
0 files changed, 0 insertions, 0 deletions