projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d10c3d
)
drm/amdgpu: initialize the last_jump_jiffies in atom_exec_context
author
Jesse Zhang
<jesse.zhang@amd.com>
Thu, 25 Apr 2024 02:04:08 +0000
(10:04 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:43 +0000
(17:22 -0400)
The parameter "last_jump_jiffies" should be initialized
before being used in the function atom_op_jump.
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atom.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/atom.c
b/drivers/gpu/drm/amd/amdgpu/atom.c
index 72362df352f6843229e8d16be8c077dc89913557..d552e013354c956d631f3041b8f8a38a169d05f7 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/atom.c
+++ b/
drivers/gpu/drm/amd/amdgpu/atom.c
@@
-1243,6
+1243,7
@@
static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index,
ectx.ps_size = params_size;
ectx.abort = false;
ectx.last_jump = 0;
+ ectx.last_jump_jiffies = 0;
if (ws) {
ectx.ws = kcalloc(4, ws, GFP_KERNEL);
ectx.ws_size = ws;