diff options
| -rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 5 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_pci.c | 10 | ||||
| -rw-r--r-- | include/drm/drm_crtc.h | 3 |
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index c577baec416f..287cd82f9d75 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
| @@ -178,9 +178,6 @@ static struct drm_prop_enum_list drm_dirty_info_enum_list[] = { | |||
| 178 | { DRM_MODE_DIRTY_ANNOTATE, "Annotate" }, | 178 | { DRM_MODE_DIRTY_ANNOTATE, "Annotate" }, |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | DRM_ENUM_NAME_FN(drm_get_dirty_info_name, | ||
| 182 | drm_dirty_info_enum_list) | ||
| 183 | |||
| 184 | struct drm_conn_prop_enum_list { | 181 | struct drm_conn_prop_enum_list { |
| 185 | int type; | 182 | int type; |
| 186 | char *name; | 183 | char *name; |
| @@ -1120,7 +1117,7 @@ int drm_mode_create_dirty_info_property(struct drm_device *dev) | |||
| 1120 | } | 1117 | } |
| 1121 | EXPORT_SYMBOL(drm_mode_create_dirty_info_property); | 1118 | EXPORT_SYMBOL(drm_mode_create_dirty_info_property); |
| 1122 | 1119 | ||
| 1123 | int drm_mode_group_init(struct drm_device *dev, struct drm_mode_group *group) | 1120 | static int drm_mode_group_init(struct drm_device *dev, struct drm_mode_group *group) |
| 1124 | { | 1121 | { |
| 1125 | uint32_t total_objects = 0; | 1122 | uint32_t total_objects = 0; |
| 1126 | 1123 | ||
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index bd719e936e13..14194b6ef644 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c | |||
| @@ -152,7 +152,7 @@ static const char *drm_pci_get_name(struct drm_device *dev) | |||
| 152 | return pdriver->name; | 152 | return pdriver->name; |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) | 155 | static int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) |
| 156 | { | 156 | { |
| 157 | int len, ret; | 157 | int len, ret; |
| 158 | struct pci_driver *pdriver = dev->driver->kdriver.pci; | 158 | struct pci_driver *pdriver = dev->driver->kdriver.pci; |
| @@ -194,9 +194,9 @@ err: | |||
| 194 | return ret; | 194 | return ret; |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | int drm_pci_set_unique(struct drm_device *dev, | 197 | static int drm_pci_set_unique(struct drm_device *dev, |
| 198 | struct drm_master *master, | 198 | struct drm_master *master, |
| 199 | struct drm_unique *u) | 199 | struct drm_unique *u) |
| 200 | { | 200 | { |
| 201 | int domain, bus, slot, func, ret; | 201 | int domain, bus, slot, func, ret; |
| 202 | const char *bus_name; | 202 | const char *bus_name; |
| @@ -266,7 +266,7 @@ static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) | |||
| 266 | return 0; | 266 | return 0; |
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | int drm_pci_agp_init(struct drm_device *dev) | 269 | static int drm_pci_agp_init(struct drm_device *dev) |
| 270 | { | 270 | { |
| 271 | if (drm_core_has_AGP(dev)) { | 271 | if (drm_core_has_AGP(dev)) { |
| 272 | if (drm_pci_device_is_agp(dev)) | 272 | if (drm_pci_device_is_agp(dev)) |
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 836438dfb331..cf474498cee0 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
| @@ -939,6 +939,9 @@ extern void drm_mode_list_concat(struct list_head *head, | |||
| 939 | extern void drm_mode_validate_size(struct drm_device *dev, | 939 | extern void drm_mode_validate_size(struct drm_device *dev, |
| 940 | struct list_head *mode_list, | 940 | struct list_head *mode_list, |
| 941 | int maxX, int maxY, int maxPitch); | 941 | int maxX, int maxY, int maxPitch); |
| 942 | extern void drm_mode_validate_clocks(struct drm_device *dev, | ||
| 943 | struct list_head *mode_list, | ||
| 944 | int *min, int *max, int n_ranges); | ||
| 942 | extern void drm_mode_prune_invalid(struct drm_device *dev, | 945 | extern void drm_mode_prune_invalid(struct drm_device *dev, |
| 943 | struct list_head *mode_list, bool verbose); | 946 | struct list_head *mode_list, bool verbose); |
| 944 | extern void drm_mode_sort(struct list_head *mode_list); | 947 | extern void drm_mode_sort(struct list_head *mode_list); |
