summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Marchenko <r.marchenko@samsung.com>2015-12-02 12:23:42 +0200
committerRoman Marchenko <r.marchenko@samsung.com>2015-12-02 13:29:42 +0200
commit06a0604a873f3c84a1fb2680091f85496fa9c88a (patch)
tree34050cfabd026f21f44ba3ebae28190e079cdb05
parent105743a4b65a35ac20833497110e77016c2110cc (diff)
downloadlibdrm-06a0604a873f3c84a1fb2680091f85496fa9c88a.tar.gz
libdrm-06a0604a873f3c84a1fb2680091f85496fa9c88a.tar.bz2
libdrm-06a0604a873f3c84a1fb2680091f85496fa9c88a.zip
[SPRD] Remove of pitch alignment
Change-Id: I3c9af5eeb14d9b88219306f804065a499fcc2a68 Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
-rwxr-xr-xsprd/sprd_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprd/sprd_drm.c b/sprd/sprd_drm.c
index 948a46f0..a66b2588 100755
--- 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;