All of lore.kernel.org
 help / color / mirror / Atom feed
From: jeffy <jeffy.chen@rock-chips.com>
To: Mark yao <mark.yao@rock-chips.com>,
	David Airlie <airlied@linux.ie>, Heiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org,
	dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [v6, 2/7] drm/rockchip: vop: move write_relaxed flags to vop register
Date: Thu, 27 Jul 2017 16:43:05 +0800	[thread overview]
Message-ID: <5979A799.1050809@rock-chips.com> (raw)
In-Reply-To: <1501049953-5946-1-git-send-email-mark.yao@rock-chips.com>

Hi mark,

On 07/26/2017 02:19 PM, Mark yao wrote:
> Since the drm atomic framework, only a small part of the vop
> register needs sync write, Currently seems only following registers
> need sync write:
>     cfg_done, standby and interrupt related register.
>
> All ctrl registers are using the sync write method that is
> inefficient, hardcode the write_relaxed flags to vop registers,
> then can only do synchronize write for those actual needed register.
>
> Signed-off-by: Mark Yao<mark.yao@rock-chips.com>
> Tested-by: Heiko Stuebner<heiko@sntech.de>

Reviewed-by: Jeffy Chen <jeffy.chen@rock-chips.com>

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: jeffy.chen@rock-chips.com (jeffy)
To: linux-arm-kernel@lists.infradead.org
Subject: [v6, 2/7] drm/rockchip: vop: move write_relaxed flags to vop register
Date: Thu, 27 Jul 2017 16:43:05 +0800	[thread overview]
Message-ID: <5979A799.1050809@rock-chips.com> (raw)
In-Reply-To: <1501049953-5946-1-git-send-email-mark.yao@rock-chips.com>

Hi mark,

On 07/26/2017 02:19 PM, Mark yao wrote:
> Since the drm atomic framework, only a small part of the vop
> register needs sync write, Currently seems only following registers
> need sync write:
>     cfg_done, standby and interrupt related register.
>
> All ctrl registers are using the sync write method that is
> inefficient, hardcode the write_relaxed flags to vop registers,
> then can only do synchronize write for those actual needed register.
>
> Signed-off-by: Mark Yao<mark.yao@rock-chips.com>
> Tested-by: Heiko Stuebner<heiko@sntech.de>

Reviewed-by: Jeffy Chen <jeffy.chen@rock-chips.com>

WARNING: multiple messages have this Message-ID (diff)
From: jeffy <jeffy.chen@rock-chips.com>
To: Mark yao <mark.yao@rock-chips.com>,
	David Airlie <airlied@linux.ie>, Heiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [v6,2/7] drm/rockchip: vop: move write_relaxed flags to vop register
Date: Thu, 27 Jul 2017 16:43:05 +0800	[thread overview]
Message-ID: <5979A799.1050809@rock-chips.com> (raw)
In-Reply-To: <1501049953-5946-1-git-send-email-mark.yao@rock-chips.com>

Hi mark,

On 07/26/2017 02:19 PM, Mark yao wrote:
> Since the drm atomic framework, only a small part of the vop
> register needs sync write, Currently seems only following registers
> need sync write:
>     cfg_done, standby and interrupt related register.
>
> All ctrl registers are using the sync write method that is
> inefficient, hardcode the write_relaxed flags to vop registers,
> then can only do synchronize write for those actual needed register.
>
> Signed-off-by: Mark Yao<mark.yao@rock-chips.com>
> Tested-by: Heiko Stuebner<heiko@sntech.de>

Reviewed-by: Jeffy Chen <jeffy.chen@rock-chips.com>

  parent reply	other threads:[~2017-07-27  8:43 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26  6:18 [PATCH v6 0/7] drm/rockchip: add all full framework vop support Mark Yao
2017-07-26  6:18 ` Mark Yao
2017-07-26  6:18 ` Mark Yao
2017-07-26  6:19 ` [PATCH v6 1/7] drm/rockchip: vop: initialize registers directly Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26 22:44   ` Heiko Stuebner
2017-07-26 22:44     ` Heiko Stuebner
2017-07-26 22:44     ` Heiko Stuebner
2017-07-27  8:31   ` [v6,1/7] " jeffy
2017-07-27  8:31     ` jeffy
2017-07-27  8:31     ` jeffy
2017-07-26  6:19 ` [PATCH v6 2/7] drm/rockchip: vop: move write_relaxed flags to vop register Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26 22:46   ` Heiko Stuebner
2017-07-26 22:46     ` Heiko Stuebner
2017-07-26 22:46     ` Heiko Stuebner
2017-07-27  8:43   ` jeffy [this message]
2017-07-27  8:43     ` [v6,2/7] " jeffy
2017-07-27  8:43     ` [v6, 2/7] " jeffy
2017-07-26  6:19 ` [PATCH v6 3/7] drm/rockchip: vop: move line_flag_num to interrupt registers Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26 22:50   ` Heiko Stuebner
2017-07-26 22:50     ` Heiko Stuebner
2017-07-26 22:50     ` Heiko Stuebner
2017-07-26  6:19 ` [PATCH v6 4/7] drm/rockchip: vop: group vop registers Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-27  8:49   ` [v6,4/7] " jeffy
2017-07-27  8:49     ` jeffy
2017-07-27  8:49     ` jeffy
2017-07-27  9:51   ` [PATCH v6 4/7] " Heiko Stübner
2017-07-27  9:51     ` Heiko Stübner
2017-07-27  9:51     ` Heiko Stübner
2017-07-27 10:10     ` Heiko Stübner
2017-07-27 10:10       ` Heiko Stübner
2017-07-27 10:10       ` Heiko Stübner
2017-07-28  1:02       ` Mark yao
2017-07-28  1:02         ` Mark yao
2017-07-28  1:02         ` Mark yao
2017-07-28  2:45         ` Mark yao
2017-07-28  2:45           ` Mark yao
2017-07-28  6:06   ` [PATCH v6.1 " Mark Yao
2017-07-28  6:06     ` Mark Yao
2017-07-28  6:06     ` Mark Yao
2017-07-28  9:21     ` Heiko Stuebner
2017-07-28  9:21       ` Heiko Stuebner
2017-07-28  9:21       ` Heiko Stuebner
2017-07-26  6:19 ` [PATCH v6 5/7] drm/rockchip: vop: add a series of vop support Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-27  8:59   ` [v6,5/7] " jeffy
2017-07-27  8:59     ` jeffy
2017-07-27  8:59     ` jeffy
2017-07-28 12:48   ` [PATCH v6 5/7] " Heiko Stuebner
2017-07-28 12:48     ` Heiko Stuebner
2017-07-28 12:48     ` Heiko Stuebner
2017-07-26  6:19 ` [PATCH v6 6/7] dt-bindings: display: rockchip: fill Documents for vop series Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-28  9:25   ` Heiko Stuebner
2017-07-28  9:25     ` Heiko Stuebner
2017-07-28  9:25     ` Heiko Stuebner
2017-07-26  6:19 ` [PATCH v6 7/7] drm/rockchip: vop: rk3328: fix overlay abnormal Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-26  6:19   ` Mark Yao
2017-07-27  8:42   ` [v6,7/7] " jeffy
2017-07-27  8:42     ` jeffy
2017-07-27  8:42     ` jeffy
2017-07-28 13:06   ` [PATCH v6 7/7] " Heiko Stuebner
2017-07-28 13:06     ` Heiko Stuebner
2017-07-28 13:06     ` Heiko Stuebner
2017-07-31  1:02 ` [PATCH v6 0/7] drm/rockchip: add all full framework vop support Mark yao
2017-07-31  1:02   ` Mark yao
2017-07-31  1:02   ` Mark yao

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=5979A799.1050809@rock-chips.com \
    --to=jeffy.chen@rock-chips.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mark.yao@rock-chips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.