From patchwork Sun Sep 25 20:31:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2386 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 618083F030 for ; Sun, 25 Sep 2022 22:31:21 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id b17-20020a056402351100b00453b19d9bd0sf3847235edd.4 for ; Sun, 25 Sep 2022 13:31:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664137881; cv=pass; d=google.com; s=arc-20160816; b=zKb8zBAqKbdz/D9dom1/bvaTt8oEsqbWD40udgDEjU3wmoBztuba/qnnnYqlct2X2X r/9X8LkUc51IBgsgH/SzreKIJPQcRM+qcY1FkWApTNjQ1KucpOkQRUIiHe5xWeufayp7 NnZ+fjZMs4vndXh6Zqnrky1XAiGF1WeeqSJKd8bPzfE2RZYu9d5tiTbu4DOTmEU41rzD oFUer3wQcstgqiVMycIWVRzQ+UwFvhvqHtSRoasAZ27dSoJIgP153sKaXyxX9KJfgLXq LjxtI/rx20iuve/7pNWWRw03tbgmBmdSXt8FiPmsz7xDBaF8liAYeiQfZBQDQdVKS3Fa 9w7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=iPAYUdUv+NJPS4NtFPaKVUMGfGACgnYE2ePu86zkQwQ=; b=TITwAF0XpspJr4cM6keC7mlNXUAIPtQD0LgmAxOYy3h2tjWvjqy1QewRC5hAOIL3C/ 7+HtL46iqy965Z6qztYcNpl1dYz0gn/oPLL0bjsbD9N9z3idShsozbhTXdHyfGIQQuht FrmMw+kdnw21dhIVyG40w41inndnoz0cGAjnzewltKAemmsozbomlyHLPf+lVvTclDRT HwfJUmbnJ5zMcsQfRvsKUo5JGcbfnA610269mWtUq53Af6ukvb63PexnKnsPy0d4FlO6 o+CLgX0LIQcd447igPsBqNQ2uGzEsqhE6bTel9crnzyYaSQ9umO5bbtm+1thF23wOqLT 0ZWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W3jIBG6m; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=iPAYUdUv+NJPS4NtFPaKVUMGfGACgnYE2ePu86zkQwQ=; b=bzFSxeCK+JojIpDFYGrr0nELeiQDU8J1RIJyiA9gvnSVgMME+sWtTubQkOI2Y85vAn gH9S1xwHtZL28BZBRn6Uw/gbd4hQb+5FMBbZJqZBfOncwPozFTDVvwa3w+E992Wg+tY5 HhKQvKBymL2wFW8+nLAeep8rKtg18HM/aEkAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=iPAYUdUv+NJPS4NtFPaKVUMGfGACgnYE2ePu86zkQwQ=; b=OU4lr2tGrwxx8G6f6YS+vx3NUAKdu7E9sS/NQwfKU8Qhn2lq4qF09MbZEeWn2aPzHI pqudASK3PTn2qSuXVrScvNm85R5SlpTkfznl0O2ZL7WNkxXC6ebexSW5LzdBhm5WQq6h h+3S5pF3VV/G0e0FxjOo8AZEcauPOF/1qGiFUhPMCTBDXWm4qqSKpkAmrQJEKnEL9fcp AZjusAhqFgJiDNOKDC8O56Kka3EJrTfnzZ38ZPQfTo1HskKve7CweaJ+41GxHyYJd9dM vJCSeuf2p8KnBv380BCorsKLPCUGzIAPU4dQrzuak/x0qmR0lXyNgq6JlSsvP4u5Ld77 CSZw== X-Gm-Message-State: ACrzQf2winSu7E6wJm6Lf7KF+0Tb+LCS01MBv1fj54uIbqD7rIRMdixM d4dumWRqjqSgVESscDn8KQJyowKc X-Google-Smtp-Source: AMsMyM7YycHE22Db8ImDAHfFabxOS9L9rxiZAnvYtWAnJe8gQnsjZz3+NOmhl07rZTherz3hySBoTQ== X-Received: by 2002:a17:906:478d:b0:783:2270:e85a with SMTP id cw13-20020a170906478d00b007832270e85amr5054831ejc.371.1664137881201; Sun, 25 Sep 2022 13:31:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:268a:b0:43d:b3c4:cd21 with SMTP id w10-20020a056402268a00b0043db3c4cd21ls11956750edd.2.-pod-prod-gmail; Sun, 25 Sep 2022 13:31:20 -0700 (PDT) X-Received: by 2002:aa7:db58:0:b0:457:30ce:bcaa with SMTP id n24-20020aa7db58000000b0045730cebcaamr3995945edt.20.1664137880009; Sun, 25 Sep 2022 13:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664137880; cv=none; d=google.com; s=arc-20160816; b=eJrYufmqpIgO+Bb7af646ztL9h/QNSapEGBiF3fxgG06Sl8+LkJc2Cs5IErMmSVTUR Ymiz8T3Wlp1PzH0C8gEnTQ9HlPLBVo2NWhxtKt05ZrxBpYN/LKkbA4zaZ7NI8F58EPPW iRlf3WiE3Puetu8quDxk8+6kUbC2hnlQRKsTqfg0My0q1L1ps5p8Pq7usCcJg9J25GdJ ezgDXVha2WOsHlf8ONvNncjP9Pe77Aqj2nB+Gm+1iHqVQAJ92qU18s5fJzh6iYbIM5w9 Cy/Q11bstuNUckVL2m+8iOLzCHQzizDrmxesiS45H2JtNJc5iFnw8Kb3rQIceVw1gkaK Aa7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=y0hYDYJrsXtIb4FnrVnv7yXNJiN08w2I7yWauYU8Kms=; b=qrCA1fpEumtDFKqaoEb6eAi+DxJzzIgxl0IwiK4h1M3iLveaDifxqEjY9q/VqfSU0y SRWD3IUDnhJdL7Ya8tXu2vxa4eHw0ROOUuo29QlpLLoxbdAeu8O+E2rCDnoBsgdrwVGf a+5zjzGV3mEf5Yt6am5eTgcEryZgenUJ8EE+v/jDgDjdPhj8hnFjJ7dP2vGJgrYcdWoq bcZLGsPNS6iNtQ3qOIitzrF8Tm3f9NeLSrcyHaEe+zJdIm1m1ZuVmCHi+SJuG2sQZCj3 4si5zMlRtLA1QndNN6BqeSjUQCtSvnXCTHrGyOL/3Ce6Kl0+CGi+HI/5952+xoP2LV0x I/ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W3jIBG6m; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g2-20020a17090670c200b0073d82df9c8fsor5695365ejk.9.2022.09.25.13.31.19 for (Google Transport Security); Sun, 25 Sep 2022 13:31:19 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:70b:b0:740:ef93:2ffb with SMTP id xb11-20020a170907070b00b00740ef932ffbmr15165884ejb.93.1664137879810; Sun, 25 Sep 2022 13:31:19 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-92-192.retail.telecomitalia.it. [95.232.92.192]) by smtp.gmail.com with ESMTPSA id ck9-20020a0564021c0900b004575a705092sm4724edb.23.2022.09.25.13.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 13:31:19 -0700 (PDT) From: Dario Binacchi To: busybox@busybox.net Cc: Denys Vlasenko , Erik Andersen , Rob Landley , Matt Kraai , Randolph Chung , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [RESEND RFC PATCH 2/2] fbset: support setting pixel clock rate Date: Sun, 25 Sep 2022 22:31:14 +0200 Message-Id: <20220925203114.1537909-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220925203114.1537909-1-dario.binacchi@amarulasolutions.com> References: <20220925203114.1537909-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W3jIBG6m; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Only in case the FEATURE_FBSET_FANCY configuration is enabled. Signed-off-by: Dario Binacchi --- util-linux/fbset.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 0eaa7c0a6427..768ab80eb82d 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -518,6 +518,9 @@ int fbset_main(int argc, char **argv) case CMD_DEPTH: var_set.bits_per_pixel = xatou32(argv[1]); break; + case CMD_PIXCLOCK: + var_set.pixclock = xatou32(argv[1]); + break; #endif default: bb_perror_msg_and_die("option '%s' not handled",