From patchwork Tue Jan 24 22:41:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 13114851 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 7DA5BC54E94 for ; Tue, 24 Jan 2023 22:42:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 526CE10E25F; Tue, 24 Jan 2023 22:42:05 +0000 (UTC) Received: from out-69.mta0.migadu.com (out-69.mta0.migadu.com [IPv6:2001:41d0:1004:224b::45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 63DC210E25F for ; Tue, 24 Jan 2023 22:42:03 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1674600121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oAapRs/RO6y9QOzK9GfRl6P67ERhquKIA38gdlc10UE=; b=F9hZW2m6lNyDvtRi0AzaKisYqewyHLR/1ADPdWh9FhsKqTvl8q/VaU1PJCfMsfSO+w6IEi tmbTPlUrATcShnkvCa3+ReiVF8V3IWzypuX0RdOvvjlr89FUZ9mK+lsSCBFTuC3NkUns5p fPnXDh78TFNKytnOHgLrCjkhIAcbAPY= From: Rayyan Ansari To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 0/2] SimpleDRM: allow configuring physical width and height Date: Tue, 24 Jan 2023 22:41:40 +0000 Message-Id: <20230124224142.7133-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT 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: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, janne@jannau.net, Krzysztof Kozlowski , Thomas Zimmermann , Rayyan Ansari , Javier Martinez Canillas , linux-kernel@vger.kernel.org, Hans de Goede , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, asahi@lists.linux.dev Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, The following patches: - Add support for configuring the width-mm and height-mm DRM mode properties in the SimpleDRM driver via Device Tree - Document these two new Device Tree properties This is useful for allowing interfaces such as Phosh to calculate proper scaling values and for early boot code knowing if hi-dpi rendering is necessary. Changes since v2: - Remove $ref property (because it is an SI unit) - Extend commit messages Rayyan Ansari (2): drm/simpledrm: Allow physical width and height configuration via DT dt-bindings: display: simple-framebuffer: Document physical width and height properties .../bindings/display/simple-framebuffer.yaml | 6 ++ drivers/gpu/drm/tiny/simpledrm.c | 60 ++++++++++++++++--- 2 files changed, 57 insertions(+), 9 deletions(-)