drm/nouveau: fix null pointer dereference in poll_changed
Fixes vgaswitcheroo on a card without display. Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
Showing
想要评论请 注册 或 登录