dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: jianwei wang <jianwei.wang.chn@gmail.com>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: devicetree@vger.kernel.org,
	Xiubo Li <lixiubo@cmss.chinamobile.com>,
	daniel.vetter@ffwll.ch, Alison Wang <b18965@freescale.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	scottwood@freescale.com,
	Jianwei Wang <jianwei.wang@freescale.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v10 1/5] drm/layerscape: Add Freescale DCU DRM driver
Date: Mon, 20 Jul 2015 17:58:10 +0800	[thread overview]
Message-ID: <CANk3uyDZG613j0KjikHQZ-39XyhOfC1bCe9h4ngiXNDLrEDrEw@mail.gmail.com> (raw)
In-Reply-To: <2160582.6fH0nmeH2v@ws-stein>

Hi Alexander,

Thank you for your review.

On Mon, Jul 20, 2015 at 3:18 PM, Alexander Stein
<alexander.stein@systec-electronic.com> wrote:
> On Friday 17 July 2015 18:38:59, Jianwei Wang wrote:
>> [...]
>> +static const struct regmap_config fsl_dcu_regmap_config = {
>> +     .reg_bits = 32,
>> +     .reg_stride = 4,
>> +     .val_bits = 32,
>> +};
>
> This defaults to REGCACHE_NONE which in the end sets regmap.cache_only = true.
>
>> [...]
>> +#ifdef CONFIG_PM_SLEEP
>> +static int fsl_dcu_drm_pm_suspend(struct device *dev)
>> +{
>> +     struct fsl_dcu_drm_device *fsl_dev = dev_get_drvdata(dev);
>> +
>> +     if (!fsl_dev)
>> +             return 0;
>> +
>> +     drm_kms_helper_poll_disable(fsl_dev->drm);
>> +     regcache_cache_only(fsl_dev->regmap, true);
>
> This should raise a warning (see http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/base/regmap/regcache.c#n472) as map->cache_bypass is set because of REGCACHE_NONE.
> I think you set the cache_type to REGCACHE_FLAT, but neither _LZO or _RBTREE (see https://lkml.org/lkml/2015/7/16/552 for that)
>

okay

BR.
Jianwei


> Best regards,
> Alexander
> --
> Dipl.-Inf. Alexander Stein
> SYS TEC electronic GmbH
> alexander.stein@systec-electronic.com
>
> Legal and Commercial Address:
> Am Windrad 2
> 08468 Heinsdorfergrund
> Germany
>
> Office: +49 (0) 3765 38600-11xx
> Fax:    +49 (0) 0) 3765 38600-41xx
>
> Managing Directors:
>         Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt;
>         Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp
> Commercial Registry:
>         Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      reply	other threads:[~2015-07-20  9:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 10:38 [PATCH v10 1/5] drm/layerscape: Add Freescale DCU DRM driver Jianwei Wang
2015-07-17 10:39 ` [PATCH v10 2/5] devicetree: Add NEC to the vendor-prefix list Jianwei Wang
2015-07-17 10:39 ` [PATCH v10 3/5] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel Jianwei Wang
2015-07-17 10:39 ` [PATCH v10 4/5] arm/dts/ls1021a: Add DCU dts node Jianwei Wang
2015-07-17 10:39 ` [PATCH v10 5/5] arm/dts/ls1021a: Add a TFT LCD panel " Jianwei Wang
     [not found] ` <1437129543-8037-1-git-send-email-jianwei.wang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-07-20  7:18   ` [PATCH v10 1/5] drm/layerscape: Add Freescale DCU DRM driver Alexander Stein
2015-07-20  9:58     ` jianwei wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANk3uyDZG613j0KjikHQZ-39XyhOfC1bCe9h4ngiXNDLrEDrEw@mail.gmail.com \
    --to=jianwei.wang.chn@gmail.com \
    --cc=alexander.stein@systec-electronic.com \
    --cc=b18965@freescale.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jianwei.wang@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lixiubo@cmss.chinamobile.com \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).