mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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
This commit is contained in:
committed by
Daniel Vetter
parent
63d5e06aa3
commit
b5f06893c4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user