Skip to content
Snippets Groups Projects
Commit 7b759f27 authored by Simon Ser's avatar Simon Ser
Browse files

lib/igt_kms: drop EDID_LENGTH, replace with EDID_BLOCK_SIZE


EDID_LENGTH is misleading because EDIDs are a variable size (they contain one
or more 128-byte EDID blocks). This commit renames it to EDID_BLOCK_SIZE which
makes it clear users need to call edid_get_size to get the total size.

The declaration has also been moved to igt_edid.

("Size" has been chosen over "length" because it's clearer that it's a number
of bytes, not a number of elements)

Signed-off-by: default avatarSimon Ser <simon.ser@intel.com>
Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 8a7b0444
No related branches found
Tags release-2516ac4a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment