]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm: atmel-hlcdc: add discard area support
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 6 Feb 2015 15:25:06 +0000 (16:25 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sun, 22 Feb 2015 20:00:06 +0000 (21:00 +0100)
commit5957017db0f62e00c42d5b8d61ac850636be1230
treef7c9475a0b7b2779a927225185e82ec914419c0b
parent2389fc1305fc1e2cf8b310a75463fefd3058bf48
drm: atmel-hlcdc: add discard area support

The HLCDC IP provides a way to discard a specific area on the primary
plane (in case at least one of the overlay is activated and alpha
blending is disabled).
Doing this will reduce the amount of data to transfer from the main
memory to the Display Controller, and thus alleviate the load on the
memory bus (since this link is quite limited on such hardware,
this kind of optimization is really important).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c