On Fri, 24 Aug 2018 09:09:26 +0200 Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote: > On Fri, 3 Aug 2018 11:22:27 +0200 > Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote: > > > From: Eric Anholt <eric@xxxxxxxxxx> > > > > Y_OFFSET field starts at bit 8 not 7. > > > > Signed-off-by: Eric Anholt <eric@xxxxxxxxxx> > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx> > > As discussed with Eric 2 weeks ago, I'm about to apply this series to > drm-misc-fixes. The rational behind this decision is that those patches > are actually fixing the driver, even though they don't all have Fixes > and Cc-stable tags. > > Daniel, any objection? Actually it conflicts in a few places because this series was based on drm-misc-next, so I'll wait for 4.19-rc1 to be back-merged in drm-misc-fixes before applying the patchset. > > > --- > > Changes in v2: > > - None > > --- > > drivers/gpu/drm/vc4/vc4_regs.h | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/drm/vc4/vc4_regs.h b/drivers/gpu/drm/vc4/vc4_regs.h > > index d6864fa4bd14..ccbd6b377ffe 100644 > > --- a/drivers/gpu/drm/vc4/vc4_regs.h > > +++ b/drivers/gpu/drm/vc4/vc4_regs.h > > @@ -1043,8 +1043,8 @@ enum hvs_pixel_format { > > #define SCALER_PITCH0_TILE_LINE_DIR BIT(15) > > #define SCALER_PITCH0_TILE_INITIAL_LINE_DIR BIT(14) > > /* Y offset within a tile. */ > > -#define SCALER_PITCH0_TILE_Y_OFFSET_MASK VC4_MASK(13, 7) > > -#define SCALER_PITCH0_TILE_Y_OFFSET_SHIFT 7 > > +#define SCALER_PITCH0_TILE_Y_OFFSET_MASK VC4_MASK(13, 8) > > +#define SCALER_PITCH0_TILE_Y_OFFSET_SHIFT 8 > > #define SCALER_PITCH0_TILE_WIDTH_R_MASK VC4_MASK(6, 0) > > #define SCALER_PITCH0_TILE_WIDTH_R_SHIFT 0 > > > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel