diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-06-03 14:38:50 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-06-03 14:38:50 +0200 |
commit | d2e62df6e5d4f95d613c6862eb22d6e016fb9bed (patch) | |
tree | f7d451d1c1c1ce124fae77478f19fe733e5d219f /src/nouveau_copy90b5.c | |
parent | 1da8a937be19e41c51a3d516bd98cee988bca44b (diff) |
drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call
to drmmode_xf86crtc_resize(), but on a subsequent
drmmode_set_scanout_pixmap(NULL) it would not remove the fb.
This keeps the crtc marked as busy, which causes the dgpu to not
being able to runtime suspend, after an output attached to the dgpu
has been used once. Which causes burning through an additional 10W
of power and the laptop to run quite hot.
This commit adds the missing remove fb call, allowing the dgpu to runtime
suspend after an external monitor has been plugged into the laptop.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/nouveau_copy90b5.c')
0 files changed, 0 insertions, 0 deletions