From patchwork Fri Sep 9 07:05:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2350 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DC92340F3E for ; Fri, 9 Sep 2022 09:06:12 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id l19-20020a056402255300b0043df64f9a0fsf588309edb.16 for ; Fri, 09 Sep 2022 00:06:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662707172; cv=pass; d=google.com; s=arc-20160816; b=KrVfXnNHtgBpVSA6VRpQeh8ApbdKnA4P0j5uR1GY7AhbXpnxrdAhAuXapVIB0ATQN8 6EHqYRNeyv0w3Gq2UiI4DSfL+rKiEAcYh1LQep3gzE8LCsJDFGt38jmF0iccfLnThK+e uqHADroTkqHprmwe+1MVZPOY9Zb7UUuyIB4LMPhi/hpr7diNwZ+MzERZElCfhY/ovLUF v0jxBl9S5UE+Z+wtoURA+59QEKFxx9fQ54sRp/y3CSfvlqAoTbz+cmqOpxOoB7gNI4vP a/sosInRQ2iyohVNaIQpwUpW64HEMKBOE+qjpv1JZPQwNMFi6ZT0hwcvHXmyu7vapadI aLOg== 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=YwJONYVqpQSDuSP/E376E3ktKMjPMaMdAjilZcheNAteCKaQ5GLQI5ule0bwbznluP zqvpws9AdPUe7cgXCXKG9l4IZvtX9PPuWMbWn9wwi/gTSsNMTqfTqkCX9y9/ZpWgAjJF Bu0QeqFj2Q/P71uGrGJtT6HmpORpYGf1eGli6U2sA6rp6zE4/eSBYIM5g7SUXYxEfQ/H nRjEw2N13sQbuf+eXnxiovBOOzMjalVjcX2SnUUhoKqjs+Gh5V+XcKF7F3GkcSDtmW39 GQ8aZSFQ91afnmDvTRGKDSWtccMhAjTvvjipjH5Ewv45We1o0ZXtxK4jiUjIQMj3RvsO sasw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BbnNeOXe; 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=ID5+ASChFp909X4YpdNLoziqhy85eD3wiiqdsKodXMoPWCkPXyFJ36H33d9oG3T204 iJg+7YMxbvgrp047qGXUYrE1STCHZEm0uYAvEeVOKwN6q3SICIn5j4PCE+g9L1wmyiCN QS6uZPyulyBO4Y9ZAmxKGKDDO5yS4Y912iOD0= 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=MyrcNygJbzOY2NnND3hXb/VWE6WPz3daHeJef4aRngpmvRVs07LnG00L99Y/Idod4m yICTcwOEY5yOm/7c5TAbTSE3g17rKHqIvoU5G1k0xQNDOtsmzleC38UOOOkdM5r/7vND 8GW9YcdUpDlzEzuk64ILSNFxmgxbLML4/uLXUbojAltxXhupwVrNtvr1EyvHu0ahlQRc kM+X3ClG+nDOCNDQvZJrYXx+heb2scfA/QSxt0EZEDhlsVNQNn+zRR1/nPfBC5AP8+eF 6+h2oITCtuFaosSdN5aq+vI9z3b75/be3HSe78RrLLV+sVFFd0gXca/zH3y+1yqoQWGB EVmA== X-Gm-Message-State: ACgBeo1uFv+c2HcR2XgCuhVN8hWQWP+qpqBAnaCTZql/iwATYgnf0+tH 31BSIORv3OmB7eIYRvIZEHLBmglm X-Google-Smtp-Source: AA6agR66sN5h3Oohh2PE46qyzwCj/X7kly4RP1Iy90pkbgeE2Fd+4P0LItie0uOssMi4HHLg4CySBg== X-Received: by 2002:a17:907:6d99:b0:770:7e4c:ba15 with SMTP id sb25-20020a1709076d9900b007707e4cba15mr8673848ejc.259.1662707172357; Fri, 09 Sep 2022 00:06:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:278e:b0:44e:93b9:21c8 with SMTP id b14-20020a056402278e00b0044e93b921c8ls722173ede.1.-pod-prod-gmail; Fri, 09 Sep 2022 00:06:11 -0700 (PDT) X-Received: by 2002:a05:6402:3509:b0:43e:d80b:44a8 with SMTP id b9-20020a056402350900b0043ed80b44a8mr10327534edd.255.1662707171289; Fri, 09 Sep 2022 00:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662707171; cv=none; d=google.com; s=arc-20160816; b=fl3IDqRKf5GS8iwuaBK/yOvG8Peu6uYK7+cplz72gmaH6NT4X1/RlW3Ri3WBR7s+Mx +1wEgdOPnIzDy3DiM5JWz0Ye5p+abIpE4qauuEp+VSstg9358r61mv0j3DCdffAIlmUd YH53KGrFBdDl5ko3v8mTiBtvGRRSKWUqOOZpG8vdIwMKPTE/dv0cNR5x0rJVmkz6xLjf D6gZfXPobA7yOBxdwl4XDNArqtpjgPw1JqjxwFNBQ0H7pjFJKoZKZETGUsqKoHr4TjVp rOS3C6D0L4fg0nVMBPTrY2v8UH2lWKoAh0c307VBvj76MZHHmB8pmGKZhT7/uXAG50zH NRrQ== 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=YxX269Zs8TVacML3b4/+qyLUKCSMd6pMjKUPOmfL++WL8mVKQuJlenAZ7JFBZuHVOm vhgjj87sFBHz4NBO8Pojn5ZqOqUSO6FSXxb9FPHJSiZRx7vmGO7SGnOXxd0G0VUE49fk Zc8O50NigcRQ2IM8MjOAU6oKCNR/LiJpmxLTk9+JjxqQfvwmv5BlNvTQNqUHHLMWxxfc WCP6zEw/mr+N3nWgmoaBTD7if4Ve/KeGgHnVTnivI0Ewr7ejFxTCY5VSvSIAQ59G1e2D o4/ks4LfKtQapcZBudK5vSON4o9RH2bQvnV1R7mOFpVyohdYR2Gry5E3wPjT09osU1yn 3oRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BbnNeOXe; 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 gw15-20020a170906f14f00b0073d8b937000sor466784ejb.14.2022.09.09.00.06.11 for (Google Transport Security); Fri, 09 Sep 2022 00:06:11 -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:c24:b0:73d:7c20:cc45 with SMTP id ga36-20020a1709070c2400b0073d7c20cc45mr8974040ejc.294.1662707171078; Fri, 09 Sep 2022 00:06:11 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id 2-20020a170906210200b0077086d2db8esm548272ejt.140.2022.09.09.00.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 00:06:10 -0700 (PDT) From: Dario Binacchi To: busybox@busybox.net Cc: vda.linux@googlemail.com, linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [RESEND RFC PATCH 2/2] fbset: support setting pixel clock rate Date: Fri, 9 Sep 2022 09:05:52 +0200 Message-Id: <20220909070552.860452-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220909070552.860452-1-dario.binacchi@amarulasolutions.com> References: <20220909070552.860452-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=BbnNeOXe; 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",