aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2014-10-28 16:20:48 +0200
committerDaniel Vetter <[email protected]>2014-11-14 10:29:12 +0100
commit938fd8aaf5d5489957255530d1866332aeca7009 (patch)
tree8364feba4d584cc97a82a33f81239a0ca9700506 /tools/perf/scripts/python/net_dropmonitor.py
parent6ccb81f2171ab48592946efab0ce0fd41978f4ba (diff)
drm/edid: fix Baseline_ELD_Len field in drm_edid_to_eld()
The Baseline_ELD_Len field does not include ELD Header Block size. From High Definition Audio Specification, Revision 1.0a: The header block is a fixed size of 4 bytes. The baseline block is variable size in multiple of 4 bytes, and its size is defined in the header block Baseline_ELD_Len field (in number of DWords). Do not include the header size in Baseline_ELD_Len field. Fix all known users of eld[2]. While at it, switch to DIV_ROUND_UP instead of open coding it. Signed-off-by: Jani Nikula <[email protected]> Acked-by: Ben Skeggs <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Acked-by: Dave Airlie <[email protected]> [danvet: Fix compile fail in nouveau.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions