diff options
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r-- | include/drm/drm_drv.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index dbb2f6ad184a..35af23f5fa0d 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h | |||
@@ -527,8 +527,10 @@ struct drm_driver { | |||
527 | * @dumb_map_offset: | 527 | * @dumb_map_offset: |
528 | * | 528 | * |
529 | * Allocate an offset in the drm device node's address space to be able to | 529 | * Allocate an offset in the drm device node's address space to be able to |
530 | * memory map a dumb buffer. GEM-based drivers must use | 530 | * memory map a dumb buffer. |
531 | * drm_gem_create_mmap_offset() to implement this. | 531 | * |
532 | * The default implementation is drm_gem_create_mmap_offset(). GEM based | ||
533 | * drivers must not overwrite this. | ||
532 | * | 534 | * |
533 | * Called by the user via ioctl. | 535 | * Called by the user via ioctl. |
534 | * | 536 | * |
@@ -548,6 +550,9 @@ struct drm_driver { | |||
548 | * | 550 | * |
549 | * Called by the user via ioctl. | 551 | * Called by the user via ioctl. |
550 | * | 552 | * |
553 | * The default implementation is drm_gem_dumb_destroy(). GEM based drivers | ||
554 | * must not overwrite this. | ||
555 | * | ||
551 | * Returns: | 556 | * Returns: |
552 | * | 557 | * |
553 | * Zero on success, negative errno on failure. | 558 | * Zero on success, negative errno on failure. |
@@ -625,7 +630,6 @@ void drm_dev_unregister(struct drm_device *dev); | |||
625 | 630 | ||
626 | void drm_dev_get(struct drm_device *dev); | 631 | void drm_dev_get(struct drm_device *dev); |
627 | void drm_dev_put(struct drm_device *dev); | 632 | void drm_dev_put(struct drm_device *dev); |
628 | void drm_dev_unref(struct drm_device *dev); | ||
629 | void drm_put_dev(struct drm_device *dev); | 633 | void drm_put_dev(struct drm_device *dev); |
630 | bool drm_dev_enter(struct drm_device *dev, int *idx); | 634 | bool drm_dev_enter(struct drm_device *dev, int *idx); |
631 | void drm_dev_exit(int idx); | 635 | void drm_dev_exit(int idx); |