diff options
author | Mika Kahola <mika.kahola@intel.com> | 2023-11-13 12:37:37 +0300 |
---|---|---|
committer | Mika Kahola <mika.kahola@intel.com> | 2023-11-14 14:04:59 +0300 |
commit | a6865fe6fd784a8edec6bd6d396f8c054ade0de8 (patch) | |
tree | beb6a5c9b36e62db5b967b6f7d06c61fa80190be /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5bbdcc86a481d82433e0905a548335bd3683eadf (diff) | |
download | linux-a6865fe6fd784a8edec6bd6d396f8c054ade0de8.tar.xz |
drm/i915/display: Use int for entry setup frames
At least one TGL had regression when using u8 types
for entry setup frames calculation. So, let's switch
to use ints instead.
intel_psr_entry_setup_frames() function expects
to return u8 but since in case of error the error
code -ETIME is returned. This doesn't fit into u8
and hence the return value is not as expected.
Fixes: 2b981d57e480 ("drm/i915/display: Support PSR entry VSC packet to be transmitted one frame earlier")
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231113093737.358137-1-mika.kahola@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions