From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7DDBC433F5 for ; Sat, 30 Oct 2021 20:03:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 990F360F55 for ; Sat, 30 Oct 2021 20:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbhJ3UGM convert rfc822-to-8bit (ORCPT ); Sat, 30 Oct 2021 16:06:12 -0400 Received: from aposti.net ([89.234.176.197]:37756 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbhJ3UGL (ORCPT ); Sat, 30 Oct 2021 16:06:11 -0400 Date: Sat, 30 Oct 2021 21:03:30 +0100 From: Paul Cercueil Subject: Re: [PATCH] gpu/drm: ingenic: Remove bogus register write To: Sam Ravnborg Cc: David Airlie , Daniel Vetter , linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Christophe Branchereau , list@opendingux.net, kernel test robot Message-Id: In-Reply-To: References: <20211030100032.42066-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le sam., oct. 30 2021 at 20:49:53 +0200, Sam Ravnborg a écrit : > Hi Paul, > > On Sat, Oct 30, 2021 at 11:00:32AM +0100, Paul Cercueil wrote: >> Commit 1bdb542da736 ("drm/ingenic: Simplify code by using hwdescs >> array") caused the dma_hwdesc_phys_f{0,1} variables to be used while >> uninitialized in a mmio register write, which most certainly broke >> the >> ingenic-drm driver. >> >> However, the very same patchset also submitted commit 6055466203df >> ("drm/ingenic: Upload palette before frame"), which restored a >> correct >> behaviour by doing the register writes in a different place in the >> code. >> >> What's left of this, is just to remove the bogus register writes in >> the >> probe function. >> >> Signed-off-by: Paul Cercueil >> Reported-by: kernel test robot > > Thank you lkp... > Acked-by: Sam Ravnborg Pushed to drm-misc-next. Thanks! -Paul