From patchwork Mon Mar 31 15:19:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 3915991 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E68CF9F370 for ; Mon, 31 Mar 2014 15:20:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2FAA42037B for ; Mon, 31 Mar 2014 15:20:03 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 69C2B203AD for ; Mon, 31 Mar 2014 15:20:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FFA26E314; Mon, 31 Mar 2014 08:20:01 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170]) by gabe.freedesktop.org (Postfix) with ESMTP id 82FF36E314 for ; Mon, 31 Mar 2014 08:19:59 -0700 (PDT) Received: by mail-qc0-f170.google.com with SMTP id e9so9223125qcy.15 for ; Mon, 31 Mar 2014 08:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=d/RFvApqD31T0grvXzWKIswtTBkDEnRxOEXpgKTwOVo=; b=zNaLPgSKXY8CxCz9znBftI8lgkWgPVWxoWGy/7D0Fhs9KijeSUmvd0Fww25KMpHsoJ 9dwL4Elb9t8ifnLLus4FZcsh/M1X8D/BVRW1zibEgFodplS7Bf3yAkFiJa6ac/yXoOqM nAqDtOah5zAcBlQulEOnKOlisAoru7I9Uwo+82gaKK1Yp2qGh+YIBIR8+C4cFogan0/N /Dr70Jm6WY3E2+aBU1wP+FccmS8Gg7jqjf9f6ifCxpIiJtt7FFe4kS2t1HLL/mC02mxd 0hqQhG2w2ieum/+P/It4dn3IhTvWKS6OsVTZHPVr9+9DGsUIHvO9ZNYyW+j2H2SKwVvy 6ynA== X-Received: by 10.229.112.5 with SMTP id u5mr28472749qcp.3.1396279198454; Mon, 31 Mar 2014 08:19:58 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPSA id z8sm28952941qaw.17.2014.03.31.08.19.57 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Mon, 31 Mar 2014 08:19:58 -0700 (PDT) From: Alex Deucher To: dri-devel@lists.freedesktop.org, deathsimple@vodafone.de Subject: [PATCH] drm/radeon: call drm_edid_to_eld when we update the edid Date: Mon, 31 Mar 2014 11:19:46 -0400 Message-Id: <1396279186-17854-1-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 Cc: Alex Deucher , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This needs to be done to update some of the fields in the connector structure used by the audio code. Noticed by several users on irc. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index fbd8b93..6e6f82c 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -792,6 +792,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector) if (radeon_connector->edid) { drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid); ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid); + drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid); return ret; } drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);