aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2019-07-25 10:46:55 -0700
committerChris Wilson <[email protected]>2019-07-26 09:07:08 +0100
commitedad25476ba353cfc0f3b34b150888b46f18e8a6 (patch)
treed7b50df4f0b641a670148ba16dfd0cfc6a8384d3 /net/switchdev/switchdev.c
parent97dee74bb34a1364c6b3f3f2e3f31165063d3c6e (diff)
drm/i915/guc: init submission structures as part of guc_init
guc->stage_desc_pool is required as part of the init parameters and there is no reason we have to init them after HuC. This fixes a NULL ptr dereference due to guc->stage_desc_pool not being set (no fixes tag since GuC submission can't be enabled yet). Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: Michal Wajdeczko <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Michal Wajdeczko <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions