mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -04:00
Revert "drm/amd/display: Initialize writeback connector"
This reverts commit a2830b9e85.
[WHY & HOW]
The writeback series cause a regression in thunderbolt display.
Signed-off-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
#include "amdgpu_dm_crtc.h"
|
||||
#include "amdgpu_dm_hdcp.h"
|
||||
#include <drm/display/drm_hdcp_helper.h>
|
||||
#include "amdgpu_dm_wb.h"
|
||||
#include "amdgpu_pm.h"
|
||||
#include "amdgpu_atombios.h"
|
||||
|
||||
@@ -4472,25 +4471,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
|
||||
|
||||
link = dc_get_link_at_index(dm->dc, i);
|
||||
|
||||
if (link->connector_signal == SIGNAL_TYPE_VIRTUAL) {
|
||||
struct drm_writeback_connector *wbcon = kzalloc(sizeof(*wbcon), GFP_KERNEL);
|
||||
|
||||
if (!wbcon) {
|
||||
DRM_ERROR("KMS: Failed to allocate writeback connector\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (amdgpu_dm_wb_connector_init(dm, wbcon)) {
|
||||
DRM_ERROR("KMS: Failed to initialize writeback connector\n");
|
||||
kfree(wbcon);
|
||||
continue;
|
||||
}
|
||||
|
||||
link->psr_settings.psr_feature_enabled = false;
|
||||
link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
|
||||
|
||||
if (link->connector_signal == SIGNAL_TYPE_VIRTUAL)
|
||||
continue;
|
||||
}
|
||||
|
||||
aconnector = kzalloc(sizeof(*aconnector), GFP_KERNEL);
|
||||
if (!aconnector)
|
||||
|
||||
Reference in New Issue
Block a user