Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1359d6e4 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher
Browse files

drm/amdgpu: drop apply quirks for now.



This isn't being used so drop it.

Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 178d7cb8
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -234,16 +234,6 @@ amdgpu_atombios_get_hpd_info_from_gpio(struct amdgpu_device *adev,
	return hpd;
}

static bool amdgpu_atombios_apply_quirks(struct amdgpu_device *adev,
					 uint32_t supported_device,
					 int *connector_type,
					 struct amdgpu_i2c_bus_rec *i2c_bus,
					 uint16_t *line_mux,
					 struct amdgpu_hpd *hpd)
{
	return true;
}

static const int object_connector_convert[] = {
	DRM_MODE_CONNECTOR_Unknown,
	DRM_MODE_CONNECTOR_DVII,
@@ -514,11 +504,6 @@ bool amdgpu_atombios_get_connector_info_from_object_table(struct amdgpu_device *

			conn_id = le16_to_cpu(path->usConnObjectId);

			if (!amdgpu_atombios_apply_quirks
			    (adev, le16_to_cpu(path->usDeviceTag), &connector_type,
			     &ddc_bus, &conn_id, &hpd))
				continue;

			amdgpu_display_add_connector(adev,
						      conn_id,
						      le16_to_cpu(path->usDeviceTag),