diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-04-26 13:29:34 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-04-27 02:41:34 -0400 |
commit | 366884b17fae7d2a7517eea60e64d6d6754fa9db (patch) | |
tree | 8c57a2989b43c494726ceb18bf7813961f2a660c /include/drm | |
parent | 4eb9b945c69fe1ccd6235e21c52627e1b741474a (diff) |
drm: Give drm_agp_clear drm_legacy_ prefix
It has a DRIVER_MODESET check to sure make it's not creating havoc
for drm drivers. Make that clear in the name too.
v2: Move misplaced hunk, spotted by 0day and Thierry.
Cc: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-2-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_agpsupport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_agpsupport.h b/include/drm/drm_agpsupport.h index 193ef19dfc5c..b2d912670a7f 100644 --- a/include/drm/drm_agpsupport.h +++ b/include/drm/drm_agpsupport.h | |||
@@ -37,7 +37,7 @@ struct agp_memory *drm_agp_bind_pages(struct drm_device *dev, | |||
37 | uint32_t type); | 37 | uint32_t type); |
38 | 38 | ||
39 | struct drm_agp_head *drm_agp_init(struct drm_device *dev); | 39 | struct drm_agp_head *drm_agp_init(struct drm_device *dev); |
40 | void drm_agp_clear(struct drm_device *dev); | 40 | void drm_legacy_agp_clear(struct drm_device *dev); |
41 | int drm_agp_acquire(struct drm_device *dev); | 41 | int drm_agp_acquire(struct drm_device *dev); |
42 | int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, | 42 | int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, |
43 | struct drm_file *file_priv); | 43 | struct drm_file *file_priv); |
@@ -93,7 +93,7 @@ static inline struct drm_agp_head *drm_agp_init(struct drm_device *dev) | |||
93 | return NULL; | 93 | return NULL; |
94 | } | 94 | } |
95 | 95 | ||
96 | static inline void drm_agp_clear(struct drm_device *dev) | 96 | static inline void drm_legacy_agp_clear(struct drm_device *dev) |
97 | { | 97 | { |
98 | } | 98 | } |
99 | 99 | ||