summaryrefslogtreecommitdiff
path: root/exynos/exynos_fimg2d.c
diff options
context:
space:
mode:
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>2014-06-01 18:04:05 +0200
committerRob Clark <robclark@freedesktop.org>2014-06-20 15:53:01 -0400
commit3001c232d14a07153c36a0722e196041d6536d30 (patch)
treeade1d2f0b846015b9c4df097c496513543a0dc0c /exynos/exynos_fimg2d.c
parent63f51fc4d34814c80d452e03814b5b495548987b (diff)
exynos: fix G2D_DOUBLE_TO_FIXED for non-integer input
The hardware accepts scaling factors formatted in a fixed-point format. The current macro casts to integer first, then multiplies by the fp conversion factor. This does not make any sense. In particular, truly 'fractional' inputs, like 1.5, won't work that way. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'exynos/exynos_fimg2d.c')
0 files changed, 0 insertions, 0 deletions