Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 470670 Details for
Bug 616326
sys-kernel/gentoo-sources, amdgpu, AMD HD79xx, HDMI: graphical corruption
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
amdgpu-tahiti-hdmi-CEA-infoframe-packets.patch
amdgpu-tahiti-hdmi-CEA-infoframe-packets.patch (text/plain), 1.73 KB, created by
Sietze Post
on 2017-04-22 16:00:21 UTC
(
hide
)
Description:
amdgpu-tahiti-hdmi-CEA-infoframe-packets.patch
Filename:
MIME Type:
Creator:
Sietze Post
Created:
2017-04-22 16:00:21 UTC
Size:
1.73 KB
patch
obsolete
>--- old/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 2017-04-22 15:47:44.819189785 +0100 >+++ new/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 2017-04-22 16:26:52.792136377 +0100 >@@ -446,6 +446,8 @@ > > int amdgpu_atombios_encoder_get_encoder_mode(struct drm_encoder *encoder) > { >+ struct drm_device *dev = encoder->dev; >+ struct amdgpu_device *adev = dev->dev_private; > struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); > struct drm_connector *connector; > struct amdgpu_connector *amdgpu_connector; >@@ -471,7 +473,9 @@ > switch (connector->connector_type) { > case DRM_MODE_CONNECTOR_DVII: > case DRM_MODE_CONNECTOR_HDMIB: /* HDMI-B is basically DL-DVI; analog works fine */ >- if (amdgpu_audio != 0) { >+ if (adev->asic_type == CHIP_TAHITI) { >+ return ATOM_ENCODER_MODE_DVI; >+ } else if (amdgpu_audio != 0) { > if (amdgpu_connector->use_digital && > (amdgpu_connector->audio == AMDGPU_AUDIO_ENABLE)) > return ATOM_ENCODER_MODE_HDMI; >@@ -491,7 +495,9 @@ > case DRM_MODE_CONNECTOR_DVID: > case DRM_MODE_CONNECTOR_HDMIA: > default: >- if (amdgpu_audio != 0) { >+ if (adev->asic_type == CHIP_TAHITI) { >+ return ATOM_ENCODER_MODE_DVI; >+ } else if (amdgpu_audio != 0) { > if (amdgpu_connector->audio == AMDGPU_AUDIO_ENABLE) > return ATOM_ENCODER_MODE_HDMI; > else if (drm_detect_hdmi_monitor(amdgpu_connector_edid(connector)) && >@@ -511,6 +517,8 @@ > if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || > (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { > return ATOM_ENCODER_MODE_DP; >+ } else if (adev->asic_type == CHIP_TAHITI) { >+ return ATOM_ENCODER_MODE_DVI; > } else if (amdgpu_audio != 0) { > if (amdgpu_connector->audio == AMDGPU_AUDIO_ENABLE) > return ATOM_ENCODER_MODE_HDMI;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 616326
: 470670 |
470672