|
@@ -52,7 +52,10 @@
|
|
|
* @idx: index of registered CRTC to find for
|
|
* @idx: index of registered CRTC to find for
|
|
|
*
|
|
*
|
|
|
* Given a CRTC index, return the registered CRTC from DRM device's
|
|
* Given a CRTC index, return the registered CRTC from DRM device's
|
|
|
- * list of CRTCs with matching index.
|
|
|
|
|
|
|
+ * list of CRTCs with matching index. This is the inverse of drm_crtc_index().
|
|
|
|
|
+ * It's useful in the vblank callbacks (like &drm_driver.enable_vblank or
|
|
|
|
|
+ * &drm_driver.disable_vblank), since that still deals with indices instead
|
|
|
|
|
+ * of pointers to &struct drm_crtc."
|
|
|
*/
|
|
*/
|
|
|
struct drm_crtc *drm_crtc_from_index(struct drm_device *dev, int idx)
|
|
struct drm_crtc *drm_crtc_from_index(struct drm_device *dev, int idx)
|
|
|
{
|
|
{
|