From patchwork Mon Mar 18 10:05:41 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: 780911 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1346840wrs; Mon, 18 Mar 2024 03:07:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWqt4OP2i2eaCDXSdx3O1V6dyOjh12XyL9N3/Tkj2wLwrimHDmENPPHN6JPuDHK6oxu0kiqRdEUrI/lI2awx7pF X-Google-Smtp-Source: AGHT+IF3mKtY+7oK6nuIye2/WKDnMKnJ86Fe7l05dB/uVOOMpKQQ9UWJCXUIGhw1bjkXhtLeIyDD X-Received: by 2002:a05:620a:4707:b0:78a:a94:f250 with SMTP id bs7-20020a05620a470700b0078a0a94f250mr240168qkb.78.1710756437794; Mon, 18 Mar 2024 03:07:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710756437; cv=none; d=google.com; s=arc-20160816; b=CWP0F55sdZ7zFPACfiRkHCGKrmTQuE7R6gAEbuyZ8aeO2dH7u+YNwQOW93eM/+GzWi 1bvA0YcIzk40gwvrTWHpzq5w5vWuSRybyZObAfr7ObjXLIeMnrUUYvFwf0Htb2n3gNde kSv+oho6FInTPPaub72syVd2qqsLly2F0e7KFY91P7g9oTnvLHGjKGfWbYVKVZWvoYkz kYB5I0UwmT1uPn/SCXVQBC2n/O7k68r8F3PDtvwngiPs1rh6AVlb0/zh6wk9KatmJKUX CT6TCuNm7STwfOMgMiGNXN4VTi2nUD5eo7gV6cJx3vzfHLAUDiBwTX7kgj1A5WqpuKn6 eudw== 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=KUAlKLrL/1V6YIm+DLAbV/OwrOTdGgaYBZrzeVbcM0g=; b=qALaqAS5bpu9KJtwBfBM02UHH99zP9r7AFqW+1JDDybbgsjx+HzjB5+5Hhy3Wj/6Gi H7yFoeAxwXJL62ED/MOz5clQeuWx1pBrz97NEcwz6vF+jN5Abf6YLjKRrkHR9QHb2Cw5 0ZZYhKX0E+HYzXsDYieYQ0otVUN7ZG0zGsA35KqtZspN4pwQj1L1jZct8JM24TPka+uV c29ELw+T5BSgcuGx+i6YqAiBam3LliZimlcLPuoKapW0+Rs4XV9SFgq8Ob7h4lyBDdHI EMbe5w2p9r9suclGqhRmt33sBb+WPWsoL6nD/ekKuNSuyXYbYLVziHXVKKsdMjyKIcFz tXOA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=inchz0ML; 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 bs18-20020a05620a471200b00789fcedc508si2333292qkb.194.2024.03.18.03.07.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 03:07:17 -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=inchz0ML; 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 1rm9sd-0001Ht-Bu; Mon, 18 Mar 2024 06:06:07 -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 1rm9sY-0001FY-DJ for qemu-devel@nongnu.org; Mon, 18 Mar 2024 06:06:03 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rm9sW-00061h-DH for qemu-devel@nongnu.org; Mon, 18 Mar 2024 06:06:01 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-34005b5927eso1018472f8f.1 for ; Mon, 18 Mar 2024 03:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710756357; x=1711361157; 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=inchz0MLLvsW9u/sAZDtO3gU4sM0uXlgM1hAy1BlidQNUnUVqPG0rq67Izbx6Tv7+8 0N5f3Rzq7GUgQrUrpVL2hzNClHWR18AqUOT+1uM4awnZr9crv8vAGpj6tXrkY7xmfbgI oWEJC8TrmfuYQn8sA4qbNpHiVjBMNsnfwzx9PwRDWPT1DJj+47Vk34F24jMMZpsO8mZY 7yh1/rur6DNQ2EA2F3DK/2sioOBvc/jIA7Ql6BP9NNcP1FeeMcidGWcMnSuSf1zK4rFX gzkJeElyH4sPkfjt0PyB4khMg7ZfR6gCPFsXJSaCWzEUD3u6RALOqEC7wn7i/pD0bXxR DxOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710756357; x=1711361157; 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=nTWT86HA1sKL0wiN/1lZilZ5Ly5cAGGFa1B+vMW57RB0fjfCNOLfK5dJKZWmm1ZXd3 Tjwn3altyjS1AjpY2uSjtlPR3u2hsQliOJxSDub3KpQvMMseKd1H/RRyEos7YFagz7cJ CcgcJ8oq3gauei8BzN5xtuv+2X/WMKZmK61y5zwQY+bdM2uqJiAfjwZmnzA3zBcvRzI3 Qx5sHF/UdqKfKKtw4MaVYxebZ3TsBqb/irV18Cgh29EXvg5qYrOTZTeZ4SAQXIjTE17x 0l7Q5gklnUI+536OmH7194IgFOAnB6uhAKoN5JWW4QeWcrk72rpbBmB2EsyfWXTPpKQd Ui0g== X-Gm-Message-State: AOJu0YwNZ8IaPVk79Ae+7qSIOJHp1lq7sxZRPZRXlDSkifI0Nm7MmCMi DBVMo1L7LikKkHfIlbL+PMSgRbY/a6uJXzl3UUwkC5Ju9I0KCDxSqzfPCZoSlh/OEd/dGec3RIY JATI= X-Received: by 2002:a05:6000:ecd:b0:33e:be35:d449 with SMTP id ea13-20020a0560000ecd00b0033ebe35d449mr7811193wrb.44.1710756357044; Mon, 18 Mar 2024 03:05:57 -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 r15-20020a5d694f000000b0033ec6a1b37esm9489265wrw.8.2024.03.18.03.05.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 18 Mar 2024 03:05:56 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Gerd Hoffmann , qemu-arm@nongnu.org, Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.1 2/3] hw/display/pxa2xx_lcd: Set rotation angle using qemu_console_set_rotate Date: Mon, 18 Mar 2024 11:05:41 +0100 Message-ID: <20240318100543.78846-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240318100543.78846-1-philmd@linaro.org> References: <20240318100543.78846-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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=ham 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é --- 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);