-
- Downloads
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:Simon Ser <simon.ser@intel.com> Reviewed-by:
Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Showing
- lib/igt_edid.h 2 additions, 0 deletionslib/igt_edid.h
- lib/igt_kms.c 4 additions, 4 deletionslib/igt_kms.c
- lib/igt_kms.h 0 additions, 1 deletionlib/igt_kms.h
- lib/tests/igt_edid.c 8 additions, 5 deletionslib/tests/igt_edid.c
- tests/i915/i915_pm_rpm.c 7 additions, 6 deletionstests/i915/i915_pm_rpm.c
Loading
Please register or sign in to comment