From 0403a23c8fe201faabbff68d5e3c0b141a52b921 Mon Sep 17 00:00:00 2001 From: John McMaster Date: Mon, 22 Oct 2018 19:05:24 -0700 Subject: [PATCH] tilegrid: always add height Signed-off-by: John McMaster --- fuzzers/005-tilegrid/generate.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fuzzers/005-tilegrid/generate.py b/fuzzers/005-tilegrid/generate.py index 4a70a2af..5604ceed 100644 --- a/fuzzers/005-tilegrid/generate.py +++ b/fuzzers/005-tilegrid/generate.py @@ -461,12 +461,15 @@ def add_tile_bits(tile_db, baseaddr, offset, frames, words, height=None): # Index of first word used within each frame block["offset"] = offset # Number of words consumed in each frame - block["words"] = words + block["height"] = height # related to words... # deprecated field? Don't worry about for now - if height is not None: - block["height"] = height + # DSP has some differences between height and words + block["words"] = words + if height is None: + height = words + block["height"] = height def db_add_bits(database, segments):