diff options
author | Suraj Kandpal <suraj.kandpal@intel.com> | 2024-01-24 07:52:48 +0300 |
---|---|---|
committer | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2024-02-02 00:25:47 +0300 |
commit | d6beadc8d7326adf4fb6e62bb0453b17b93816c7 (patch) | |
tree | 3b2958b50425e1fad86b35e20eacd22487a2d3d6 /drivers/gpu/drm/xe/xe_vm.c | |
parent | 5bd24e78829ad569fa1c3ce9a05b59bb97b91f3d (diff) | |
download | linux-d6beadc8d7326adf4fb6e62bb0453b17b93816c7.tar.xz |
drm/xe/gsc: Add status check during gsc header readout
Before checking if data is present in the message reply check the
status in header and see if it indicates any error.
--v2
- Use drm_err() instead of drm_dbg_kms() [Daniele]
--v3
- Use &xe->drm in drm_err to make it more cleaner [Daniele]
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240124045248.687023-1-suraj.kandpal@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_vm.c')
0 files changed, 0 insertions, 0 deletions