MLK-17648-2: drm: imx: dcss: Load the HDR10 from header file
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 9 Mar 2018 12:12:58 +0000 (14:12 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:36 +0000 (14:56 -0500)
commit2b099972b92515eaf761899f800bbb30bb0f3381
treef03bd1ee2bbae5b7edeadbecc44cb995a2996848
parent8f7e6a69d1096ed13654d258ec121511e98065c5
MLK-17648-2: drm: imx: dcss: Load the HDR10 from header file

This commit allows one to select if a firmware file is used, for loading
the HDR10 tables, or a header. By default, this will be header file.
This is until a proper way of passing the file from bootloader is found.

Also, fix a minor bug which made parsing the tables over the actual data
limit.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-hdr10.c