]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mali-dp: Fix smart layer not going to composition
authorMihail Atanassov <mihail.atanassov@arm.com>
Thu, 9 Feb 2017 11:32:00 +0000 (11:32 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 10 Mar 2017 14:31:16 +0000 (14:31 +0000)
commit995039d9041bbc7d3f136423f789306bc8c2a5fa
tree833d0bfa81452b7b4694f136462e0113496fdc68
parent97545299e10dda3e2f183f1754fadc62d6995f71
drm: mali-dp: Fix smart layer not going to composition

Use rectangle 1 as a generic plane. Existing code already sets the smart
layer bounding box size + offset. The rectangles' offsets are relative
to the bounding box, so there is no need to set R1's offset (reset value
is 0), just its size which is the same as the bounding box.

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/malidp_hw.c
drivers/gpu/drm/arm/malidp_planes.c
drivers/gpu/drm/arm/malidp_regs.h