Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8415871ybi; Thu, 6 Jun 2019 11:58:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMa9OPNBv3kh5KFdP+RSCwP4Syyvrsqx0i/r1w29dDZ1GEWSotlYSrJKzLL32QfDqCi2D1 X-Received: by 2002:a17:902:2865:: with SMTP id e92mr51238458plb.264.1559847487658; Thu, 06 Jun 2019 11:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559847487; cv=none; d=google.com; s=arc-20160816; b=Cf57a68nLIxMYtRQrMZXj8GgbNxc4yhjlE/rG2OAomPpedQsFUK9GxS/02tuBiBe2r YM1P8P5qZOOORWnGVMV0rJ7ylaE+jZP3tS69lGin97j+3xgKh1GnCDueaqaIa/kxhhWB keipiEZVBsAUVHlt7SKfRrA7srCSVuit8pVnFzJREl2DK3BzGo0+9+DafuJvLQ0Cml33 ZEJJqqu+3ZLsRMo3MUNnACyZ8V3Zp2Mte7fT0cO6p4+WIZrqIug84DiSPevawTaNZ6q6 7xooRAajxx6AqJEmAhc61bx3oKMlGmfgPQXV60+hs95MnOWSBR0u11ru0nOArRtY+7Vp w97A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=Er5DZ+jmgl4pACBM9mSuCYlxA1ZXYVy+Ri46ksNsKNU=; b=aqi1oEt/f8fNERBVuJHwNigQxSXym+XYKbDeBDJnFDKqS5NA3eR/aW5mmxgNXdM1Rv MTb7P3KJxDx/5dt/GS40DrsmMZXrlHE2cuWApvtCbtU6l/iSAl29x0+oCSX76Rs1Te6o s7OYxGkFd95AFJfBFpkq/fYYlR+8U59HGjA8G9bUSKJPEFZjGq0q+94atIAl7GG20UK2 f0/iYAnMyJ+5Wf69OwoxqJGBu/jLI+w1qr6MMUGTObQrfZy3S7/OK1MmS4r4nVsm+NpX 0EFJuhHvlj8C7Vs2UhiAGSlQdntMDCS43M5KXUe/5tRCpi9yiXtA+Noi8Lojm3ihPFaN SC/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="wm/5HuCV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w185si2691596pfb.170.2019.06.06.11.57.51; Thu, 06 Jun 2019 11:58:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="wm/5HuCV"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728795AbfFFRaO (ORCPT + 99 others); Thu, 6 Jun 2019 13:30:14 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44111 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbfFFRaO (ORCPT ); Thu, 6 Jun 2019 13:30:14 -0400 Received: by mail-pf1-f193.google.com with SMTP id t16so1910383pfe.11 for ; Thu, 06 Jun 2019 10:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Er5DZ+jmgl4pACBM9mSuCYlxA1ZXYVy+Ri46ksNsKNU=; b=wm/5HuCV6OCqFPMj5n7IL5mdjhSWRNBQjjf7DDWELSUHyHSEkxAJJUzCUh5K1Q/PrT 1rU9XPLawCPwYK34YEcRmd16u3HynW0SaTlCWw1xW/8f0xJXLaJFv5Amj8aU+x3jBRGZ OirbFJ6smfoYmqM4vpdeGuUA2Diiozc28Ql/BUymxNlyCnF3U3NuNesy19sKjTxlBCZ9 xYkQgCVNc212j+aq83vwctLQsFzBYDYeCb21vGVD1yCTxbTMQZP9cLHvVL8JSwKlQeP+ HhhL48FMk2LjvcQQ5bdf6g41dqIbXtWQEnc9Q7xerefNu0gaXl87goSWT899hImcaaCN b4UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Er5DZ+jmgl4pACBM9mSuCYlxA1ZXYVy+Ri46ksNsKNU=; b=UgtMgYoCuJEpNLWTZ1BTMw87NNIkJnEqYq+TyTNGuJNwwSW/VJnvh9ItuiTilizF7u XgAPsOddBzqKXBXTFWlZMhg4kXPX9OH+OerJsa23yqllc/sACy88YbcnglQboeVAiQqq 2uzmBLPS2z5zbOoJP+LXh3iZl+dEPmolhGhB4dTdzqjU0vzio8huuTXWHZjVxMl/a9bb RAgQ0NSOO9atk57gW8zpsC9FcpodZ+bBLpOKJG1Yc1Tb7XMwiaz9Cj2zG88/VTYsuoLd SvU2NCZjuS1LaZ5n3Rkn/N7LOOgjpAfX1NZSYHMKt8/oJ/eotpqJD4mOT/dZTojbwTCf SmYQ== X-Gm-Message-State: APjAAAU/N9YNwxl8lP/1vOZrF9XByPzxIGza5hz57DEM7U7UIqC8reWb i5LoYz1giymdVxDQyqlJqVwQEA== X-Received: by 2002:a17:90a:6505:: with SMTP id i5mr924412pjj.13.1559842213424; Thu, 06 Jun 2019 10:30:13 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.googlemail.com with ESMTPSA id o70sm2769938pfo.33.2019.06.06.10.30.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jun 2019 10:30:12 -0700 (PDT) From: Kevin Hilman To: Neil Armstrong , dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Subject: Re: [PATCH 2/2] drm/meson: fix G12A primary plane disabling In-Reply-To: <20190605141253.24165-3-narmstrong@baylibre.com> References: <20190605141253.24165-1-narmstrong@baylibre.com> <20190605141253.24165-3-narmstrong@baylibre.com> Date: Thu, 06 Jun 2019 10:30:11 -0700 Message-ID: <7h1s06ei58.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Neil Armstrong writes: > The G12A Primary plane was disabled by writing in the OSD1 configuration > registers, but this caused the plane blender to stall instead of continuing > blended only the overlay plane. grammar nit: "...instead of continuing to blend only the overlay plane." > Fix this by disabling the OSD1 plane in the blender registers, and also > enabling it back using the same register. > > Fixes: 490f50c109d1 ("drm/meson: Add G12A support for OSD1 Plane") > Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman As noted elsewhere, this driver is also full of magic constants used in register writes which makes reviewing this kind of change for correctness that much more difficult, but since that's already been pointed out elsewhere, and it's already on your TODO list, it should not block this important fix. Kevin