diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-02-20 11:51:48 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-02-28 13:17:08 +0300 |
commit | 6140cf20341975400fb2ee7a72fa6316c1bc74f0 (patch) | |
tree | 3df04162c810fd2bac0e86ffd09497b52fd4ec92 /drivers/gpu/drm/drm_crtc_internal.h | |
parent | 0eb9acda36ac41e43afd152a96c2e769200bc264 (diff) | |
download | linux-6140cf20341975400fb2ee7a72fa6316c1bc74f0.tar.xz |
drm: add drm_get_connector_force_name
Follow the naming in debugfs also for logging, add "unknown" for values
beyond the enumerated ones.
v2: add \n in connector_show, make internal to drm (Chris)
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487580708-29340-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index 955c5690bf64..81bc0a390f41 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -142,6 +142,7 @@ int drm_mode_connector_set_obj_prop(struct drm_mode_object *obj, struct drm_property *property, uint64_t value); int drm_connector_create_standard_properties(struct drm_device *dev); +const char *drm_get_connector_force_name(enum drm_connector_force force); /* IOCTL */ int drm_mode_connector_property_set_ioctl(struct drm_device *dev, |