From patchwork Wed Jan 30 05:28:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Chiluk X-Patchwork-Id: 216786 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id AAD9D2C0098 for ; Wed, 30 Jan 2013 20:13:45 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U0TjZ-0005ZA-W1; Wed, 30 Jan 2013 09:13:34 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U0QE6-0004lv-7z for kernel-team@lists.ubuntu.com; Wed, 30 Jan 2013 05:28:50 +0000 Received: from cpe-70-124-70-187.austin.res.rr.com ([70.124.70.187] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1U0QE5-0001aM-V0 for kernel-team@lists.ubuntu.com; Wed, 30 Jan 2013 05:28:50 +0000 From: Dave Chiluk To: kernel-team@lists.ubuntu.com Subject: [PATCH 09/10] drm/edid: Add extra_modes Date: Tue, 29 Jan 2013 23:28:30 -0600 Message-Id: <1359523711-5875-10-git-send-email-chiluk@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1359523711-5875-1-git-send-email-chiluk@canonical.com> References: <1359523711-5875-1-git-send-email-chiluk@canonical.com> X-Mailman-Approved-At: Wed, 30 Jan 2013 09:13:30 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Adam Jackson BugLink: http://bugs.launchpad.net/bugs/1109112 Some common sizes that don't show up in DMT. Signed-off-by: Adam Jackson Tested-by: Takashi Iwai Reviewed-by: Rodrigo Vivi Signed-off-by: Dave Airlie (cherry picked from commit b61b2140feaa6aca51c63db94aa5217cd82705d1) Signed-off-by: David Chiluk --- drivers/gpu/drm/drm_edid_modes.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/drm_edid_modes.h b/drivers/gpu/drm/drm_edid_modes.h index a91ffb1..176d455 100644 --- a/drivers/gpu/drm/drm_edid_modes.h +++ b/drivers/gpu/drm/drm_edid_modes.h @@ -379,6 +379,17 @@ static const struct { }; static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]); +static const struct minimode extra_modes[] = { + { 1024, 576, 60, 0 }, + { 1366, 768, 60, 0 }, + { 1600, 900, 60, 0 }, + { 1680, 945, 60, 0 }, + { 1920, 1080, 60, 0 }, + { 2048, 1152, 60, 0 }, + { 2048, 1536, 60, 0 }, +}; +static const int num_extra_modes = sizeof(extra_modes) / sizeof(extra_modes[0]); + /* * Probably taken from CEA-861 spec. * This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c.