From patchwork Mon Mar 10 18:57:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?St=C3=A9phane_Marchesin?= X-Patchwork-Id: 3808261 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 82E70BF540 for ; Mon, 10 Mar 2014 23:52:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0864201BC for ; Mon, 10 Mar 2014 23:52:02 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id B7A3B20221 for ; Mon, 10 Mar 2014 23:52:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0D76FA91A; Mon, 10 Mar 2014 16:51:47 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FC14FA22E for ; Mon, 10 Mar 2014 11:57:13 -0700 (PDT) Received: by mail-pd0-f178.google.com with SMTP id x10so7438028pdj.37 for ; Mon, 10 Mar 2014 11:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=O0fPN3DtW3WExdyYaBQ6KyVtsXOJyWz4N79US835R1g=; b=I73M7lPon1V1vD0wfxBsXDWnliX0bMTg2BHg198oLkfR08uZd6GLlf5ULm8ZufEm/d pVVTVF1t5mweqHiDzJEpUX+e7r63L6trj+w8Ss1JAO7Gu565Uz320QycfP1lA05S0LD4 XjcWNtskmvyGTDTW/yUvxolTD8NP61hP3RoMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=O0fPN3DtW3WExdyYaBQ6KyVtsXOJyWz4N79US835R1g=; b=dA5TZBcRWfMFzrLjHv9UYv80ZUYEa/z+34ePXSR0H5tm9pZutTn5+2oSR6ujyQid2D 9dqhv8Zd6YkWmjTUYDJufVqCYxWE6zaoHeDIOjz3BpEhZl9bxB70kBgxlknARJn87Dbn BD4063u2cDZLhR7/zUmOSWenLb5QdtaWiGhd09cKIv8CPrdQL3rkJWhVsrpUYate8yKR uZymotq+dOGvQ4uyj/+PAGBPTDcYMJxtt5Gi9IEtmrCx7SL3hnJHnsvVkjpSIt+UVPSs b0gcvpwVw8X2+N0mCxK3fYnUA0xUnIUQGoEFtNngm4G18eOvUGQWR5yT8npuJV3tHemd ymVw== X-Gm-Message-State: ALoCoQkfi4C8SMcvehFY/mMfNMmB0npVaiPrVkY6968PHDBOIvZDxdpTleGMYTat1Prdi/Dh1pB5 X-Received: by 10.68.233.99 with SMTP id tv3mr5462367pbc.163.1394477831893; Mon, 10 Mar 2014 11:57:11 -0700 (PDT) Received: from localhost ([2620:0:1000:1b01:82c1:6eff:fef8:b068]) by mx.google.com with ESMTPSA id yz5sm88554828pac.9.2014.03.10.11.57.09 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Mar 2014 11:57:10 -0700 (PDT) From: =?UTF-8?q?St=C3=A9phane=20Marchesin?= To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/edid: Remove part of the HDTV hack Date: Mon, 10 Mar 2014 11:57:07 -0700 Message-Id: <1394477827-16164-1-git-send-email-marcheu@chromium.org> X-Mailer: git-send-email 1.9.0.279.gdc9e3eb MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 10 Mar 2014 16:51:38 -0700 Cc: =?UTF-8?q?St=C3=A9phane=20Marchesin?= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 The part which turns 1360x765 into 1366x768 breaks this mode on a Toshiba TV here. 1360x765 works fine, though. Reviewed-by: Adam Jackson Signed-off-by: Stéphane Marchesin --- drivers/gpu/drm/drm_edid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index b924306..7527f48 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -1628,8 +1628,7 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid, /* HDTV hack, part 1 */ if (vrefresh_rate == 60 && - ((hsize == 1360 && vsize == 765) || - (hsize == 1368 && vsize == 769))) { + (hsize == 1368 && vsize == 769)) { hsize = 1366; vsize = 768; }