]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
drm/msm/dpu: polish log for resource allocation
authorJun Nie <jun.nie@linaro.org>
Tue, 19 Aug 2025 01:30:56 +0000 (09:30 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 3 Sep 2025 09:43:34 +0000 (12:43 +0300)
commit4b09db0c13eeb12102827d7d16128c1713319576
treef92300692b293c6e997c4dd998e0929d726c049e
parent6fc616723bb5fd4289d7422fa013da062b44ae55
drm/msm/dpu: polish log for resource allocation

It is more likely that resource allocation may fail in complex usage
case, such as quad-pipe case, than existing usage cases.
A resource type ID is printed on failure in the current implementation,
but the raw ID number is not explicit enough to help easily understand
which resource caused the failure, so add a table to match the type ID
to an human readable resource name and use it in the error print.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/669225/
Link: https://lore.kernel.org/r/20250819-v6-16-rc2-quad-pipe-upstream-v15-2-2c7a85089db8@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c