mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
drm/edid: use the new displayid iterator for tile info
Neatly reduce displayid boilerplate in code. Remove excessive debug logging while at it, no other functional changes. The old displayid iterator becomes unused; remove it as well as make drm_find_displayid_extension() static. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/fa4b5c790b5bdd82063545a6f209f8e9d78a63a7.1617024940.git.jani.nikula@intel.com
This commit is contained in:
@@ -33,9 +33,9 @@ static int validate_displayid(const u8 *displayid, int length, int idx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
const u8 *drm_find_displayid_extension(const struct edid *edid,
|
||||
int *length, int *idx,
|
||||
int *ext_index)
|
||||
static const u8 *drm_find_displayid_extension(const struct edid *edid,
|
||||
int *length, int *idx,
|
||||
int *ext_index)
|
||||
{
|
||||
const u8 *displayid = drm_find_edid_extension(edid, DISPLAYID_EXT, ext_index);
|
||||
const struct displayid_hdr *base;
|
||||
|
||||
Reference in New Issue
Block a user