author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Tue, 1 Dec 2015 13:58:00 +0000 (15:58 +0200) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Sat, 5 Dec 2015 16:46:27 +0000 (11:46 -0500) | ||
commit | 179185b2e67a41840423d7736ac468f790890eb4 | |
tree | 5e4b6112da82b5cc5f29c7dfb5c54e21f0eed2ef | tree | snapshot (tar.xz tar.gz zip) |
parent | 330e08149957e47e29dd592c5ad47101bc9fb8c9 | commit | diff |
drm/omap: flush crtcs only when needed
At the moment omapdrm flushes all crtcs when any client is closed. But
as only the master client can queue new work for crtcs, we can do the
flush only for the master.
We also do the flush in master_drop, so that a master_drop followed by
device close will still cause a flush.
Change-Id: Ie0bebed735a1b654122c5d84f7c52b69ba54229c
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
At the moment omapdrm flushes all crtcs when any client is closed. But
as only the master client can queue new work for crtcs, we can do the
flush only for the master.
We also do the flush in master_drop, so that a master_drop followed by
device close will still cause a flush.
Change-Id: Ie0bebed735a1b654122c5d84f7c52b69ba54229c
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c | diff | blob | history |