aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2021-08-17 01:32:36 +0000
committerTejun Heo <[email protected]>2021-08-17 17:49:10 +0000
commitd21cece0dbb424ad3ff9e49bde6954632b8efede (patch)
treef0209f7e615290d4b0abaeb806231e83ad9725cd /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentworkqueue: Change arguement of pwq_dec_nr_in_flight() (diff)
downloadkernel-d21cece0dbb424ad3ff9e49bde6954632b8efede.tar.gz
kernel-d21cece0dbb424ad3ff9e49bde6954632b8efede.zip
workqueue: Change the code of calculating work_flags in insert_wq_barrier()
Add a local var @work_flags to calculate work_flags step by step, so that we don't need to squeeze several flags in only the last line of code. Parepare for next patch to add a bit to barrier work item's flag. Not squshing this to next patch makes it clear that what it will have changed. No functional change intended. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions