]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: reorder display resume to avoid problems
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 20 Dec 2010 16:22:29 +0000 (11:22 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Dec 2010 02:53:34 +0000 (12:53 +1000)
commit591a874866e86e01c9ca42a72936a0c03a2f917b
treef5dcff82b77841d5e44130c0765f77d99ae66733
parentf5ecbf104fcf3f93c28614b44393b86a36fa852c
drm/radeon/kms: reorder display resume to avoid problems

On resume, we were attemping to unblank the displays before the
timing and plls had be reprogrammed which led to atom timeouts
waiting for things that are not yet programmed.  Re-program
the mode first, then reset the dpms state.

This fixes the infamous atombios timeouts on resume.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/radeon_device.c