[COMMON] g2d: fix unintended sign extension
authorhyesoo.yu <hyesoo.yu@samsung.com>
Fri, 15 Sep 2017 08:34:08 +0000 (17:34 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:47 +0000 (14:27 +0900)
commitd4735dc7995caebf8ddda24a31f76dfdd199873b
treeb5b5cd684e9375ace42991ec7f9afc7c342f3234
parentc4e7d5040d5eacb8a471dbf316c368a016aa92c8
[COMMON] g2d: fix unintended sign extension

Multiplying crop_w and crop_h could be promoted in
type signed 32bit, then signed extended to type
unsigned long long, so fix signed extension.

Change-Id: Id10e2c04fef0ab1a682bc5b65c7d86e2da256725
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_perf.c