diff options
| author | Matt Roper <matthew.d.roper@intel.com> | 2019-02-01 20:23:26 -0500 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-04 04:21:17 -0500 |
| commit | 1e55a53a28d3e52a68e11917dd25a216c3e7c182 (patch) | |
| tree | e09f67c675f77e1a16820402ab182b0eb7089553 /drivers | |
| parent | 24ded292a5c2ed476f01c77fee65f8320552cd27 (diff) | |
drm: Trivial comment grammar cleanups
Most of these are just cases where code comments used contractions
(it's, who's) where they actually mean to use a possessive pronoun (its,
whose) or vice-versa.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190202012326.20096-1-matthew.d.roper@intel.com
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/drm_agpsupport.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 8 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_atomic_uapi.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_bufs.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_connector.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_dp_mst_topology.c | 30 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_file.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_framebuffer.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_gem.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_mm.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_modes.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_property.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/drm_vblank.c | 2 |
14 files changed, 33 insertions, 33 deletions
diff --git a/drivers/gpu/drm/drm_agpsupport.c b/drivers/gpu/drm/drm_agpsupport.c index 737f02885c28..40fba1c04dfc 100644 --- a/drivers/gpu/drm/drm_agpsupport.c +++ b/drivers/gpu/drm/drm_agpsupport.c | |||
| @@ -348,7 +348,7 @@ int drm_agp_bind_ioctl(struct drm_device *dev, void *data, | |||
| 348 | * \return zero on success or a negative number on failure. | 348 | * \return zero on success or a negative number on failure. |
| 349 | * | 349 | * |
| 350 | * Verifies the AGP device is present and has been acquired and looks up the | 350 | * Verifies the AGP device is present and has been acquired and looks up the |
| 351 | * AGP memory entry. If the memory it's currently bound, unbind it via | 351 | * AGP memory entry. If the memory is currently bound, unbind it via |
| 352 | * unbind_agp(). Frees it via free_agp() as well as the entry itself | 352 | * unbind_agp(). Frees it via free_agp() as well as the entry itself |
| 353 | * and unlinks from the doubly linked list it's inserted in. | 353 | * and unlinks from the doubly linked list it's inserted in. |
| 354 | */ | 354 | */ |
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 6fe2303fccd9..440cfa91162a 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c | |||
| @@ -330,7 +330,7 @@ update_connector_routing(struct drm_atomic_state *state, | |||
| 330 | * Since the connector can be unregistered at any point during an | 330 | * Since the connector can be unregistered at any point during an |
| 331 | * atomic check or commit, this is racy. But that's OK: all we care | 331 | * atomic check or commit, this is racy. But that's OK: all we care |
| 332 | * about is ensuring that userspace can't do anything but shut off the | 332 | * about is ensuring that userspace can't do anything but shut off the |
| 333 | * display on a connector that was destroyed after its been notified, | 333 | * display on a connector that was destroyed after it's been notified, |
| 334 | * not before. | 334 | * not before. |
| 335 | */ | 335 | */ |
| 336 | if (drm_connector_is_unregistered(connector) && crtc_state->active) { | 336 | if (drm_connector_is_unregistered(connector) && crtc_state->active) { |
| @@ -685,7 +685,7 @@ drm_atomic_helper_check_modeset(struct drm_device *dev, | |||
| 685 | 685 | ||
| 686 | /* | 686 | /* |
| 687 | * After all the routing has been prepared we need to add in any | 687 | * After all the routing has been prepared we need to add in any |
| 688 | * connector which is itself unchanged, but who's crtc changes it's | 688 | * connector which is itself unchanged, but whose crtc changes its |
| 689 | * configuration. This must be done before calling mode_fixup in case a | 689 | * configuration. This must be done before calling mode_fixup in case a |
| 690 | * crtc only changed its mode but has the same set of connectors. | 690 | * crtc only changed its mode but has the same set of connectors. |
| 691 | */ | 691 | */ |
| @@ -1670,7 +1670,7 @@ EXPORT_SYMBOL(drm_atomic_helper_async_commit); | |||
| 1670 | * drm_atomic_helper_setup_commit() and related functions. | 1670 | * drm_atomic_helper_setup_commit() and related functions. |
| 1671 | * | 1671 | * |
| 1672 | * Committing the actual hardware state is done through the | 1672 | * Committing the actual hardware state is done through the |
| 1673 | * &drm_mode_config_helper_funcs.atomic_commit_tail callback, or it's default | 1673 | * &drm_mode_config_helper_funcs.atomic_commit_tail callback, or its default |
| 1674 | * implementation drm_atomic_helper_commit_tail(). | 1674 | * implementation drm_atomic_helper_commit_tail(). |
| 1675 | * | 1675 | * |
| 1676 | * RETURNS: | 1676 | * RETURNS: |
| @@ -1893,7 +1893,7 @@ crtc_or_fake_commit(struct drm_atomic_state *state, struct drm_crtc *crtc) | |||
| 1893 | * functions. drm_atomic_helper_wait_for_dependencies() must be called before | 1893 | * functions. drm_atomic_helper_wait_for_dependencies() must be called before |
| 1894 | * actually committing the hardware state, and for nonblocking commits this call | 1894 | * actually committing the hardware state, and for nonblocking commits this call |
| 1895 | * must be placed in the async worker. See also drm_atomic_helper_swap_state() | 1895 | * must be placed in the async worker. See also drm_atomic_helper_swap_state() |
| 1896 | * and it's stall parameter, for when a driver's commit hooks look at the | 1896 | * and its stall parameter, for when a driver's commit hooks look at the |
| 1897 | * &drm_crtc.state, &drm_plane.state or &drm_connector.state pointer directly. | 1897 | * &drm_crtc.state, &drm_plane.state or &drm_connector.state pointer directly. |
| 1898 | * | 1898 | * |
| 1899 | * Completion of the hardware commit step must be signalled using | 1899 | * Completion of the hardware commit step must be signalled using |
diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomic_uapi.c index c40889888a16..defc03a9cd1c 100644 --- a/drivers/gpu/drm/drm_atomic_uapi.c +++ b/drivers/gpu/drm/drm_atomic_uapi.c | |||
| @@ -44,8 +44,8 @@ | |||
| 44 | * DOC: overview | 44 | * DOC: overview |
| 45 | * | 45 | * |
| 46 | * This file contains the marshalling and demarshalling glue for the atomic UAPI | 46 | * This file contains the marshalling and demarshalling glue for the atomic UAPI |
| 47 | * in all it's form: The monster ATOMIC IOCTL itself, code for GET_PROPERTY and | 47 | * in all its forms: The monster ATOMIC IOCTL itself, code for GET_PROPERTY and |
| 48 | * SET_PROPERTY IOCTls. Plus interface functions for compatibility helpers and | 48 | * SET_PROPERTY IOCTLs. Plus interface functions for compatibility helpers and |
| 49 | * drivers which have special needs to construct their own atomic updates, e.g. | 49 | * drivers which have special needs to construct their own atomic updates, e.g. |
| 50 | * for load detect or similiar. | 50 | * for load detect or similiar. |
| 51 | */ | 51 | */ |
diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index a39ab2193bfe..e407adb033e7 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ b/drivers/gpu/drm/drm_bufs.c | |||
| @@ -494,7 +494,7 @@ int drm_legacy_getmap_ioctl(struct drm_device *dev, void *data, | |||
| 494 | * isn't in use. | 494 | * isn't in use. |
| 495 | * | 495 | * |
| 496 | * Searches the map on drm_device::maplist, removes it from the list, see if | 496 | * Searches the map on drm_device::maplist, removes it from the list, see if |
| 497 | * its being used, and free any associate resource (such as MTRR's) if it's not | 497 | * it's being used, and free any associated resource (such as MTRR's) if it's not |
| 498 | * being on use. | 498 | * being on use. |
| 499 | * | 499 | * |
| 500 | * \sa drm_legacy_addmap | 500 | * \sa drm_legacy_addmap |
| @@ -621,7 +621,7 @@ int drm_legacy_rmmap_ioctl(struct drm_device *dev, void *data, | |||
| 621 | } | 621 | } |
| 622 | } | 622 | } |
| 623 | 623 | ||
| 624 | /* List has wrapped around to the head pointer, or its empty we didn't | 624 | /* List has wrapped around to the head pointer, or it's empty we didn't |
| 625 | * find anything. | 625 | * find anything. |
| 626 | */ | 626 | */ |
| 627 | if (list_empty(&dev->maplist) || !map) { | 627 | if (list_empty(&dev->maplist) || !map) { |
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index e3ff73695c32..dd40eff0911c 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c | |||
| @@ -1066,7 +1066,7 @@ EXPORT_SYMBOL(drm_mode_create_dvi_i_properties); | |||
| 1066 | * | 1066 | * |
| 1067 | * content type (HDMI specific): | 1067 | * content type (HDMI specific): |
| 1068 | * Indicates content type setting to be used in HDMI infoframes to indicate | 1068 | * Indicates content type setting to be used in HDMI infoframes to indicate |
| 1069 | * content type for the external device, so that it adjusts it's display | 1069 | * content type for the external device, so that it adjusts its display |
| 1070 | * settings accordingly. | 1070 | * settings accordingly. |
| 1071 | * | 1071 | * |
| 1072 | * The value of this property can be one of the following: | 1072 | * The value of this property can be one of the following: |
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index b1c63e9cdf8a..6d0d8e01f16e 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c | |||
| @@ -941,7 +941,7 @@ static void drm_dp_free_mst_branch_device(struct kref *kref) | |||
| 941 | * in-memory topology state from being changed in the middle of critical | 941 | * in-memory topology state from being changed in the middle of critical |
| 942 | * operations like changing the internal state of payload allocations. This | 942 | * operations like changing the internal state of payload allocations. This |
| 943 | * means each branch and port will be considered to be connected to the rest | 943 | * means each branch and port will be considered to be connected to the rest |
| 944 | * of the topology until it's topology refcount reaches zero. Additionally, | 944 | * of the topology until its topology refcount reaches zero. Additionally, |
| 945 | * for ports this means that their associated &struct drm_connector will stay | 945 | * for ports this means that their associated &struct drm_connector will stay |
| 946 | * registered with userspace until the port's refcount reaches 0. | 946 | * registered with userspace until the port's refcount reaches 0. |
| 947 | * | 947 | * |
| @@ -979,8 +979,8 @@ static void drm_dp_free_mst_branch_device(struct kref *kref) | |||
| 979 | * same way as the C pointers used to reference a structure. | 979 | * same way as the C pointers used to reference a structure. |
| 980 | * | 980 | * |
| 981 | * As you can see in the above figure, every branch increments the topology | 981 | * As you can see in the above figure, every branch increments the topology |
| 982 | * refcount of it's children, and increments the malloc refcount of it's | 982 | * refcount of its children, and increments the malloc refcount of its |
| 983 | * parent. Additionally, every payload increments the malloc refcount of it's | 983 | * parent. Additionally, every payload increments the malloc refcount of its |
| 984 | * assigned port by 1. | 984 | * assigned port by 1. |
| 985 | * | 985 | * |
| 986 | * So, what would happen if MSTB #3 from the above figure was unplugged from | 986 | * So, what would happen if MSTB #3 from the above figure was unplugged from |
| @@ -997,9 +997,9 @@ static void drm_dp_free_mst_branch_device(struct kref *kref) | |||
| 997 | * of its parent, and finally its own malloc refcount. For MSTB #4 and port | 997 | * of its parent, and finally its own malloc refcount. For MSTB #4 and port |
| 998 | * #4, this means they both have been disconnected from the topology and freed | 998 | * #4, this means they both have been disconnected from the topology and freed |
| 999 | * from memory. But, because payload #2 is still holding a reference to port | 999 | * from memory. But, because payload #2 is still holding a reference to port |
| 1000 | * #3, port #3 is removed from the topology but it's &struct drm_dp_mst_port | 1000 | * #3, port #3 is removed from the topology but its &struct drm_dp_mst_port |
| 1001 | * is still accessible from memory. This also means port #3 has not yet | 1001 | * is still accessible from memory. This also means port #3 has not yet |
| 1002 | * decremented the malloc refcount of MSTB #3, so it's &struct | 1002 | * decremented the malloc refcount of MSTB #3, so its &struct |
| 1003 | * drm_dp_mst_branch will also stay allocated in memory until port #3's | 1003 | * drm_dp_mst_branch will also stay allocated in memory until port #3's |
| 1004 | * malloc refcount reaches 0. | 1004 | * malloc refcount reaches 0. |
| 1005 | * | 1005 | * |
| @@ -1139,7 +1139,7 @@ static void drm_dp_destroy_mst_branch_device(struct kref *kref) | |||
| 1139 | 1139 | ||
| 1140 | /** | 1140 | /** |
| 1141 | * drm_dp_mst_topology_try_get_mstb() - Increment the topology refcount of a | 1141 | * drm_dp_mst_topology_try_get_mstb() - Increment the topology refcount of a |
| 1142 | * branch device unless its zero | 1142 | * branch device unless it's zero |
| 1143 | * @mstb: &struct drm_dp_mst_branch to increment the topology refcount of | 1143 | * @mstb: &struct drm_dp_mst_branch to increment the topology refcount of |
| 1144 | * | 1144 | * |
| 1145 | * Attempts to grab a topology reference to @mstb, if it hasn't yet been | 1145 | * Attempts to grab a topology reference to @mstb, if it hasn't yet been |
| @@ -1265,7 +1265,7 @@ static void drm_dp_destroy_port(struct kref *kref) | |||
| 1265 | 1265 | ||
| 1266 | /** | 1266 | /** |
| 1267 | * drm_dp_mst_topology_try_get_port() - Increment the topology refcount of a | 1267 | * drm_dp_mst_topology_try_get_port() - Increment the topology refcount of a |
| 1268 | * port unless its zero | 1268 | * port unless it's zero |
| 1269 | * @port: &struct drm_dp_mst_port to increment the topology refcount of | 1269 | * @port: &struct drm_dp_mst_port to increment the topology refcount of |
| 1270 | * | 1270 | * |
| 1271 | * Attempts to grab a topology reference to @port, if it hasn't yet been | 1271 | * Attempts to grab a topology reference to @port, if it hasn't yet been |
| @@ -1471,7 +1471,7 @@ static bool drm_dp_port_setup_pdt(struct drm_dp_mst_port *port) | |||
| 1471 | port->mstb->port_parent = port; | 1471 | port->mstb->port_parent = port; |
| 1472 | /* | 1472 | /* |
| 1473 | * Make sure this port's memory allocation stays | 1473 | * Make sure this port's memory allocation stays |
| 1474 | * around until it's child MSTB releases it | 1474 | * around until its child MSTB releases it |
| 1475 | */ | 1475 | */ |
| 1476 | drm_dp_mst_get_port_malloc(port); | 1476 | drm_dp_mst_get_port_malloc(port); |
| 1477 | 1477 | ||
| @@ -2271,7 +2271,7 @@ static int drm_dp_destroy_payload_step1(struct drm_dp_mst_topology_mgr *mgr, | |||
| 2271 | struct drm_dp_payload *payload) | 2271 | struct drm_dp_payload *payload) |
| 2272 | { | 2272 | { |
| 2273 | DRM_DEBUG_KMS("\n"); | 2273 | DRM_DEBUG_KMS("\n"); |
| 2274 | /* its okay for these to fail */ | 2274 | /* it's okay for these to fail */ |
| 2275 | if (port) { | 2275 | if (port) { |
| 2276 | drm_dp_payload_send_msg(mgr, port, id, 0); | 2276 | drm_dp_payload_send_msg(mgr, port, id, 0); |
| 2277 | } | 2277 | } |
| @@ -2947,7 +2947,7 @@ enum drm_connector_status drm_dp_mst_detect_port(struct drm_connector *connector | |||
| 2947 | { | 2947 | { |
| 2948 | enum drm_connector_status status = connector_status_disconnected; | 2948 | enum drm_connector_status status = connector_status_disconnected; |
| 2949 | 2949 | ||
| 2950 | /* we need to search for the port in the mgr in case its gone */ | 2950 | /* we need to search for the port in the mgr in case it's gone */ |
| 2951 | port = drm_dp_mst_topology_get_port_validated(mgr, port); | 2951 | port = drm_dp_mst_topology_get_port_validated(mgr, port); |
| 2952 | if (!port) | 2952 | if (!port) |
| 2953 | return connector_status_disconnected; | 2953 | return connector_status_disconnected; |
| @@ -3013,7 +3013,7 @@ struct edid *drm_dp_mst_get_edid(struct drm_connector *connector, struct drm_dp_ | |||
| 3013 | { | 3013 | { |
| 3014 | struct edid *edid = NULL; | 3014 | struct edid *edid = NULL; |
| 3015 | 3015 | ||
| 3016 | /* we need to search for the port in the mgr in case its gone */ | 3016 | /* we need to search for the port in the mgr in case it's gone */ |
| 3017 | port = drm_dp_mst_topology_get_port_validated(mgr, port); | 3017 | port = drm_dp_mst_topology_get_port_validated(mgr, port); |
| 3018 | if (!port) | 3018 | if (!port) |
| 3019 | return NULL; | 3019 | return NULL; |
| @@ -3180,7 +3180,7 @@ EXPORT_SYMBOL(drm_dp_atomic_find_vcpi_slots); | |||
| 3180 | * Releases any VCPI slots that have been allocated to a port in the atomic | 3180 | * Releases any VCPI slots that have been allocated to a port in the atomic |
| 3181 | * state. Any atomic drivers which support MST must call this function in | 3181 | * state. Any atomic drivers which support MST must call this function in |
| 3182 | * their &drm_connector_helper_funcs.atomic_check() callback when the | 3182 | * their &drm_connector_helper_funcs.atomic_check() callback when the |
| 3183 | * connector will no longer have VCPI allocated (e.g. because it's CRTC was | 3183 | * connector will no longer have VCPI allocated (e.g. because its CRTC was |
| 3184 | * removed) when it had VCPI allocated in the previous atomic state. | 3184 | * removed) when it had VCPI allocated in the previous atomic state. |
| 3185 | * | 3185 | * |
| 3186 | * It is OK to call this even if @port has been removed from the system. | 3186 | * It is OK to call this even if @port has been removed from the system. |
| @@ -3268,7 +3268,7 @@ bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr, | |||
| 3268 | DRM_DEBUG_KMS("initing vcpi for pbn=%d slots=%d\n", | 3268 | DRM_DEBUG_KMS("initing vcpi for pbn=%d slots=%d\n", |
| 3269 | pbn, port->vcpi.num_slots); | 3269 | pbn, port->vcpi.num_slots); |
| 3270 | 3270 | ||
| 3271 | /* Keep port allocated until it's payload has been removed */ | 3271 | /* Keep port allocated until its payload has been removed */ |
| 3272 | drm_dp_mst_get_port_malloc(port); | 3272 | drm_dp_mst_get_port_malloc(port); |
| 3273 | drm_dp_mst_topology_put_port(port); | 3273 | drm_dp_mst_topology_put_port(port); |
| 3274 | return true; | 3274 | return true; |
| @@ -3300,7 +3300,7 @@ EXPORT_SYMBOL(drm_dp_mst_get_vcpi_slots); | |||
| 3300 | void drm_dp_mst_reset_vcpi_slots(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port) | 3300 | void drm_dp_mst_reset_vcpi_slots(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port) |
| 3301 | { | 3301 | { |
| 3302 | /* | 3302 | /* |
| 3303 | * A port with VCPI will remain allocated until it's VCPI is | 3303 | * A port with VCPI will remain allocated until its VCPI is |
| 3304 | * released, no verified ref needed | 3304 | * released, no verified ref needed |
| 3305 | */ | 3305 | */ |
| 3306 | 3306 | ||
| @@ -3317,7 +3317,7 @@ void drm_dp_mst_deallocate_vcpi(struct drm_dp_mst_topology_mgr *mgr, | |||
| 3317 | struct drm_dp_mst_port *port) | 3317 | struct drm_dp_mst_port *port) |
| 3318 | { | 3318 | { |
| 3319 | /* | 3319 | /* |
| 3320 | * A port with VCPI will remain allocated until it's VCPI is | 3320 | * A port with VCPI will remain allocated until its VCPI is |
| 3321 | * released, no verified ref needed | 3321 | * released, no verified ref needed |
| 3322 | */ | 3322 | */ |
| 3323 | 3323 | ||
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index c5c79986f9c5..523b1067f1ed 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
| @@ -2483,7 +2483,7 @@ static int drm_pick_crtcs(struct drm_fb_helper *fb_helper, | |||
| 2483 | /* | 2483 | /* |
| 2484 | * This function checks if rotation is necessary because of panel orientation | 2484 | * This function checks if rotation is necessary because of panel orientation |
| 2485 | * and if it is, if it is supported. | 2485 | * and if it is, if it is supported. |
| 2486 | * If rotation is necessary and supported, its gets set in fb_crtc.rotation. | 2486 | * If rotation is necessary and supported, it gets set in fb_crtc.rotation. |
| 2487 | * If rotation is necessary but not supported, a DRM_MODE_ROTATE_* flag gets | 2487 | * If rotation is necessary but not supported, a DRM_MODE_ROTATE_* flag gets |
| 2488 | * or-ed into fb_helper->sw_rotations. In drm_setup_crtcs_fb() we check if only | 2488 | * or-ed into fb_helper->sw_rotations. In drm_setup_crtcs_fb() we check if only |
| 2489 | * one bit is set and then we set fb_info.fbcon_rotate_hint to make fbcon do | 2489 | * one bit is set and then we set fb_info.fbcon_rotate_hint to make fbcon do |
diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c index 46f48f245eb5..b1838a41ad43 100644 --- a/drivers/gpu/drm/drm_file.c +++ b/drivers/gpu/drm/drm_file.c | |||
| @@ -701,7 +701,7 @@ int drm_event_reserve_init(struct drm_device *dev, | |||
| 701 | EXPORT_SYMBOL(drm_event_reserve_init); | 701 | EXPORT_SYMBOL(drm_event_reserve_init); |
| 702 | 702 | ||
| 703 | /** | 703 | /** |
| 704 | * drm_event_cancel_free - free a DRM event and release it's space | 704 | * drm_event_cancel_free - free a DRM event and release its space |
| 705 | * @dev: DRM device | 705 | * @dev: DRM device |
| 706 | * @p: tracking structure for the pending event | 706 | * @p: tracking structure for the pending event |
| 707 | * | 707 | * |
diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index 7abcb265a108..d8d75e25f6fb 100644 --- a/drivers/gpu/drm/drm_framebuffer.c +++ b/drivers/gpu/drm/drm_framebuffer.c | |||
| @@ -773,7 +773,7 @@ EXPORT_SYMBOL(drm_framebuffer_lookup); | |||
| 773 | * @fb: fb to unregister | 773 | * @fb: fb to unregister |
| 774 | * | 774 | * |
| 775 | * Drivers need to call this when cleaning up driver-private framebuffers, e.g. | 775 | * Drivers need to call this when cleaning up driver-private framebuffers, e.g. |
| 776 | * those used for fbdev. Note that the caller must hold a reference of it's own, | 776 | * those used for fbdev. Note that the caller must hold a reference of its own, |
| 777 | * i.e. the object may not be destroyed through this call (since it'll lead to a | 777 | * i.e. the object may not be destroyed through this call (since it'll lead to a |
| 778 | * locking inversion). | 778 | * locking inversion). |
| 779 | * | 779 | * |
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index 2896ff60552f..d0b9f6a9953f 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c | |||
| @@ -660,7 +660,7 @@ void drm_gem_put_pages(struct drm_gem_object *obj, struct page **pages, | |||
| 660 | EXPORT_SYMBOL(drm_gem_put_pages); | 660 | EXPORT_SYMBOL(drm_gem_put_pages); |
| 661 | 661 | ||
| 662 | /** | 662 | /** |
| 663 | * drm_gem_object_lookup - look up a GEM object from it's handle | 663 | * drm_gem_object_lookup - look up a GEM object from its handle |
| 664 | * @filp: DRM file private date | 664 | * @filp: DRM file private date |
| 665 | * @handle: userspace handle | 665 | * @handle: userspace handle |
| 666 | * | 666 | * |
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index 3cc5fbd78ee2..2b4f373736c7 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c | |||
| @@ -816,7 +816,7 @@ EXPORT_SYMBOL(drm_mm_scan_add_block); | |||
| 816 | * When the scan list is empty, the selected memory nodes can be freed. An | 816 | * When the scan list is empty, the selected memory nodes can be freed. An |
| 817 | * immediately following drm_mm_insert_node_in_range_generic() or one of the | 817 | * immediately following drm_mm_insert_node_in_range_generic() or one of the |
| 818 | * simpler versions of that function with !DRM_MM_SEARCH_BEST will then return | 818 | * simpler versions of that function with !DRM_MM_SEARCH_BEST will then return |
| 819 | * the just freed block (because its at the top of the free_stack list). | 819 | * the just freed block (because it's at the top of the free_stack list). |
| 820 | * | 820 | * |
| 821 | * Returns: | 821 | * Returns: |
| 822 | * True if this block should be evicted, false otherwise. Will always | 822 | * True if this block should be evicted, false otherwise. Will always |
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index adce9a26bac9..a28e7a91c8be 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
| @@ -1272,7 +1272,7 @@ const char *drm_get_mode_status_name(enum drm_mode_status status) | |||
| 1272 | * @verbose: be verbose about it | 1272 | * @verbose: be verbose about it |
| 1273 | * | 1273 | * |
| 1274 | * This helper function can be used to prune a display mode list after | 1274 | * This helper function can be used to prune a display mode list after |
| 1275 | * validation has been completed. All modes who's status is not MODE_OK will be | 1275 | * validation has been completed. All modes whose status is not MODE_OK will be |
| 1276 | * removed from the list, and if @verbose the status code and mode name is also | 1276 | * removed from the list, and if @verbose the status code and mode name is also |
| 1277 | * printed to dmesg. | 1277 | * printed to dmesg. |
| 1278 | */ | 1278 | */ |
diff --git a/drivers/gpu/drm/drm_property.c b/drivers/gpu/drm/drm_property.c index 79c77c3cad86..f8ec8f9c3e7a 100644 --- a/drivers/gpu/drm/drm_property.c +++ b/drivers/gpu/drm/drm_property.c | |||
| @@ -866,7 +866,7 @@ err: | |||
| 866 | * value doesn't become invalid part way through the property update due to | 866 | * value doesn't become invalid part way through the property update due to |
| 867 | * race). The value returned by reference via 'obj' should be passed back | 867 | * race). The value returned by reference via 'obj' should be passed back |
| 868 | * to drm_property_change_valid_put() after the property is set (and the | 868 | * to drm_property_change_valid_put() after the property is set (and the |
| 869 | * object to which the property is attached has a chance to take it's own | 869 | * object to which the property is attached has a chance to take its own |
| 870 | * reference). | 870 | * reference). |
| 871 | */ | 871 | */ |
| 872 | bool drm_property_change_valid_get(struct drm_property *property, | 872 | bool drm_property_change_valid_get(struct drm_property *property, |
diff --git a/drivers/gpu/drm/drm_vblank.c b/drivers/gpu/drm/drm_vblank.c index cde71ee95a8f..a1b65d26d761 100644 --- a/drivers/gpu/drm/drm_vblank.c +++ b/drivers/gpu/drm/drm_vblank.c | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | * Drivers must initialize the vertical blanking handling core with a call to | 48 | * Drivers must initialize the vertical blanking handling core with a call to |
| 49 | * drm_vblank_init(). Minimally, a driver needs to implement | 49 | * drm_vblank_init(). Minimally, a driver needs to implement |
| 50 | * &drm_crtc_funcs.enable_vblank and &drm_crtc_funcs.disable_vblank plus call | 50 | * &drm_crtc_funcs.enable_vblank and &drm_crtc_funcs.disable_vblank plus call |
| 51 | * drm_crtc_handle_vblank() in it's vblank interrupt handler for working vblank | 51 | * drm_crtc_handle_vblank() in its vblank interrupt handler for working vblank |
| 52 | * support. | 52 | * support. |
| 53 | * | 53 | * |
| 54 | * Vertical blanking interrupts can be enabled by the DRM core or by drivers | 54 | * Vertical blanking interrupts can be enabled by the DRM core or by drivers |
