diff options
author | Emily Deng <Emily.Deng@amd.com> | 2016-08-07 23:30:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 13:44:20 -0400 |
commit | c6e14f40ba1c2d23be03f09ace4b4d78bfc066e4 (patch) | |
tree | d4a7b4a8f99771a3f752729d1605e1b3812747c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
parent | 16925c92dbd97524655525b6816625e1f0063d12 (diff) |
drm/amdgpu: Initialize dce_virtual_ip_funcs
For virtual display feature, first need to initialize dce_virtual_ip_funcs,
which will be used when set ip blocks.
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 76f96028313d..abeb6aaf89a9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |||
@@ -335,7 +335,7 @@ int amdgpu_crtc_set_config(struct drm_mode_set *set) | |||
335 | return ret; | 335 | return ret; |
336 | } | 336 | } |
337 | 337 | ||
338 | static const char *encoder_names[38] = { | 338 | static const char *encoder_names[41] = { |
339 | "NONE", | 339 | "NONE", |
340 | "INTERNAL_LVDS", | 340 | "INTERNAL_LVDS", |
341 | "INTERNAL_TMDS1", | 341 | "INTERNAL_TMDS1", |
@@ -374,6 +374,9 @@ static const char *encoder_names[38] = { | |||
374 | "TRAVIS", | 374 | "TRAVIS", |
375 | "INTERNAL_VCE", | 375 | "INTERNAL_VCE", |
376 | "INTERNAL_UNIPHY3", | 376 | "INTERNAL_UNIPHY3", |
377 | "HDMI_ANX9805", | ||
378 | "INTERNAL_AMCLK", | ||
379 | "VIRTUAL", | ||
377 | }; | 380 | }; |
378 | 381 | ||
379 | static const char *hpd_names[6] = { | 382 | static const char *hpd_names[6] = { |