mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-22 11:50:47 +02:00
nv50: turn off crtcs in display_disable
This commit is contained in:
parent
41e736c795
commit
f4cb7a7340
1 changed files with 2 additions and 0 deletions
|
|
@ -163,11 +163,13 @@ static int nv50_display_disable(struct drm_device *dev)
|
|||
|
||||
DRM_DEBUG("\n");
|
||||
|
||||
dev_priv->in_modeset = true;
|
||||
list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
|
||||
struct drm_crtc_helper_funcs *helper = drm_crtc->helper_private;
|
||||
|
||||
helper->dpms(drm_crtc, DRM_MODE_DPMS_OFF);
|
||||
}
|
||||
dev_priv->in_modeset = false;
|
||||
|
||||
OUT_MODE(NV50_UPDATE_DISPLAY, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue