From patchwork Mon Jun 24 07:10:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C5=81ukasz_Spintzyk?= X-Patchwork-Id: 13709101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B5F2EC2BD09 for ; Mon, 24 Jun 2024 07:23:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 08D8E10E384; Mon, 24 Jun 2024 07:23:01 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=synaptics.com header.i=@synaptics.com header.b="sEztR52A"; dkim-atps=neutral Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2109.outbound.protection.outlook.com [40.107.237.109]) by gabe.freedesktop.org (Postfix) with ESMTPS id 26D6A10E373 for ; Mon, 24 Jun 2024 07:11:25 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dFDebIR4cVl34e90GrDLQ1PfQ/ZKJVYHItb68RhJi3gBtalNH+g+plEWFN4cWtFSw46m5N8gn1+E2yNVFlsB3lbtLXWp2ss9YQFPjJZOuubgvdMfwlQ+qHxPaImt6hyimQsA0UV5cFM3UdBm4nUTBcX7xMDS7pBeNB6fJtKnlKgEkTsQHMj4R7lS8aWTR1kqcG9saZAlrQLqAGUDbVX3XQFgDpOXFCJlAbGpT1q6BZOlGW/cKIBBUTGsLEg/U+hPoDs7oGqKT8e0phkiIhc0zFwq1i1DKwhxLh6+wJyDawoLG0HatsegAZT3LA4g7sh44Ku9iMH3L57Q8x7uyqFEEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=onylsF04H65p4cNS9Gq/jVFb4QEKUi6xIP+DEei472c=; b=I3fAVAeX+iN/e/QSR2mLvTe2rJbMt8QHgl1INAzgiK/gEygZ5QkEKQ5NZB+I00WjEAU5mGVMfGfW4zzV3hwkrKOc+iu8YoxLTsJx9TCUjoyaSVUaHwl6l/ANxPKK+c1QYYX5jgOXOvbHooxRI8LEdfNwrU9Mks+WBGxNIhf/BLfILxcmVgsWS8UUPUZUnE9+PI6QQOMxqxNR3266TAWzm0gIXdHTfWoHMHr4jUnYS/mxjwQhTl144GR0YSFhzAn0OSrVI/bAGpXniQLKNxnGNvhZj1/4Kzf1FG1U5BRlcDBcE1xpn94eo82BQ/D9fC0dXoACAthmLFa8JLa86yu8BQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synaptics.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=onylsF04H65p4cNS9Gq/jVFb4QEKUi6xIP+DEei472c=; b=sEztR52AkMRWkB+s+gku2Q51RBxti5n6NEbny3MT4dCq1qn95KHmHNRwmoJ2uTRhGNru1ObAPrvaHYGPF2IxxH4S4Q7PpnHKMmP5Mif2soePdc+vYKrId+Ge4YTkPSZuXvGEewsSPX1IS6cp+etUQ6JEjOSirW2MHsqOOYCFoLg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=synaptics.com; Received: from BN9PR03MB6188.namprd03.prod.outlook.com (2603:10b6:408:101::18) by BY5PR03MB5063.namprd03.prod.outlook.com (2603:10b6:a03:1e4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Mon, 24 Jun 2024 07:11:23 +0000 Received: from BN9PR03MB6188.namprd03.prod.outlook.com ([fe80::7b19:7f50:4645:3990]) by BN9PR03MB6188.namprd03.prod.outlook.com ([fe80::7b19:7f50:4645:3990%4]) with mapi id 15.20.7698.025; Mon, 24 Jun 2024 07:11:23 +0000 From: lukasz.spintzyk@synaptics.com To: dri-devel@lists.freedesktop.org Cc: Dave Airlie , Sean Paul , Thomas Zimmermann , =?utf-8?q?=C5=81ukasz_Spintzyk?= Subject: [PATCH 3/4] drm/udl: Allow smaller plane sizes to allow cursor plane Date: Mon, 24 Jun 2024 09:10:40 +0200 Message-Id: <20240624071041.5087-4-lukasz.spintzyk@synaptics.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240624071041.5087-1-lukasz.spintzyk@synaptics.com> References: <20240624071041.5087-1-lukasz.spintzyk@synaptics.com> X-ClientProxiedBy: LO4P265CA0209.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::16) To BN9PR03MB6188.namprd03.prod.outlook.com (2603:10b6:408:101::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN9PR03MB6188:EE_|BY5PR03MB5063:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a8bdbc5-98a8-4faf-5557-08dc941cdb1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|1800799021|52116011|366013|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?rl2JZCVq5o1twxBvgtjMtloGjD6X1wz?= =?utf-8?q?et3upWhrCWLRTfhkkcjeDVD6V/EV6xG6GA+EqL0XzprOOY6ppcF93bzIocrofL1t+?= =?utf-8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= =?utf-8?q?fzIbexBamtmT0HRi3mwYc/p0KGhQvoTtUihXYwPmnXctNBlVXrEo6oDAzGbgv4e56?= =?utf-8?q?QeMilD+h4kmHcP9k8MWSJ0Ge7Pe/KmuL0EkXPHx+9ltfnmoxDngosPSq6lQTX1Jt5?= =?utf-8?q?46jZrCUBBOreDEWDZP+dTuyco1B7YwA5oclHo8HHVt4mYnzPU+rxakswk24YLQwEW?= =?utf-8?q?ruynECjBUqeED0ixsh4+HP0b0EK+onpEVw4Dqmy7IbocM9cZ3qQX+GHBI2Co+DWlD?= =?utf-8?q?Mwaw6+zlCElAQRCoSssJCbnGxKnkke0rmlBZCe4aSgZr6RfTgEiBZhqORKwZrEefI?= =?utf-8?q?5RZiTmfJOThxIt15kMkZ3Rk2x5NzkWXEtEXS5rNSliixsUXZ0szYfqKs=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR03MB6188.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(1800799021)(52116011)(366013)(38350700011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?mAiJXjrJPjVBVEcPQiurhSmLVyKd?= =?utf-8?q?QPB7P3UHXDlS/zF2XFYfppK/LnAki6ROyOXFGF3domZY507ImksGiLZJEjKViaXax?= =?utf-8?q?YHLdSheDrINKjp7WKu+JLquo9mK8oPydG7bJYKC97hca5iNcMn/mUN7KQHlLNcweK?= =?utf-8?q?AxRtZhAl/1kBY6X9dyb0H/Q2Shw9yyPkM0l0ev3ZqqKvY5+5nS1nJ7VZoNeOxPvsA?= =?utf-8?q?GxYKyeZoHWALCy6bldF/R43eBuJlNevb1XxKUUrYW5RFCdg20qPDQlywArR2LemdM?= =?utf-8?q?WzdsSX3bd/A1rSWDgv6vMjyx88OmjNp3Ykp5iWNdndW8m+tw6ID1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qkLr6+mLqadqpUm?= =?utf-8?q?CCb35oRayEg9icrqhlxJO+L45Pi/g9k6v4EOVP+Jo2J7xPf32OAtyXx8Uf1jhTE+v?= =?utf-8?q?mNUF53ZS+YlZrIYEMo2g3N1YYt9rs1m9ieEaYknz8A0nLZQX5LqiEHfzAfR69C/Kv?= =?utf-8?q?RdgrgVt1NhFtXbEyhO2v/LTt25+LS0VrgGNZ11AWR6/R5/SaFwdI4EO9qC8raCaUM?= =?utf-8?q?9/GaiVuCYio7J2pSD5Ab6ryMeIQxc7X+NL1fdsIrAZUZRq4s8Dk/9x6eH/Oc2/0/k?= =?utf-8?q?6mB66Ri3U7DqY07M+yGYAWIFcY43bOlAlg1YnAafzFsMP4y98vMdKWHW98QfdX0fO?= =?utf-8?q?wUnJjs6dsYBY?= X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a8bdbc5-98a8-4faf-5557-08dc941cdb1a X-MS-Exchange-CrossTenant-AuthSource: BN9PR03MB6188.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 07:11:23.7828 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1zP0iJK5ddmtJO6APPScMukhc9qNtJo7gvIEHdwKc0yinZ5wfpG9qr4YOGl/kg7FanKGtj+Kx3YGl4jTbQz+Uw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR03MB5063 X-Mailman-Approved-At: Mon, 24 Jun 2024 07:22:58 +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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Łukasz Spintzyk Signed-off-by: Łukasz Spintzyk --- drivers/gpu/drm/udl/udl_modeset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c index 0bd4e2f02dcf..28b7c269e913 100644 --- a/drivers/gpu/drm/udl/udl_modeset.c +++ b/drivers/gpu/drm/udl/udl_modeset.c @@ -659,8 +659,8 @@ int udl_modeset_init(struct drm_device *dev) if (ret) return ret; - dev->mode_config.min_width = 640; - dev->mode_config.min_height = 480; + dev->mode_config.min_width = UDL_CURSOR_W; + dev->mode_config.min_height = UDL_CURSOR_H; dev->mode_config.max_width = 2048; dev->mode_config.max_height = 2048; dev->mode_config.preferred_depth = 16;