diff options
author | Vandita Kulkarni <vandita.kulkarni@intel.com> | 2019-12-16 11:06:19 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-17 00:17:57 +0300 |
commit | 4ba487019d1a196051feefab57f4a393815733b4 (patch) | |
tree | 98b39023eab49cbddb22c5049a8e40cb95c51fbb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6fb0a14fac871af24829f307ba0ab082726e40b8 (diff) | |
download | linux-4ba487019d1a196051feefab57f4a393815733b4.tar.xz |
drm/i915: Fix WARN_ON condition for cursor plane ddb allocation
In some cases like latency[level]==0, wm[level].res_lines>31,
min_ddb_alloc can be U16_MAX, exclude it from the WARN_ON.
v2: Specify the cases in which we hit U16_MAX, indentation (Ville)
Fixes: 10a7e07b68b9 ("drm/i915: Make sure cursor has enough ddb for the selected wm level")
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191216080619.10945-1-vandita.kulkarni@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions