hwc2: Do internal ValidateDisplay to optimize Skip Validate

If a display is in Skip-Validate state and Validate cannot be skipped,
do internal validation in the PresentDisplayInternal API, to optimize
Skip Validate feature by completing the draw cycle in 1 IPC call for
the frames which don't require the Client composition on any layer.

CRs-Fixed: 2119351
Change-Id: I53313ae13681e84c0d7e9c3b7671feac3681051f
4 files changed