]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsb: modified to drm_info in dsb_prepare()
authorAnimesh Manna <animesh.manna@intel.com>
Fri, 25 Mar 2022 16:11:40 +0000 (21:41 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 5 Apr 2022 11:43:07 +0000 (17:13 +0530)
commit8208b285556fda20c63228fadde2a0b87a98c89a
tree144f92999a270e06ad6be884fd08628f46a9d2f3
parent7444ae30a579544cdfa699e8df2f67723415d576
drm/i915/dsb: modified to drm_info in dsb_prepare()

The request to aqquire gem resources is failing for DSB in rare
scenario where it is busy and the register programming will be done
through mmio fallback path.

DSB has extra advantage of faster register programming which may
go away through mmio path. Adding wait for gem resource also may
not be right as anyways losing time.

To make the CI execution happy replaced drm_err() to drm_info()
for printing debug info during dsb buffer preparation.

v1: Initial version.
v2: Added print for mmio fallback at out label. [Nirmoy]
v3: Improved debug message. [Nirmoy]

Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220325161140.11906-1-animesh.manna@intel.com
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/i915/display/intel_dsb.c