gpu: ion: fix some missing defines for ion mini upgrade
gpu: ion: Add dummy msm_ion header file

The msm specific parts of ion.h are being moved into a new header
file. For now, add a dummy header file to get clients transitioned
over.
msm: kgsl: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
gpu: ion: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
gpu: ion: move msm-specific ioctls to custom_ioctl

To avoid collisions with future ioctls that may be added to ion,
msm-specific ioctls should use the `custom_ioctl' interface provided
by struct ion_device, as originally intended.
ion: remove ion_validate_buffer_flag

ion_validate_buffer_flag is no longer needed since its only callers
are moving to a new format for buffer flags.
Revert "ion: remove ion_validate_buffer_flag"
gpu: ion: IOCTL return success when error occurs

ION_IOC_IMPORT may return success when an error occurs. Add correct
error handling to ION_IOC_IMPORT.
ion: ion mini upgrade
msm: audio: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
msm: vidc: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
msm: display: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
msm: camera: include msm-specific ion header.

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
msm7x27a_boards: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
gpu: ion: Add response to secure scm call

The API for securing buffers now requires a response buffer.
Pass in the appropriate buffer and size.
gpu: ion: Add extra metadata for secure buffers

Newer versions of content protection allow for securing of individual
buffers instead of the full heap range. Add extra metadata about
each allocated buffer for tracking information related to secure
state.
gpu: ion: Make secure buffers 1MB chunks

Secure buffers have a requirement to be generated in 1MB
chunks. Change the sg_table generated to be an sg list of
1MB chunks of the contiguous buffer if the secure flag
is indicated.
Revert "ion: ion mini upgrade"

This reverts commit f3444380631c3275abab2459a8278dc16f1177fb.
gpu: ion: Add support for securing indiviudal buffers

Newer protection APIs allow individual allocations to be secured
instead of the entire heap. Add APIs to support securing individual
Ion handles. These APIs include a flag option to support delaying
the unsecure until the buffer itself is actually freed.
ion: ion mini upgrade