diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2023-02-16 17:16:44 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:28:24 +0300 |
commit | dc97898e8121878829ee3cf48fa8ce154807f90b (patch) | |
tree | 35f8373362e11964afee19a3627133940b1af1b2 /include/drm | |
parent | 844c0700a675a5e30644c867ae7b30cb680d176d (diff) | |
download | linux-dc97898e8121878829ee3cf48fa8ce154807f90b.tar.xz |
drm/xe: Initialize ret in mcr_lock()
ret is not initialized in mcr_lock() when running in platforms with
graphics IP version < 1270, this could cause drm_WARN_ON_ONCE()
to hit eventually(what just happened to me).
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions