From patchwork Wed Jan 13 08:51:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kochetkov X-Patchwork-Id: 12018993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C9E0C433DB for ; Thu, 14 Jan 2021 09:29:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88B2D23741 for ; Thu, 14 Jan 2021 09:29:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88B2D23741 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=inbox.ru Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 09CDE6E182; Thu, 14 Jan 2021 09:29:06 +0000 (UTC) X-Greylist: delayed 2873 seconds by postgrey-1.36 at gabe; Wed, 13 Jan 2021 09:38:58 UTC Received: from fallback21.mail.ru (fallback21.m.smailru.net [94.100.176.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5439C6E3E3 for ; Wed, 13 Jan 2021 09:38:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=bRQrLk/AIylq09T8n6NdSnETaspKyr7IOoyf79+XhNY=; b=rLSyo2S/gi7jgwJA2/Bw0hVnI2TGSot03EBULb/IAxsFuzp/I/iyYsvX3j8HzVLuOdxLmE+fASe4a3SQurtyDCpW55lfssP1jsbbVPduwoNoafpdA5Rxc2PGLVGGkr5dQ0B5PdofaVE74PiS2JDRIY/3OJoEOxnCQKXm/gMCuaI=; Received: from [10.161.64.59] (port=47800 helo=smtp51.i.mail.ru) by fallback21.m.smailru.net with esmtp (envelope-from ) id 1kzbrr-0007rm-31 for dri-devel@lists.freedesktop.org; Wed, 13 Jan 2021 11:51:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=bRQrLk/AIylq09T8n6NdSnETaspKyr7IOoyf79+XhNY=; b=jS9sGpMNE3Kqda+jivMP8rt7PUg+RihaDOqnNa4MQN+6a/lwr6LKfOZwTcHVs6KgzewFgSYw9AtaRRwAhS5fB/jW32+Tk0jVbwZEvQvF5XPt7VaN4m5z5TQb1E9KWUHhpRpHyTXve6nLzdINbgqPzsnuTlbhfDLi1tm2G7joaco=; Received: by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1kzbro-0008Lb-24; Wed, 13 Jan 2021 11:51:00 +0300 From: Maxim Kochetkov To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/vmwgfx: Add 1080p to vmw_kms_connector_builtin list Date: Wed, 13 Jan 2021 11:51:56 +0300 Message-Id: <20210113085156.13179-1-fido_max@inbox.ru> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D0E79FBC973162CD81CC0669AF3BE2AC14A0BAA29BC1501600894C459B0CD1B9D3D113855E30C82C505A7715B3DE8A2954F7F300FA7FCDDC96422291B010A18A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7589DF9800DB1E191EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006371AB0416A4896C0B38638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FC081036C1CE0AB31497E96D1E99A360B0F05D887354F0AAA8389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0DEC8C2C8BCD2534D8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B636DA1BED736F9328CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C224921F2395506A8491876E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8BF21E68C5F714699F3AA81AA40904B5D9DBF02ECDB25306B2B25CBF701D1BE8734AD6D5ED66289B5278DA827A17800CE7465FACE6EB770F7493EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B659DF8EA86ED09BA9089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E7028C9DFF55498CEFB0BD9CCCA9EDD067B1EDA766A37F9254B7 X-B7AD71C0: 6FEFE4C63DFE2D85469AD6E133326EAB5BF2BB004D2C50356C52B5BA14B7E50172A84C65A86D0F2877D6CB4B17BF719479311020FFC8D4AD65748F937EFDD944283C1DC97F2B0614 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CD9CBB3A052EDBDE58DE5289F92E22F2C7A659A7612099F669C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359A3485EE9140A7D39D5E4DBAB5AF249FA793EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D348CDF4129B2EA85609FFAA1D4D710AC5D57C287405EDBE0C196C8ABD70A68117825323C8A0E59B95A1D7E09C32AA3244C2AB726BCE118365986420174EB83BC0D7101BF96129E40118D5DD81C2BAB7D1D X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj4exXbGs3yZp1CtB6p3rCwA== X-Mailru-Sender: 11C2EC085EDE56FA9C10FA2967F5AB2424A056FEC5FA276D21CC42A6A4485A7511673F9418A63257EE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok X-7564579A: 646B95376F6C166E X-77F55803: 6242723A09DB00B40E5D90E44ABF6C6604BA033ECC7B62DED89E37DF61FCAB88049FFFDB7839CE9E65808158F3E57AA7A20E4DA4D4A0462B0E8DECEAEB4B1B4D3E9B644D2DD4A220 X-7FA49CB5: 0D63561A33F958A51F85D790ED19B3A17A10BFBB04EFC29CF75B7380DB97F9D88941B15DA834481FA18204E546F3947C2F20CBB68F4D2F81F6B57BC7E64490618DEB871D839B7333395957E7521B51C2DFABB839C843B9C08941B15DA834481F8AA50765F7900637F35A6E24A0A0A547389733CBF5DBD5E9B5C8C57E37DE458BD9DD9810294C998ED8FC6C240DEA76428AA50765F790063733A25861FFD6A8E5D32BA5DBAC0009BE395957E7521B51C292C30CA92C8B5C6467F23339F89546C55F5C1EE8F4F765FC015CA81987D179B8A7F4EDE966BC389F395957E7521B51C24C7702A67D5C33162DBA43225CD8A89F443EE4078611238157739F23D657EF2BB5C8C57E37DE458B4C7702A67D5C3316FA3894348FB808DB48C21F01D89DB561574AF45C6390F7469DAA53EE0834AAEE X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CD9CBB3A052EDBDE582B44A1284DE93AA09377B89AB9CE31E9C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A4DC48ACC2A39D04F89CDFB48F4795C241BDAD6C7F3747799A X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj4exXbGs3yZoFfwZ097FMGA== X-Mailru-MI: 800 X-Mailru-Sender: A5480F10D64C9005F4843EF15D8AD6F8AC5310FAE9F4D15EC09340E048AC4ADCEFAC7B9FAC0FB745C099ADC76E806A99D50E20E2BC48EF5A30D242760C51EA9CEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok X-Mailman-Approved-At: Thu, 14 Jan 2021 09:28:32 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: airlied@linux.ie, sroland@vmware.com, linux-graphics-maintainer@vmware.com, Maxim Kochetkov Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It allows to set 1080p mode without vmware/virtulabox tools installed. Signed-off-by: Maxim Kochetkov --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 312ed0881a99..b47622c6a112 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -2103,6 +2103,10 @@ static struct drm_display_mode vmw_kms_connector_builtin[] = { { DRM_MODE("1856x1392", DRM_MODE_TYPE_DRIVER, 218250, 1856, 1952, 2176, 2528, 0, 1392, 1393, 1396, 1439, 0, DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) }, + /* 1920x1080@60Hz */ + { DRM_MODE("1920x1080", DRM_MODE_TYPE_DRIVER, 148500, 1920, 2008, + 2052, 2200, 0, 1080, 1084, 1089, 1125, 0, + DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, /* 1920x1200@60Hz */ { DRM_MODE("1920x1200", DRM_MODE_TYPE_DRIVER, 193250, 1920, 2056, 2256, 2592, 0, 1200, 1203, 1209, 1245, 0,