drm/xe: Return if kobj creation is failed
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 13 Mar 2024 15:05:44 +0000 (20:35 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 13 Mar 2024 20:00:26 +0000 (16:00 -0400)
commit989d07ac6bb7d269e975f85e8f683f496faa0380
tree20f38ca6ec171cf8fac67011429e0f2892916e78
parente5a95c8c0a5094b0268d8f0cf69b888bc0fd6bbb
drm/xe: Return if kobj creation is failed

Return after warning regarding kobj creation failure.

Fixes: 4ae3aeab32d7 ("drm/xe: Add vram frequency sysfs attributes")
Cc: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Cc: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240313150545.2830408-2-himal.prasad.ghimiray@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vram_freq.c