dac.c (9e8238020c5beba64e7ffafbb7ea0fb02fe68270) | dac.c (09838c4efe9afb6fefa889d92c3571d49029af26) |
---|---|
1/* 2 * Copyright 2003 NVIDIA, Corporation 3 * Copyright 2006 Dave Airlie 4 * Copyright 2007 Maarten Maathuis 5 * Copyright 2007-2009 Stuart Bennett 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a 8 * copy of this software and associated documentation files (the "Software"), --- 405 unchanged lines hidden (view full) --- 414 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); 415 struct nouveau_drm *drm = nouveau_drm(encoder->dev); 416 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); 417 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; 418 419 helper->dpms(encoder, DRM_MODE_DPMS_ON); 420 421 NV_DEBUG(drm, "Output %s is running on CRTC %d using output %c\n", | 1/* 2 * Copyright 2003 NVIDIA, Corporation 3 * Copyright 2006 Dave Airlie 4 * Copyright 2007 Maarten Maathuis 5 * Copyright 2007-2009 Stuart Bennett 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a 8 * copy of this software and associated documentation files (the "Software"), --- 405 unchanged lines hidden (view full) --- 414 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); 415 struct nouveau_drm *drm = nouveau_drm(encoder->dev); 416 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); 417 const struct drm_encoder_helper_funcs *helper = encoder->helper_private; 418 419 helper->dpms(encoder, DRM_MODE_DPMS_ON); 420 421 NV_DEBUG(drm, "Output %s is running on CRTC %d using output %c\n", |
422 nouveau_encoder_connector_get(nv_encoder)->base.name, | 422 nv04_encoder_get_connector(nv_encoder)->base.name, |
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); 424} 425 426void nv04_dac_update_dacclk(struct drm_encoder *encoder, bool enable) 427{ 428 struct drm_device *dev = encoder->dev; 429 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; 430 --- 131 unchanged lines hidden --- | 423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); 424} 425 426void nv04_dac_update_dacclk(struct drm_encoder *encoder, bool enable) 427{ 428 struct drm_device *dev = encoder->dev; 429 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; 430 --- 131 unchanged lines hidden --- |