projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7089d9
)
gpu: ipu-v3: turns out the IPU can only downsize 4:1
author
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 23 Mar 2015 10:16:21 +0000
(11:16 +0100)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Tue, 31 Mar 2015 10:03:55 +0000
(12:03 +0200)
The value for downsizing 8:1 is marked as reserved in the technical reference
manual and the documentation states downsizing capability up to 4:1 only.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-ic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/ipu-v3/ipu-ic.c
b/drivers/gpu/ipu-v3/ipu-ic.c
index ad75588e162988ff64c11aea6287868e0606d8cb..1dcb96ccda660f17a2f6fdd436d6474a115ac156 100644
(file)
--- a/
drivers/gpu/ipu-v3/ipu-ic.c
+++ b/
drivers/gpu/ipu-v3/ipu-ic.c
@@
-297,8
+297,8
@@
static int calc_resize_coeffs(struct ipu_ic *ic,
return -EINVAL;
}
- /* Cannot downsize more than
8
:1 */
- if ((out_size <<
3
) < in_size) {
+ /* Cannot downsize more than
4
:1 */
+ if ((out_size <<
2
) < in_size) {
dev_err(ipu->dev, "Unsupported downsize\n");
return -EINVAL;
}