diff options
-rw-r--r-- | sprd/sprd_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sprd/sprd_drm.c b/sprd/sprd_drm.c index cfa9e541..43eb5527 100644 --- a/sprd/sprd_drm.c +++ b/sprd/sprd_drm.c @@ -940,7 +940,7 @@ static int sprd_drm_connector_overlay_set(struct sprd_drm_mode_connector * conn, ovi.endian.v = SPRD_DATA_ENDIAN_B0B1B2B3; ovi.rb_switch = 0; - ovi.size.hsize = ALIGN(fb->pitches[0],128) / 4; + ovi.size.hsize = fb->pitches[0] / 4; ovi.size.vsize = fb->height; ovi.rect.x = x; |