diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-06-07 13:06:11 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-06-29 18:02:57 +0900 |
commit | 28b676329cc1adfa37b5291e13055e0819a80e42 (patch) | |
tree | a421708ee73fc977280187e2b402db44a44fba4e /drivers/gpu/drm/exynos | |
parent | 4958a1c0c9c4a48d6ba9e2b184d93cab0dce68e1 (diff) | |
download | op-kernel-dev-28b676329cc1adfa37b5291e13055e0819a80e42.zip op-kernel-dev-28b676329cc1adfa37b5291e13055e0819a80e42.tar.gz |
drm/exynos: gsc: Increase Exynos5433 buffer width alignment to 16 pixels
Investigation revealed that GScaler hardware requires the real buffer width
(pitch) to be aligned to 16 pixels.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 8af7f16..2463007 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1341,7 +1341,7 @@ static const struct drm_exynos_ipp_limit gsc_5420_limits[] = { }; static const struct drm_exynos_ipp_limit gsc_5433_limits[] = { - { IPP_SIZE_LIMIT(BUFFER, .h = { 32, 8191, 2 }, .v = { 16, 8191, 2 }) }, + { IPP_SIZE_LIMIT(BUFFER, .h = { 32, 8191, 16 }, .v = { 16, 8191, 2 }) }, { IPP_SIZE_LIMIT(AREA, .h = { 16, 4800, 1 }, .v = { 8, 3344, 1 }) }, { IPP_SIZE_LIMIT(ROTATED, .h = { 32, 2047 }, .v = { 8, 8191 }) }, { IPP_SCALE_LIMIT(.h = { (1 << 16) / 16, (1 << 16) * 8 }, |