Revert "Revert "S5PC11X: JPEG: add ioctl to export memory configuration""

This reverts commit 48212e19ce31bf3a9826aaa2dd3353aec4d35f33.
Revert "Revert "aries: optimize JPEG memory configuration""

This reverts commit a39e822bf4f351de53fa5c710a677d979c69fec7.
Revert "Revert "p1: optimize JPEG memory configuration""

This reverts commit f31746b550380da05a1a65cfc9a888dd6f0849bc.
Revert "s3cfb: tl2796: do not read calibration data on aries"

Causes yellowish screen for some users.

This reverts commit 0ed294753497de0b2d5b69c9975d8f174e9464d6.

Change-Id: Ief57842517e4cdf9ed5c2f33b2c0304b0866fec2
s3cfb: tl2796: detect invalid factory calibration data

When an invalid factory calibration data is detected, use some sane
defaults.

Change-Id: I0095e1a4f530e61bb4f53a3aeed3fb4c01ea4e22