diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-04-05 20:33:54 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-04-12 09:18:19 +0300 |
commit | 5ab58d6996d7befd3273379100f45214d7f58790 (patch) | |
tree | c610536a579585199e7844fd131b4777c5e8e16b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 58b2e3829ec6558d6d0edf709579b82550ecea61 (diff) | |
download | linux-5ab58d6996d7befd3273379100f45214d7f58790.tar.gz linux-5ab58d6996d7befd3273379100f45214d7f58790.tar.bz2 linux-5ab58d6996d7befd3273379100f45214d7f58790.zip |
drm/i915/bios: Validate the panel_name table
In addition to the fp_timing,dvo_timing,panel_pnp_id tables
there also exists a panel_name table. Unlike the others this
is just one offset+table_size even though there are still 16
actual panel_names in the data block.
The panel_name table made its first appearance somewhere
around VBT version 156-163. The exact version is not known.
But we don't need to know that since we can just check whether
the pointers block has enough room for it or not.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405173410.11436-7-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions