diff options
author | Shixin Zeng <[email protected]> | 2015-07-03 08:46:50 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-07-04 00:52:34 +0200 |
commit | e24ff467e12e1560de753313976c46e84fa6306a (patch) | |
tree | 99ab42e86bc4799c527a3d962d58a29dbfd543fb /lib/cpu-notifier-error-inject.c | |
parent | 8b72ce158cf0dba443e36fc66e0bb29c2580e0b6 (diff) |
drm/crtc: Fix edid length computation
The length of each EDID block is EDID_LENGTH, and number of blocks is
(1 + edid->extensions) - we need to multiply not add them.
This causes wrong EDID to be passed on, and is a regression introduced
by d2ed34362a52 (drm: Introduce helper for replacing blob properties)
Signed-off-by: Shixin Zeng <[email protected]>
Cc: Daniel Stone <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
[danvet: Add Cc: and fix commit summary.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions