display: Use L3 DRM for non TZ content
When the GRALLOC_USAGE_PROTECTED flag is set, use L3 DRM if the
buffer isn't also allocated with the MM heap.
Per the gralloc spec, this means that such buffers shouldn't be
routed to external displays since the hardware protected path is
not available due to allocation from an insecure heap.
b/11071443 - (related) [HH] Green frame happens during playback
of Forward-lock DRM with Miracast connetion
5 files changed