Skip to content

Commit 7bfd16d

Browse files
Jie1zhangalexdeucher
authored andcommitted
drm/amdgpu: initialize the last_jump_jiffies in atom_exec_context
The parameter "last_jump_jiffies" should be initialized before being used in the function atom_op_jump. Signed-off-by: Jesse Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2d10c3d commit 7bfd16d

File tree

1 file changed

+1
-0
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/atom.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index,
12431243
ectx.ps_size = params_size;
12441244
ectx.abort = false;
12451245
ectx.last_jump = 0;
1246+
ectx.last_jump_jiffies = 0;
12461247
if (ws) {
12471248
ectx.ws = kcalloc(4, ws, GFP_KERNEL);
12481249
ectx.ws_size = ws;

0 commit comments

Comments
 (0)