diff options
author | Chuanxiao Dong <chuanxiao.dong@intel.com> | 2017-02-17 14:29:52 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-02-23 12:32:13 +0300 |
commit | 9272f73f79bd780502134f227fa52fd280ecda17 (patch) | |
tree | d8596485a231f43d6b9b2389dbe2abaf53f56923 /tools/perf/scripts/python | |
parent | a33fc7a0482a40068c022aefcefd50f9f0f44f87 (diff) | |
download | linux-9272f73f79bd780502134f227fa52fd280ecda17.tar.xz |
drm/i915/gvt: add a NULL pointer check to avoid kernel panic
Due to the request replay, context switch interrupt may come after
gvt free the workload thus can cause a kernel NULL pointer kernel
panic. This patch will add a simple check to avoid this for a short
term.
From long term, gvt workload lifecycle doesn't match with i915 request
and need to find a proper way to manage this.
v4: simplify the NULL pointer check.
v5: add unlikely to optimize.
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions