Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587070

Re: [PATCH 06/11] drm/sun4i: Drop primary layer pointer from sun4i_drv

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 06/11] drm/sun4i: Drop primary layer pointer from sun4i_drv
Date 2017-02-23 19:30 +0100
Message-ID <te6jo-4Yu-7@gated-at.bofh.it> (permalink)
References <tdWN3-731-3@gated-at.bofh.it> <tdWN4-731-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Feb 23, 2017 at 04:05:38PM +0800, Chen-Yu Tsai wrote:
> The current layer init code keeps a pointer to the primary plane layer
> in sun4i_drv. When we eventually support multiple display pipelines,
> this would force us to keep track of primary planes for all crtcs. And
> these pointers only get used at bind time.
> 
> Instead, have the crtc init code iterate through the returned layers
> to find the primary and cursor layers. And drop the pointer from the
> sun4i_drv structure.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 06/11] drm/sun4i: Drop primary layer pointer from sun4i_drv Chen-Yu Tsai <wens@csie.org> - 2017-02-23 09:20 +0100
  Re: [PATCH 06/11] drm/sun4i: Drop primary layer pointer from  sun4i_drv Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-02-23 19:30 +0100

csiph-web