From patchwork Fri Aug 26 10:27:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2304 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 A328544344 for ; Fri, 26 Aug 2022 12:27:57 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id y11-20020a056402270b00b00446a7e4f1bcsf888962edd.1 for ; Fri, 26 Aug 2022 03:27:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661509677; cv=pass; d=google.com; s=arc-20160816; b=kx0WnQxqRTSFLhfFUlVIvbVCtLIsUW5kUgnjLDBZCWdvlI5lvhPzVV+aXchWDtqs39 KSWqzsLVyRbLniW6O7LELAohoJHu7QKMS+2Ou1+QpGT1QjyzgUp8eaHyFwobRoN1WorP L8KrgtGMzdwQEbvKysb4uW0fh7tsZIDa0SFztC/W8XjUfqj6Mwv6LpQFKMk+ueAaWKtl 1+ToAl1bI/Q9Ir+Q+5ZDmT/AJDmjJw9py20cfeeh3h4NePILkZBnL+fHdB2XHgrkOufj +gh1L0u2l4njXuJsg69HA9Cg2r9hpxzViVRVtVC0AhtiWZlFJKEYKtT4riJZ0ST0JldQ 1Y/g== 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=BwZODBmb0QbML9ZY8cu44sfnV9t5QnY1hNBI7FqgNvayoAIma37YIbqNcWXGA9FM7t phXMobFWij4+BsG+R0XEAhyZlUcVjSfmHvu7k3KNh0z3a3Fln9OCoUEmuVeb4/1rWzdP qfwVSA56TJm7yJZ6n8qsft3RlbULEtnBq62nUmOS4UI4IYAeey3Fn0RaxfLMAgPMlwkH UjoszsVOg2Kol9+tM7duTElhXFH8A/xIB8NomS9JmCMYHMtUpt+mrkN7IKnYhIb4yXOv lpN0uX+fdZmwJMXEcRXj4Py38JPaLLBZnucQvpqC5dFs4w5Ob4z9stEOTXOTYsv6pACd PDVQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gU2FJytt; 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; bh=iPAYUdUv+NJPS4NtFPaKVUMGfGACgnYE2ePu86zkQwQ=; b=jW+wyBwVjy+xbShoFmg3GqL7UAuT/TJDm5XfJd/mzPfM0FCOHyIAtZnbC7ZgWzOyrm ezgUKqbKgSQsUlTeEA+XbyUpGuBMd5AW+ulnpQ3/7k+flB18VpIvTPeMFQYhDkMnnoVE H7VSmAO5Nzvodd7M0hvJjbVcGyoY+7AMyt9uY= 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; bh=iPAYUdUv+NJPS4NtFPaKVUMGfGACgnYE2ePu86zkQwQ=; b=4bUWaOCDv2cmiTK4AOMG586DtONV8vi/s7HzKgKySQrLY0gG6Yymy+tQoJihZstH9y CfkAmm9Sqgc+TNz0vM3l9T8PcsE552CzPqa1XHbSl3S/H7VoM3su3sCHSVPWMDCKDgeI gx6F1exCubkKoFUmBx7yKrSBWFCeHKwaaC9vHK8SzTgOCXcLqR0Y027iMLpH1kQRdqT9 fjUG/DFtH1M1I9EoqDp1j2v1OxmNml/GDdeEGgAeWHAZjFYVoEM83LKWXRpTStJ6/vv0 Vx0mzhzdS593Z7mB5DzB776eX6I//Kf5vcZl9qn71HpxPfyGcetRv8Oux0ygsSgCLk8v Qorw== X-Gm-Message-State: ACgBeo3jDVYyLsNpc0x4JU0UQozdWxcfBSzlBy86+00a+MAX/h3NqWAF qhHQVrGjiaSikA8J2kVgDXp4oQ/s X-Google-Smtp-Source: AA6agR40gdVl9Ijf+MWlIrQbp+pOWePr1lb6KKolYkwd97I/FCegaWHzFNAxyhqG0oPk8cDnM9NWug== X-Received: by 2002:a17:906:7945:b0:73b:e605:f31 with SMTP id l5-20020a170906794500b0073be6050f31mr5151315ejo.129.1661509677215; Fri, 26 Aug 2022 03:27:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:eda3:b0:73d:704f:9649 with SMTP id sa3-20020a170906eda300b0073d704f9649ls1828195ejb.5.-pod-prod-gmail; Fri, 26 Aug 2022 03:27:56 -0700 (PDT) X-Received: by 2002:a17:907:5ce:b0:730:bae0:deb with SMTP id wg14-20020a17090705ce00b00730bae00debmr5252704ejb.181.1661509676068; Fri, 26 Aug 2022 03:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661509676; cv=none; d=google.com; s=arc-20160816; b=uaEiSBiodlX7D2CdQm74u2cw/7bhCgw39gq0UdsB89JeKoIUF1OYQZOaedFmDElo9K AoezcWuR9CzxMYn+j0FaTPEOV0Mt3hyadHG2SGBlWLxiMusAaUhFc+2UMC7Gve6fYzm3 vd+7ncsM+j5PgZ1nWmbl1MCAP1W+Q10KG/vTHHiZoal6Mh9JHgx+gTIuxwYVXrFInC7A k0j+X65UAmHgN7mFgfd5D9nS832IoyG/mcM+pox/rgxySV0hkUZ1vvyPgNybHKxkeVGj S3ElEqIsgbPS5ZDWUwF69t9vTd1X7ZrXyBQ3V4ha68zmNDGdCpdCw/YS+0pnSwI5g1LI gNbQ== 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=lYEtwmIOwM/e7fiXn2+AznoiM0u7mVwRaRRFD1X50g0SYlODoPs/gCNVAcGm2LEYQr PN59eTQh3QT2mZRDeeVNuqHBL7KnuxubIhc08kJr68DXBDJm2ofvwCRyr7uzya432eeQ Zb2Qo2wyQM4ZyDe6Sj2i8exg0lMu3ao8S6VWX/MpfYbf6SLyq489wxVTT6jJukeFI7pv T4PYtfa/oZ2KyLN/+WGn+mZNQ/Wj7I1LBlI0Wrzg74sJBUmiRP+eFU6WWcOt/kA2jqTK qL7LV0xMzJPn0kWatQDYAl/zge3EiWQ2C/+UWaXbReMksA9mnOmJffrhCjn+E4LQmfKq IXHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gU2FJytt; 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 f21-20020a170906139500b0073836592d8asor659311ejc.116.2022.08.26.03.27.56 for (Google Transport Security); Fri, 26 Aug 2022 03:27:56 -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:3da2:b0:731:55b2:1c20 with SMTP id he34-20020a1709073da200b0073155b21c20mr4880730ejc.742.1661509675889; Fri, 26 Aug 2022 03:27:55 -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 jt2-20020a170906ca0200b0072f0a9a8e6dsm710138ejb.194.2022.08.26.03.27.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 03:27:55 -0700 (PDT) From: Dario Binacchi To: busybox@busybox.net Cc: Randolph Chung , Denys Vlasenko , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [RFC PATCH 2/2] fbset: support setting pixel clock rate Date: Fri, 26 Aug 2022 12:27:28 +0200 Message-Id: <20220826102728.573192-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220826102728.573192-1-dario.binacchi@amarulasolutions.com> References: <20220826102728.573192-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=gU2FJytt; 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",