Revert "display: Video Encoding not working"

* "display: Video Encoding not working" was mismerged
  into another commit (de13ed01a21db7d6b46962729fa3f9ff3ef8c2cd)
  by upstream in kk_2.7 from kk_3.5
* The original commit has since been reverted in kk_3.5,
  this is a cherry-pick of that.

This reverts commit 0a1db6aef28c3b90d1f992f56abc562dbae10b55.
Video encoder uses the NV12 encodeable format again.

Change-Id: I1b5170a5c2b5c7de0791cc5bc44457257519f749
hwc: Blank and unblank primary on first boot

Change-Id: I246858f216d58e2e96a1faf1afac60372f3ddcab
hwcomposer: Use RGB_BORDERFILL only on MDP 4.2 and higher.

MDP 4.0 does not support RGB_BORDERFILL and causes the display to fail
initializing.

Patch Set 2: Actually set MDP_RGB format if not BORDERFILL.

Change-Id: Ib2007221c4dc78fd17ced97c0a0d28896c877b80
gralloc : Don't fallback to system heap for framebuffer allocations

MDP can not handle buffers from system heap, so try camera heap
first, before falling back completely to system heap

Change-Id: I7e2ab0094be5d1075be1ca93295cf54b84101835