From patchwork Mon Mar 18 11:31:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 780913 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1377543wrs; Mon, 18 Mar 2024 04:33:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXDa01KeaWHZDPF94qqWrJP4Au0DTPE/Wgt2tabyKx4ltQEk1WRKqVbrVmZgzAKxEb+4u53c64ekBQ04CetFbQr X-Google-Smtp-Source: AGHT+IHyFT9YndOzkS2qezrIu7mR0McDLQgw+KH7VIs+CIi6B+HO3x/QSS24m5+OEmUh2xXu2kos X-Received: by 2002:a05:620a:13db:b0:789:e70c:a349 with SMTP id g27-20020a05620a13db00b00789e70ca349mr9248782qkl.48.1710761586831; Mon, 18 Mar 2024 04:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710761586; cv=none; d=google.com; s=arc-20160816; b=V2Mt/tPrM+t9cwMrpophzT9g7Fkx+XUkOq2vE2Psz5QNbC7XMpFaSu0948yn05GkyH MqAkEcIO8P0pOxPdnArO6Undq60ZYvCGrwL9LWvji9J8i475kynb4haM6lhiP6DES9P1 TvMNEyNfanjODYUPiwwttuIs8e5wTakhp2lKuphxRnuyMJ2oy/L6QrEO10BYZWE7Eh1N rMPud5VgzD98sSZsQtimQ2+JP9+RT5oPEST3swtBzr8eZOVclf9sTnQ02z9ZUlg8I15I Vst+eBjVUqf4Ngr+4fBjwhhHUENNCoimO/HVGfAe9mwqtE0nD13KO/K7f28UxF2TUbjA oiZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SFthmmsYp+m5f9owLwx+hyTocTKSDvu4WqZSfWH+cu8=; fh=ZHIWNRx+rEvHyVsyvIT+SxJMVv6/ti8EiM9uHXaYuG4=; b=YQCEQ4To8kC07hCZhlTv6QHfy5wVQj2k94sKudRlFJyMwBKLOTt2RW0ZfKAhAdKqQ4 osnpBXL6uC1VdZLDTDnFJZZJdaqvwuMf//DlZ+Kwi8mSaD0sPs5G/E/y/Sacr7+Jccl3 Wxubgxk13fOjfCkO/pyQjWYl8nS9bmvwwjup7DMS7efdVKZSurY+fPFHoG90F1J7gpHI VrRWjhV+Om0y3bAWPnVlW9Nk9C6oAJVS4FWjdgWfB/zHySdkW636oa7ZMvHn2JZ+uFgP gCYQ5emKnERKPIMwO7UMx7/NT+vnJ17EJ0jMpISdOJjgZfuqovum0/9pW5DfXYnjilEZ v9PA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="M/kUTwkP"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h15-20020ae9ec0f000000b0078810974e1dsi9289323qkg.364.2024.03.18.04.33.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 04:33:06 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="M/kUTwkP"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmBDm-0008BF-MF; Mon, 18 Mar 2024 07:32:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmBDj-00087i-Cx for qemu-devel@nongnu.org; Mon, 18 Mar 2024 07:31:59 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmBDh-00077S-5Q for qemu-devel@nongnu.org; Mon, 18 Mar 2024 07:31:59 -0400 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-512ed314881so2887667e87.2 for ; Mon, 18 Mar 2024 04:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710761515; x=1711366315; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SFthmmsYp+m5f9owLwx+hyTocTKSDvu4WqZSfWH+cu8=; b=M/kUTwkPeboXlUZublF5oMUWc/IoCL9w5+sb05yAxzdFHilC5Rs9LJdUHtkhHEgtgF 4nFtjgh6nTMEt9MkNO+pk2pyon4wFbzjyfyscx2r6syPJBZyflZ4Zm/sYaZI5k7J2mxF ARIvup7v1S+3OW8YYb+QfF+ac7ICmxPUoFP0mm0OwtIX5hLOB7rso+DkgBg0bgsx00GG QtdsLxyJD0s1B+h0UPSOAtBfv0FV2O+ES7KOveXk8shEzTr8MDiuBXnzobK0hfRiq14w giTbUOEL3cU8chozV/dzeYVRSx6HsDaTvJrEfWnclYmPjohciKKyDR6F+yHUHLr4BbAP nriA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710761515; x=1711366315; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SFthmmsYp+m5f9owLwx+hyTocTKSDvu4WqZSfWH+cu8=; b=nm7qQ1g7q47onP0VuvxqpEad+ZxOel5FqIEQAYCLYlxVju4CpjdXuf4/J7njF1SyND FZj4Z/6zCg9/WmFEDJfaknACD0RJySNCHuuB7UMJuT7o5WiihF9R3doq2rgiqL4hHObc JZNVdlkloLUomEXjZCyWDLik8KfECa877dZ4MiRJQridRuItEwrkV9tPtWcMQoPXFbtC tZo9BCTvrejamUVtu8BZXPIYQ18Lu1l5Fk5V/91vtyp+K9CRDPLVrxtZq2v6bfF6W6X5 u4NkMEfNvpCCbJZoOuwij37UjZkDYtBF8VfpX0hfLmoGao86TEYjhOzcRkQadc76LruS UOGw== X-Gm-Message-State: AOJu0Yww1szOdI0fKCVzhDxd4I3VXOnT1Q5bCLdaM2oG+0etek+33Wkk xs82PEjqhxIOD84FNLGG4n3Glpm4nR6by8vDIcfQqFr7mNf4rjLxnJuMiCW3udTqrGuf8QYYPAY z X-Received: by 2002:a05:6512:2205:b0:513:e7ff:15b8 with SMTP id h5-20020a056512220500b00513e7ff15b8mr2758956lfu.51.1710761515074; Mon, 18 Mar 2024 04:31:55 -0700 (PDT) Received: from m1x-phil.lan (vit94-h02-176-184-29-165.dsl.sta.abo.bbox.fr. [176.184.29.165]) by smtp.gmail.com with ESMTPSA id m10-20020adffe4a000000b0033de10c9efcsm9536719wrs.114.2024.03.18.04.31.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 18 Mar 2024 04:31:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Akihiko Odaki , qemu-arm@nongnu.org, =?utf-8?q?Mar?= =?utf-8?q?c-Andr=C3=A9_Lureau?= , Gerd Hoffmann , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.1 v2 2/3] hw/display/pxa2xx_lcd: Set rotation angle using qemu_console_set_rotate Date: Mon, 18 Mar 2024 12:31:39 +0100 Message-ID: <20240318113140.88151-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240318113140.88151-1-philmd@linaro.org> References: <20240318113140.88151-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=philmd@linaro.org; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Akihiko Odaki --- hw/display/pxa2xx_lcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/display/pxa2xx_lcd.c b/hw/display/pxa2xx_lcd.c index a9d0d981a0..7d03fa57d0 100644 --- a/hw/display/pxa2xx_lcd.c +++ b/hw/display/pxa2xx_lcd.c @@ -1439,6 +1439,7 @@ PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem, memory_region_add_subregion(sysmem, base, &s->iomem); s->con = graphic_console_init(NULL, 0, &pxa2xx_ops, s); + qemu_console_set_rotate(s->con, graphic_rotate); vmstate_register(NULL, 0, &vmstate_pxa2xx_lcdc, s);