aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2024-05-13 14:40:35 +0300
committerOfir Bitton <obitton@habana.ai>2024-06-23 09:53:33 +0300
commit0199e6392e067299ece25863abd7453e4823f13b (patch)
treebb3a1b63512865f5a0db2dbc39b7e4949d9a80ea /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentaccel/habanalabs: print timestamp of last PQ heartbeat on EQ heartbeat failure (diff)
downloadlinux-0199e6392e067299ece25863abd7453e4823f13b.tar.gz
linux-0199e6392e067299ece25863abd7453e4823f13b.zip
accel/habanalabs: move heartbeat work initialization to early init
The device heartbeat work is currently initialized at device_heartbeat_schedule() which is called at the end of hl_device_init(). However hl_device_init() can fail at a previous step, and in such a case, a subsequent call to hl_device_fini() will lead to calling cleanup_resources() and accessing this work uninitialized. As there is no real need to re-initialize this work every time it is rescheduled, move this initialization to device_early_init() to be done once and early enough. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Ofir Bitton <obitton@habana.ai> Signed-off-by: Ofir Bitton <obitton@habana.ai>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
n class='insertions'>+7 2007-04-22delay progress display when checking out filesNicolas Pitre1-7/+2 2007-04-22provide a facility for "delayed" progress reportingNicolas Pitre2-0/+40 2007-04-22make progress "title" part of the common progress interfaceNicolas Pitre6-34/+27 2007-04-22common progress display supportNicolas Pitre7-185/+154 2007-04-22Support 'diff=pgm' attributeJunio C Hamano5-5/+182 2007-04-22pack-objects: make generated packfile read-onlyJunio C Hamano1-1/+1 2007-04-22Update tests not to assume that generated packfiles are writable.Junio C Hamano1-11/+11 2007-04-22Fix 'quickfix' on pack-objects.Junio C Hamano1-2/+14 2007-04-22pack-objects: quickfix for permission modes.Junio C Hamano1-0/+6 2007-04-22Fix crash in t0020 (crlf conversion)Alex Riesen1-2/+4 2007-04-22Fix a typo in crlf conversion codeAlex Riesen1-5/+5 2007-04-22Cleanup variables in cat-fileShawn O. Pearce1-12/+18 2007-04-22Update draft release notes for v1.5.2Junio C Hamano1-26/+51 2007-04-22Documentation/Makefile: fix section (5) installationJunio C Hamano2-2/+2 2007-04-21Update documentation links to point at v1.5.1.2Junio C Hamano1-1/+5 2007-04-21GIT 1.5.1.2v1.5.1.2Junio C Hamano2-8/+21 2007-04-21perl: install private Error.pm if the site version is older than our ownEric Wong1-1/+1 2007-04-21lockfile: record the primary process.Junio C Hamano2-1/+6 2007-04-21convert.c: restructure the attribute checking part.Junio C Hamano1-20/+28 2007-04-21Fix bogus linked-list management for user defined merge drivers.Junio C Hamano1-1/+2 2007-04-20Simplify calling of CR/LF conversion routinesAlex Riesen6-60/+51 2007-04-20Fix a copy-n-paste bug in the object decorator code.Linus Torvalds1-1/+0 2007-04-20git-clone: fix dumb protocol transport to clone from pack-pruned refJunio C Hamano1-1/+1 2007-04-20git-add -u: match the index with working tree.Junio C Hamano1-1/+57 2007-04-20gitview: annotation supportAneesh Kumar K.V1-4/+256 2007-04-20Kill the useless progress meter in merge-recursiveShawn O. Pearce1-62/+3 2007-04-19Remove case-sensitive file in t3030-merge-recursive.Brian Gernhardt1-52/+52 2007-04-19git.el: Add a commit description to the reflog.Alexandre Julliard1-14/+28