]> 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)
commitb2cd6df54e9596f677529249ec2ea7a870169a6a
treec918bba01de7222dfc52cc736dbfd23a9966c1ab
parent4d8bcf785461ff1f57338338b643c45c8d74700e
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