drm: add drm_get_connector_force_name
authorJani Nikula <jani.nikula@intel.com>
Mon, 20 Feb 2017 08:51:48 +0000 (10:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 28 Feb 2017 10:17:08 +0000 (12:17 +0200)
commit6140cf20341975400fb2ee7a72fa6316c1bc74f0
tree3df04162c810fd2bac0e86ffd09497b52fd4ec92
parent0eb9acda36ac41e43afd152a96c2e769200bc264
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
drivers/gpu/drm/drm_connector.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_debugfs.c