summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen_hdmi.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2014-06-03 14:56:19 +0300
committerDave Airlie <airlied@redhat.com>2014-06-04 13:17:30 +1000
commit72082093aefa5294801de91acdc25f5ea6722000 (patch)
treee47480e81ab20b3b3470aaeed57e508f5acbb46a /drivers/gpu/drm/radeon/evergreen_hdmi.c
parent8c6c361ac6490eb3b74593a85ef5ea7d86a8669f (diff)
downloadblackbird-op-linux-72082093aefa5294801de91acdc25f5ea6722000.tar.gz
blackbird-op-linux-72082093aefa5294801de91acdc25f5ea6722000.zip
drm/radeon: replace drm_get_connector_name() with direct name field use
Generated using semantic patch: @@ expression E; @@ - drm_get_connector_name(E) + E->name [airlied: regenerated] Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_hdmi.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen_hdmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_hdmi.c b/drivers/gpu/drm/radeon/evergreen_hdmi.c
index b760ef52fdcd..1ec0e6e83f9f 100644
--- a/drivers/gpu/drm/radeon/evergreen_hdmi.c
+++ b/drivers/gpu/drm/radeon/evergreen_hdmi.c
@@ -342,19 +342,19 @@ void evergreen_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode
case 16:
default:
DRM_DEBUG("%s: Disabling hdmi deep color for %d bpc.\n",
- drm_get_connector_name(connector), bpc);
+ connector->name, bpc);
break;
case 10:
val |= HDMI_DEEP_COLOR_ENABLE;
val |= HDMI_DEEP_COLOR_DEPTH(HDMI_30BIT_DEEP_COLOR);
DRM_DEBUG("%s: Enabling hdmi deep color 30 for 10 bpc.\n",
- drm_get_connector_name(connector));
+ connector->name);
break;
case 12:
val |= HDMI_DEEP_COLOR_ENABLE;
val |= HDMI_DEEP_COLOR_DEPTH(HDMI_36BIT_DEEP_COLOR);
DRM_DEBUG("%s: Enabling hdmi deep color 36 for 12 bpc.\n",
- drm_get_connector_name(connector));
+ connector->name);
break;
}
OpenPOWER on IntegriCloud