mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drm/legacy: place all drm legacy members under DRM_LEGACY.
This places a bunch of the legacy members of drm_device into only being there when legacy is enabled. Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
This commit is contained in:
parent
61ae227032
commit
83c163f7eb
2 changed files with 11 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ struct drm_device {
|
|||
|
||||
/* Everything below here is for legacy driver, never use! */
|
||||
/* private: */
|
||||
|
||||
#if IS_ENABLED(CONFIG_DRM_LEGACY)
|
||||
/* Context handle management - linked list of context handles */
|
||||
struct list_head ctxlist;
|
||||
|
||||
|
|
@ -353,6 +353,7 @@ struct drm_device {
|
|||
|
||||
/* Scatter gather memory */
|
||||
struct drm_sg_mem *sg;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue