Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp220155rdh; Thu, 23 Nov 2023 01:57:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNXQkmecwOCG2dUR5UuZGcmJps5wy6mCL8acYBfLBTtz7LrdYm8U000yp7T1Fk2BiDR4yA X-Received: by 2002:a05:6a00:399b:b0:6cb:bca2:cbd1 with SMTP id fi27-20020a056a00399b00b006cbbca2cbd1mr5628973pfb.6.1700733466795; Thu, 23 Nov 2023 01:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700733466; cv=none; d=google.com; s=arc-20160816; b=IzKYvHR+wJ6GyGyc44r20NliFoe6qDTIF3j1+sei/7vJwmwnNOIxB92HNf42YjgatK OIBDwQSNugAsN4AUwqxWSSxy8FdZcCqzn4cTB0/xRPB4No8eUSr5YGfwtiqrL9cYqzCI FFKN/7H2EntGGPV46OfNwhZJYEHLMFQc1OvXuR8CHZ0fnkEm7mxR8RrSTNDclsytL1o0 9H5zK3UFyTub/JAij1UurpAV7PatP1dJ/ZGY5stHpeAH2SQjD9Tqc+Yugm7XSur4suuD 060opnc0zM/x1Yb3rYStfV6JmJOuhHcQ1V0Y4HK5ATU0g7Fe+zk94o1+YBxNBZ5XI5Ac 8U/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=PULx9VtaXkrMfsuftPoltjbbdOIa9ePJbHlh5CDcp10=; fh=hbDuzoOHsksNLYzXt/uUQdiK7gL4LrB9V/49BNUOgzQ=; b=KEBG2/eDBXZuMPZla4oc6pd5fnThY9OCukaQ0JOyxoQUE43CwpVYdV6y/X/KhtLgMW /II8Ql623p/Hktdc6jixsJUcaRRSe5ocGAxyb/zz9r9fTrdCL7BkU5GKDQwg/mzcGkwu N24qub48cE7rhIgKACSxg5IPH9D9ARLiAunMvQWpkG1TfNakVZTldKsPuyQGw2ues5LQ KUhMe7hh8MPoMALpgEZI61q5MfqqrQN66y5yt5wBppduGmcpS9cJH1bIEyUfx0W3Jn2m B3wgqkA08ZiP4n+KVR6HDMmxeQx3RnsGFGRjiu1Wik4eYHByEEVKaa7H/coLqk6wBlmW /l1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cYpgxRvX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y14-20020a656c0e000000b005c277f3387asi1082278pgu.18.2023.11.23.01.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cYpgxRvX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 39AF58226F29; Thu, 23 Nov 2023 01:56:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232617AbjKWJ4P (ORCPT + 99 others); Thu, 23 Nov 2023 04:56:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbjKWJ4N (ORCPT ); Thu, 23 Nov 2023 04:56:13 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46C1D1A4 for ; Thu, 23 Nov 2023 01:56:20 -0800 (PST) Received: from [100.107.97.3] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2CF5C6607390; Thu, 23 Nov 2023 09:56:18 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700733378; bh=gAu++mm0U9mt5g8RN6c84qdtHW1L8vp8uMGDwrRFt2w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cYpgxRvXSU7lshcYEGilzhAYIy537CqAcQ8D/ubmzEPpgsvAdTARo54CTvvSOicjf RuerpVWNozkRfg9DHrHYt7jdwaNWPZyF5lgNWvPz+IlCa0HrQFp+ugT/FYkNcjTWu4 2hC08R353s8zSVumTEgY8bSG+jxMQKWYIDTp4UFrlK4T0isEXyfekSwRukxaSZ/ecR jK7DyHfN+23ph+i+1biWwPba3r9qeBLgyU4QoEhiLtswXprz+31BBwsgNdiIUpHBx1 FEzWbyxpYb+FVu9y0ktRSy71pGspK6abkZqSQQT8ybEISanVaNx/657zlGPuVeAsVj SGVKlwej9j08g== Message-ID: Date: Thu, 23 Nov 2023 10:56:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm: mediatek: mtk_disp_gamma: Fix breakage due to merge issue To: chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, ck.hu@mediatek.com, nfraprado@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com References: <20231025104940.140605-1-angelogioacchino.delregno@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20231025104940.140605-1-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:56:41 -0800 (PST) Il 25/10/23 12:49, AngeloGioacchino Del Regno ha scritto: > While the commit that was sent to the mailing lists was fine, something > happened during merge and the mtk_gamma_set() function got broken as > a writel() was turned into a readl(). > > Fix that by changing that back to the expected writel(). > > Fixes: a6b39cd248f3 ("drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions") > Signed-off-by: AngeloGioacchino Del Regno This was a urgent patch one month ago, and it got ignored. Friendly ping. Regards, Angelo > --- > drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c > index 2fada9d6c95f..52c752bc5f41 100644 > --- a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c > +++ b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c > @@ -203,7 +203,7 @@ void mtk_gamma_set(struct device *dev, struct drm_crtc_state *state) > /* Disable RELAY mode to pass the processed image */ > cfg_val &= ~GAMMA_RELAY_MODE; > > - cfg_val = readl(gamma->regs + DISP_GAMMA_CFG); > + writel(cfg_val, gamma->regs + DISP_GAMMA_CFG); > } > > void mtk_gamma_config(struct device *dev, unsigned int w,