summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2024-03-19 14:36:06 +1000
committerDave Airlie <airlied@redhat.com>2024-03-19 14:36:15 +1000
commit02ac43711111b9e36dbbecfe85bfd1dbfa2b49bb (patch)
tree1a0a3ba280fa6fb67dbbbb1247821c3bec8cc20e /include
parent341f7081587da6d66b9b47e76c0e2ebd2350624f (diff)
parent9dd81b2e1ec72a3759f8d6bb6e9cbef93aab6227 (diff)
Merge tag 'drm-misc-next-fixes-2024-03-14' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
Short summary of fixes pull: probe-helper: - never return negative values from .get_modes() plus driver fixes nouveau: - clear bo resource bus after eviction - documentation fixes Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240314082833.GA8761@localhost.localdomain
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_modeset_helper_vtables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index 881b03e4dc28..9ed42469540e 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -898,7 +898,8 @@ struct drm_connector_helper_funcs {
*
* RETURNS:
*
- * The number of modes added by calling drm_mode_probed_add().
+ * The number of modes added by calling drm_mode_probed_add(). Return 0
+ * on failures (no modes) instead of negative error codes.
*/
int (*get_modes)(struct drm_connector *connector);