diff options
author | Shayenne da Luz Moura <shayenneluzmoura@gmail.com> | 2018-12-13 19:29:57 -0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-12-13 22:44:57 +0100 |
commit | b5f06893c4992553a12c66ca094a09fb245d280e (patch) | |
tree | d81cb40fd57570e88bc9abfc4662a5c8ecc8f291 /include/drm/drm_mode_config.h | |
parent | 63d5e06aa38182da47bccde16fac058b0b2d53c7 (diff) | |
download | linux-b5f06893c4992553a12c66ca094a09fb245d280e.tar.gz linux-b5f06893c4992553a12c66ca094a09fb245d280e.tar.bz2 linux-b5f06893c4992553a12c66ca094a09fb245d280e.zip |
drm: Rename crtc_idr as object_idr to KMS cleanups
This patch solves this TODO task:
drm_mode_config.crtc_idr is misnamed, since it contains all KMS object.
Should be renamed to drm_mode_config.object_idr.
Signed-off-by: Shayenne da Luz Moura <shayenneluzmoura@gmail.com>
[danvet: resolve conflict with addition of privobj_list.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181213212957.vkitkyl5cj2qh7qr@smtp.gmail.com
Diffstat (limited to 'include/drm/drm_mode_config.h')
-rw-r--r-- | include/drm/drm_mode_config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h index d1e27836e0cd..88c536bd9a7b 100644 --- a/include/drm/drm_mode_config.h +++ b/include/drm/drm_mode_config.h @@ -391,18 +391,18 @@ struct drm_mode_config { /** * @idr_mutex: * - * Mutex for KMS ID allocation and management. Protects both @crtc_idr + * Mutex for KMS ID allocation and management. Protects both @object_idr * and @tile_idr. */ struct mutex idr_mutex; /** - * @crtc_idr: + * @object_idr: * * Main KMS ID tracking object. Use this idr for all IDs, fb, crtc, * connector, modes - just makes life easier to have only one. */ - struct idr crtc_idr; + struct idr object_idr; /** * @tile_idr: |