drm_hwcomposer: Apply same logic for 'CURSOR' layers as for 'DEVICE'

Merged Roman Stratiienko requested to merge roman.stratiienko/drm-hwcomposer:hw-cursor-pr into master

Depends on !71 (merged)

Cursor usually is most top layer. Since it validates as CLIENT, it causes all remain layers to be validated as CLIENT, resulting performance dropping.

Fix it.

Edited by Roman Stratiienko

Merge request reports