OSDN Git Service

drm/mali-dp: Don't enable scaling engine for planes that only rotate.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 15 Dec 2017 16:42:19 +0000 (16:42 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 14 Mar 2018 11:38:02 +0000 (11:38 +0000)
commite0521c05c13cca593d386533c61a646ab3dbcfd9
tree0d6e1d0b50205257551483e3581549ece001c1cf
parentf2f2c85c66202edcb623626b3babce7850d8b4fb
drm/mali-dp: Don't enable scaling engine for planes that only rotate.

Currently the scaling engine gets enabled for a plane where the input
size differs from the composition size. As rotation is done natively
by the plane's hardware layer, we don't need the scaling engine to be
enabled.

Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/malidp_planes.c