[PATCH] drm: fix setting of plane_mask in pan_display_atomic() function for linux-4.4

Ville Syrjälä ville.syrjala at linux.intel.com
Fri May 29 08:43:41 UTC 2020


On Wed, May 27, 2020 at 09:33:27PM +0800, chenxb_99091 at 126.com wrote:
> From: Xuebing Chen <chenxb_99091 at 126.com>
> 
> On Mon, May 25, 2020 at 04:34:28PM +0200, Daniel Vetter wrote:
> > On Sat, May 23, 2020 at 11:49:07AM +0800, chenxb_99091 at 126.com wrote:
> > > From: Xuebing Chen <chenxb_99091 at 126.com>
> > > 
> > > The <include/drm/drm_crtc.h> provides drm_for_each_plane_mask macro and
> > > plane_mask is defined as bitmask of plane indices, such as
> > > 1<<drm_plane_index(plane). This patch fixes error setting of plane_mask
> > > in pan_display_atomic() function.
> > > 
> > > Signed-off-by: Xuebing Chen <chenxb_99091 at 126.com>
> > 
> > What kernel is this patch against? Latest upstream doesn't have any such
> > code anymore ... I'm assuming that Ville fixed this in one of his patches,
> > but I can't find the right one just now.
> 
> This bug is still present in the longterm-supported versions of kernel 4.4.y, 
> including the latest kernel v4.4.224,
> See https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/?h=v4.4.224

See Documentation/process/stable-kernel-rules.rst on how to request
a stable backport.

-- 
Ville Syrjälä
Intel


More information about the dri-devel mailing list