From patchwork Tue Dec 6 08:34:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 13065537 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51301C3A5A7 for ; Tue, 6 Dec 2022 08:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UHdKOzKhaSiDdo5wznls4oNNcBKC0LzORLXB9obs45g=; b=E10IiBXmO4/aR+ IOzXtzyYN1EC6uH9APEZ4fTQ3awUSG189fcYDzKwb4GSIcnU7cm/cPjkhq/jeoasx8ulbEr0mUlyA ZfKMWiQkIGcqwcT1OJmyX85Ygxg6hz0b5WaxO03R3bIXjDhDRR25YrUVoTOgyB6URAvSEi/32Ixuv P6XQ9pj+7C4Nx7nJGIKjeNOGaFn1J8x3CGJnQIeIyeUFDGgQK1DFnIOOKJxJffpvBYTRjtJakEL8T Z3FASRxhZbaCilrUUlV7Nynmjzyiu/b3gYX5vvQwvmdVCNmau6re3B9EoU4CWIm7aSxLB/XcOpHTT Rvc43QgN235KGhjcthcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2TPr-004vtG-KK; Tue, 06 Dec 2022 08:35:03 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2TP4-004uwO-R3 for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2022 08:34:20 +0000 Received: by mail-ej1-x62a.google.com with SMTP id fc4so4339638ejc.12 for ; Tue, 06 Dec 2022 00:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dcRZDjg3O3q6T3Sk5c09WrJuoI7e4rWvSzYj/Z5H43A=; b=4WirXC4jMxNwlMz6xJ0Jso5tI43SM73m6Z9nAG5UcC6cra+AVeRVqQ34JVt6DgZKgV c9hIcYbA/AvXNIM6RMGCohkjPKGrjCTBPl9oU3bNjAjQ/umGlKZLpggA155FB0vJk6Ct rVcHJ0ILj6BY4HBabqfD7FJVizZkw3Ldgd5e3xJbSInv7XpX/wYG6HZCmV7RsRmxhpIu XkwElGUBdmrQGgZBpaz/Yd6JEAvU7fw8grj8BxnZf8UlHql26r0u8WY4z+Mv4oLZ0koR xQtcD4jBbiBlgU3ycjVbJlgfX5rdOKY5JE6tHR1X8QYJktlo5P4BCCoaT1FmCpd7wM9l 2tgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dcRZDjg3O3q6T3Sk5c09WrJuoI7e4rWvSzYj/Z5H43A=; b=7k1oRGNWbHX1Yp3lyDUzdIT1zANL2Vc+n9lv4XedGch5TytJ8JUjegxXVZife7v2GI NhLVoUZN66OtbGgCw37Zx/FE0BfDYryuJIPlsR2UY7E08wtzHWZNVG8Lohnf/G9l9Oa3 H1n3xQjCql1R67vjQSLgd3Bnc3tDn7v+tomRQ01VI4Td13tSaDDQYaPgnfEQzrKWf8er /L1JAl3hEmVdYmBTf+fZCZRmjX2GIPWOeopoMrhfDOiH+a+TmUXb+g7i+UIG6E9pblFo Q/kTOwPxfhAFMtJSXbLSzMFsQyjJaVtRL+6pVCS/9YNzIFvR+4CloDhkOGXWzW2VHFdz L0cg== X-Gm-Message-State: ANoB5pmayAekZGp6nqm9u0y1BVKhBjAV9ZU+fQruwfAflJg1IYBLVWI5 XXjadPxs3/2AJRvInrzG7Kg8DA== X-Google-Smtp-Source: AA0mqf5gb/HnDPmrEu015wzGjESF27vgWXcc+GMbiF/NffvzbIeSzlwquLLovFxqS8JOcTBj9/5vKQ== X-Received: by 2002:a17:906:164d:b0:7c0:b602:f9a1 with SMTP id n13-20020a170906164d00b007c0b602f9a1mr17569290ejd.88.1670315651166; Tue, 06 Dec 2022 00:34:11 -0800 (PST) Received: from [127.0.1.1] ([2a0e:41a:894f:0:2017:359e:18ef:1c49]) by smtp.gmail.com with ESMTPSA id g18-20020a17090604d200b0078d9b967962sm7019390eja.65.2022.12.06.00.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 00:34:10 -0800 (PST) From: Carlo Caione Date: Tue, 06 Dec 2022 09:34:03 +0100 Subject: [PATCH v3 3/3] drm/tiny: ili9486: remove conflicting framebuffers MIME-Version: 1.0 Message-Id: <20221116-s905x_spi_ili9486-v3-3-59c6b58cbfe3@baylibre.com> References: <20221116-s905x_spi_ili9486-v3-0-59c6b58cbfe3@baylibre.com> In-Reply-To: <20221116-s905x_spi_ili9486-v3-0-59c6b58cbfe3@baylibre.com> To: Daniel Vetter , Jerome Brunet , David Airlie , Kamlesh Gurudasani , Mark Brown , Martin Blumenstingl , Kevin Hilman , Neil Armstrong Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, Carlo Caione , linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221206_003414_914267_2006E7A3 X-CRM114-Status: GOOD ( 10.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org For platforms using simplefb / efifb, call drm_aperture_remove_framebuffers() to remove the conflicting framebuffer. Signed-off-by: Carlo Caione --- drivers/gpu/drm/tiny/ili9486.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/tiny/ili9486.c b/drivers/gpu/drm/tiny/ili9486.c index 14a9e6ad2d15..6fd4d42437fd 100644 --- a/drivers/gpu/drm/tiny/ili9486.c +++ b/drivers/gpu/drm/tiny/ili9486.c @@ -14,6 +14,7 @@ #include