diff options
| author | Liu Ying <Ying.Liu@freescale.com> | 2013-09-22 00:37:39 -0400 |
|---|---|---|
| committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:05:40 -0400 |
| commit | 8542c0afddaf074dc6711c0ae3966803ae2b219d (patch) | |
| tree | 143937756cbca4702ef064a82e768520eca02169 /include/uapi | |
| parent | 9a14cad088c77f80268639f904fa205451f8b1ff (diff) | |
ENGR00280663-2 IPUv3 device: check downsize ratio overflow
IPUv3 IC task downsize scaling ratio cannot exceed or be
equal to 8:1. This patch makes the code return error code
if the ratio overflows.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/ipu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/ipu.h b/include/uapi/linux/ipu.h index 866d2b639d21..b2083288a057 100644 --- a/include/uapi/linux/ipu.h +++ b/include/uapi/linux/ipu.h | |||
| @@ -269,6 +269,8 @@ enum { | |||
| 269 | IPU_CHECK_ERR_SPLIT_WITH_ROT, | 269 | IPU_CHECK_ERR_SPLIT_WITH_ROT, |
| 270 | IPU_CHECK_ERR_NOT_SUPPORT, | 270 | IPU_CHECK_ERR_NOT_SUPPORT, |
| 271 | IPU_CHECK_ERR_NOT16ALIGN, | 271 | IPU_CHECK_ERR_NOT16ALIGN, |
| 272 | IPU_CHECK_ERR_W_DOWNSIZE_OVER, | ||
| 273 | IPU_CHECK_ERR_H_DOWNSIZE_OVER, | ||
| 272 | }; | 274 | }; |
| 273 | 275 | ||
| 274 | /* IOCTL commands */ | 276 | /* IOCTL commands */ |
