]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Pause between setting gpu to D3hot and cutting the power
authorLukas Wunner <lukas@wunner.de>
Sun, 19 Apr 2015 15:18:01 +0000 (17:18 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Jun 2015 00:26:37 +0000 (10:26 +1000)
commita69c05eb7fb4035e9c5e9d973cac2be69fe94b6e
treec918bba01de7222dfc52cc736dbfd23a9966c1ab
parente01d370f4e99c1378f75c544559d5693bf19231e
drm/nouveau: Pause between setting gpu to D3hot and cutting the power

On the MacBook Pro, power of the gpu is cut by a gmux chip. Sometimes
the gpu gets stuck in powersaving mode and refuses to wake up
("Refused to change power state, currently in D3"). Inserting a
delay between setting the gpu to D3hot and cutting the power seems
to help (most of the time). This issue and its (partial) remediation
by the patch was observed with an Nvidia GT650M (NVE7 / GK107).

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c