summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTom Chung <chiahsuan.chung@amd.com>2026-04-28 11:41:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-11 23:10:16 +0300
commit5eb2fdafeb6f4a442643b77a21a4c9e70586a146 (patch)
tree3444d3464c1a3a3d40b850da08c1b76842895b86 /include/linux
parent70840d70000e3a1d6d9c54e6f5ea29fd9328774b (diff)
downloadlinux-5eb2fdafeb6f4a442643b77a21a4c9e70586a146.tar.xz
drm/amd/display: Fix CRC open failure during active rendering
[Why] Opening the CRC data file during active rendering can fail with -EINVAL. The wait for commit->hw_done returns remaining jiffies on success, but the CRC path was treating that as an error. [How] Handle wait_for_completion_interruptible_timeout() correctly: positive return as success, 0 as timeout, and negative as error. Reviewed-by: Ray Wu <ray.wu@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: James Lin <pinglei.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions