On Mon, Feb 17, 2025 at 10:15:53PM +0800, Jun Nie wrote: > 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@xxxxxxxxxx> > Reviewed-by: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 23 +++++++++++++++++++---- > 1 file changed, 19 insertions(+), 4 deletions(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry