diff options
author | 2023-11-16 11:05:12 +0200 | |
---|---|---|
committer | 2023-11-23 08:50:22 +0200 | |
commit | 2bb7a27bd7c311c4928d6a8b5edf4b2aaa948ea8 (patch) | |
tree | 84f9322b791e2459b2b671962d829d239d0162d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | drm/i915/iosf: Drop unused APIs (diff) | |
download | linux-rng-2bb7a27bd7c311c4928d6a8b5edf4b2aaa948ea8.tar.xz linux-rng-2bb7a27bd7c311c4928d6a8b5edf4b2aaa948ea8.zip |
drm/i915/display: Use int type for entry_setup_frames
entry_setup_frames variable is defined as u8. However, the
function call intel_psr_entry_setup_frames() can return
negative error code. There is a type mismatch here, so let's
switch to use int here as well.
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: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116090512.480373-1-mika.kahola@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions