Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp589739ybm; Wed, 27 May 2020 03:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwOjKNMtXcVSRSmq4roSXUF6sTsS/gp03UjSieS1SIp1p6AlOyf9MS8v7Xyqi4+45T/z10 X-Received: by 2002:a17:906:4a8b:: with SMTP id x11mr5115721eju.107.1590574185261; Wed, 27 May 2020 03:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590574185; cv=none; d=google.com; s=arc-20160816; b=Vo4Kc6laprImdESsjV19YX9CJfPpVprFNjtH39uJ2LMvEM9R06MPt6jR3WfFUueiqG V+3//zWjdBp+BznYVtSJHiwVkf8IqrW9IncGtToC1AZUOteIVn+9MGubAX/x5rKsUruS v/mpOMAZ9C7/gWm4w/st9gOXIv8N89JFGcuwtqalsbqJwAFBk+UCognZIVr5u5LfNwiA DQGH9kiduWJsesP4PNxUB9s/SQW/IyLlulc4KtowDjpabG2cuq4DOii66scdD+XHfX2D NERGilcv4zdDurLh/TYUoSrA7XZcIPcsiOO1dh55M3lnsS9944xBAMZEXwpTPXuAaXDd XhWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=5dlqAgzmjsxlUg0rHfFKOPnywLhuylxExKEkw9EZbwQ=; b=WgE8yjtnnGZ0EW3/Wj6y0NGwJtkx6vYO+edYhyeT8TYzV4vM8ujOoAE97fl0Nc5DD1 xrXak0Y4sBXh0Q4K4dMda0RTUkfKkNYxmRB1EiOVeTDcgcKi8qNK0mqql5NO10Rd4m8m +FyQ6Tlusr/rXn7b/YWBFBSkyzzsH2hlpcE1vkbI0/98zz4XfCatJpnlhZY6VJDqc2qf maxRg//FfA0GEYUhyHFWxAuhq+tXCUQLWzAX4Yb5muL+1ye/1k4jmKPFBYkw/SNj7BXI ISz86sLqDxCFgV5LFrULHzqp+4KQ0ELDerNxwPd+HnMNr2ZGxSFO69qIxmC8/bEKNZZX 8yPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si1592468ejj.389.2020.05.27.03.09.21; Wed, 27 May 2020 03:09:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729197AbgE0HQK (ORCPT + 99 others); Wed, 27 May 2020 03:16:10 -0400 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:39294 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728611AbgE0HQJ (ORCPT ); Wed, 27 May 2020 03:16:09 -0400 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id E73953C0579; Wed, 27 May 2020 09:16:05 +0200 (CEST) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aUYj8-iqg8eh; Wed, 27 May 2020 09:16:00 +0200 (CEST) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id B81673C0022; Wed, 27 May 2020 09:16:00 +0200 (CEST) Received: from lxhi-065.adit-jv.com (10.72.94.38) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.487.0; Wed, 27 May 2020 09:16:00 +0200 Date: Wed, 27 May 2020 09:15:55 +0200 From: Eugeniu Rosca To: Jacopo Mondi CC: , , , , , , , , , , , , , , , , , , , , , Eugeniu Rosca , Eugeniu Rosca Subject: Re: [PATCH v5 0/8] drm: rcar-du: Add Color Management Module (CMM) Message-ID: <20200527071555.GA23912@lxhi-065.adit-jv.com> References: <20191015104621.62514-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191015104621.62514-1-jacopo+renesas@jmondi.org> X-Originating-IP: [10.72.94.38] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On Tue, Oct 15, 2019 at 12:46:13PM +0200, Jacopo Mondi wrote: ----8<--- > * Testing > I have tested by injecting a color inversion LUT table and enabling/disabling it > every 50 displayed frames: > https://jmondi.org/cgit/kmsxx/log/?h=gamma_lut Could you kindly share the cross compilation steps for your kmsxx fork? Just out of curiosity, have you ever tried to pull the display's HDMI cable while reading from CM2_LUT_TBL? At least with the out-of-tree CMM implementation [*], this sends the R-Car3 reference targets into an unrecoverable freeze, with no lockup reported by the kernel (i.e. looks like an serious HW issue). > > CMM functionalities are retained between suspend/resume cycles (tested with > suspend-to-idle) without requiring a re-programming of the LUT tables. Hmm. Is this backed up by any statement in the HW User's manual? This comes in contrast with the original Renesas CMM implementation [**] which does make use of suspend (where the freeze actually happens). Can we infer, based on your statement, that we could also get rid of the suspend callback in [**]? [*] https://github.com/renesas-rcar/du_cmm [**] https://github.com/renesas-rcar/du_cmm/blob/c393ed49834bdbc/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0001-drm-rcar-du-Add-DU-CMM-support.patch#L1912 -- Best regards, Eugeniu Rosca