diff options
author | heminhong <[email protected]> | 2023-11-14 10:43:41 +0800 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2023-11-29 19:26:05 +0200 |
commit | ef32c3cc9c62252986f09e06b4e525742cd91529 (patch) | |
tree | fe867d0b4f8ea31ee69c57bb98c6d32ad8da1d8b /scripts/generate_rust_analyzer.py | |
parent | fd2096500acb8b57a66a75ec7985049a5650cff1 (diff) |
drm/i915: correct the input parameter on _intel_dsb_commit()
Current, the dewake_scanline variable is defined as unsigned int,
an unsigned int variable that is always greater than or equal to 0.
when _intel_dsb_commit function is called by intel_dsb_commit function,
the dewake_scanline variable may have an int value.
So the dewake_scanline variable is necessary to defined as an int.
Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Cc: Ville Syrjälä <[email protected]>
Cc: Uma Shankar <[email protected]>
Signed-off-by: heminhong <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions