Re: [PATCH] drm/pl111: Fix offset calculation for the primary plane.

2017-06-07 Thread Eric Anholt
Sean Paul writes: > On Fri, Jun 02, 2017 at 06:57:33PM -0700, Eric Anholt wrote: >> If src_x/y were nonzero, we failed to shift them down by 16 to get the >> pixel offset. The recent CMA helper function gets it right. >> >> Signed-off-by: Eric Anholt >> Fixes: bed41005e617 ("drm/pl111: Initial

Re: [PATCH] drm/pl111: Fix offset calculation for the primary plane.

2017-06-06 Thread Sean Paul
On Fri, Jun 02, 2017 at 06:57:33PM -0700, Eric Anholt wrote: > If src_x/y were nonzero, we failed to shift them down by 16 to get the > pixel offset. The recent CMA helper function gets it right. > > Signed-off-by: Eric Anholt > Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111")

[PATCH] drm/pl111: Fix offset calculation for the primary plane.

2017-06-02 Thread Eric Anholt
If src_x/y were nonzero, we failed to shift them down by 16 to get the pixel offset. The recent CMA helper function gets it right. Signed-off-by: Eric Anholt Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111") Reported-by: Mircea Carausu --- drivers/gpu/drm/pl111/pl111_display.