diff options
| author | Dmitry Baryshkov <[email protected]> | 2023-04-11 19:19:02 +0300 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2023-06-10 07:19:56 -0700 |
| commit | cc943f43ece7be313617ccb8425c31e02b73cbbe (patch) | |
| tree | 2769fc373837725f4a1d7bb2c774c675e8230b93 /tools/perf/scripts/python/netdev-times.py | |
| parent | 736a9327365644b460e4498b1ce172ca411efcbc (diff) | |
drm/msm/adreno: warn if chip revn is verified before being set
The commit 010c8bbad2cb ("drm: msm: adreno: Disable preemption on Adreno
510") tried to check GPU's revn before revn being set. Add WARN_ON_ONCE
to prevent such bugs from happening again. A separate helper is
necessary so that the warning is displayed really just once instead of
being displayed for each of comparisons.
Suggested-by: Stephen Boyd <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/531705/
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions