tvnv04.c (976e3645923bdd2fe7893aae33fd7a21098bfb28) tvnv04.c (09838c4efe9afb6fefa889d92c3571d49029af26)
1/*
2 * Copyright (C) 2009 Francisco Jerez.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining
6 * a copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,

--- 158 unchanged lines hidden (view full) ---

167 struct drm_device *dev = encoder->dev;
168 struct nouveau_drm *drm = nouveau_drm(dev);
169 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc);
170 const struct drm_encoder_helper_funcs *helper = encoder->helper_private;
171
172 helper->dpms(encoder, DRM_MODE_DPMS_ON);
173
174 NV_DEBUG(drm, "Output %s is running on CRTC %d using output %c\n",
1/*
2 * Copyright (C) 2009 Francisco Jerez.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining
6 * a copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,

--- 158 unchanged lines hidden (view full) ---

167 struct drm_device *dev = encoder->dev;
168 struct nouveau_drm *drm = nouveau_drm(dev);
169 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc);
170 const struct drm_encoder_helper_funcs *helper = encoder->helper_private;
171
172 helper->dpms(encoder, DRM_MODE_DPMS_ON);
173
174 NV_DEBUG(drm, "Output %s is running on CRTC %d using output %c\n",
175 nouveau_encoder_connector_get(nv_encoder)->base.name,
175 nv04_encoder_get_connector(nv_encoder)->base.name,
176 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
177}
178
179static void nv04_tv_destroy(struct drm_encoder *encoder)
180{
181 get_slave_funcs(encoder)->destroy(encoder);
182 drm_encoder_cleanup(encoder);
183

--- 71 unchanged lines hidden ---
176 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
177}
178
179static void nv04_tv_destroy(struct drm_encoder *encoder)
180{
181 get_slave_funcs(encoder)->destroy(encoder);
182 drm_encoder_cleanup(encoder);
183

--- 71 unchanged lines hidden ---