diff options
author | 2022-04-11 17:00:35 +0300 | |
---|---|---|
committer | 2022-04-14 16:52:01 +0300 | |
commit | f1e4c916f97f6adc0848515d269b3899661873ce (patch) | |
tree | 6fdd5c254f518ac0f55503b429061b1b9aa1ada5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/edid: add single point of return to drm_do_get_edid() (diff) | |
download | wireguard-linux-f1e4c916f97f6adc0848515d269b3899661873ce.tar.xz wireguard-linux-f1e4c916f97f6adc0848515d269b3899661873ce.zip |
drm/edid: add EDID block count and size helpers
Add some helpers to figure out the EDID extension block count, block
count, size, pointers to blocks.
Unfortunately, we'll need to cast away the const in a few places where
we actually need to access the data.
v3: fix (!edid_extension_block_count(edid) == 0) (kernel test robot)
v2: fix s/j/i/ introduced in a rebase
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/dc7b0850293d837439fb3914c8a9d81e39018b4b.1649685475.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions