diff options
author | Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> | 2021-01-11 15:04:08 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-01-31 22:34:34 +0300 |
commit | 276619c0923f8fa6a82e60edb88a82468645362d (patch) | |
tree | f348d69d811906050c967c0f264e3804b1e56977 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4f2cf99d542c4070d5def1db20ce6436e5f92e53 (diff) | |
download | linux-276619c0923f8fa6a82e60edb88a82468645362d.tar.xz |
drm/msm: Add proper checks for GPU LLCC support
Domain attribute setting for LLCC is guarded by !IS_ERR
check which works fine only when CONFIG_QCOM_LLCC=y but
when it is disabled, the LLCC apis return NULL and that
is not handled by IS_ERR check. Due to this, domain attribute
for LLCC will be set even on GPUs which do not support it
and cause issues, so correct this by using IS_ERR_OR_NULL
checks appropriately. Meanwhile also cleanup comment block
and remove unwanted blank line.
Fixes: 00fd44a1a470 ("drm/msm: Only enable A6xx LLCC code on A6xx")
Fixes: 474dadb8b0d5 ("drm/msm/a6xx: Add support for using system cache(LLC)")
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions