DRM_DEBUG_ATOMIC
DRM_DEBUG_ATOMIC("Can't enable a CRTC without enabling the primary plane\n");
DRM_DEBUG_ATOMIC("Failed DC stream validation\n");
DRM_DEBUG_ATOMIC("Plane completely outside of screen\n");
DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2);
DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE);
DRM_DEBUG_ATOMIC("afbc request line_sz: %d exceed the max afbc line_sz: %d.\n",
DRM_DEBUG_ATOMIC("YUV420_10BIT input_hsize: %d exceed the max size 2046.\n",
DRM_DEBUG_ATOMIC("X0L2 input_hsize: %d exceed the max size 2046.\n",
DRM_DEBUG_ATOMIC("D71 doesn't support ROT90 for WB-AFBC.\n");
DRM_DEBUG_ATOMIC("CRTC%d_FLUSH: active_pipes: 0x%x, affected: 0x%x.\n",
DRM_DEBUG_ATOMIC("CRTC%d_DISABLE: active_pipes: 0x%x, affected: 0x%x\n",
DRM_DEBUG_ATOMIC("pxlclk doesn't support %lu Hz\n", min_pxlclk);
DRM_DEBUG_ATOMIC("engine clk can't satisfy the requirement of %s-clk: %lu.\n",
DRM_DEBUG_ATOMIC("Invalid source coordinate.\n");
DRM_DEBUG_ATOMIC("Wrong subsampling dimension x:%d, y:%d, w:%d, h:%d for format: %x.\n",
DRM_DEBUG_ATOMIC("x:%d, y:%d, w:%d, h:%d should be multiple of block_w/h for format: %x.\n",
DRM_DEBUG_ATOMIC("Layer TYPE: %d doesn't support fb FMT: %p4cc with modifier: 0x%llx.\n",
DRM_DEBUG_ATOMIC("PLANE: %s and PLANE: %s are configured same zpos: %d.\n",
DRM_DEBUG_ATOMIC("[CRTC:%d:%s] calculating normalized zpos values\n",
DRM_DEBUG_ATOMIC("[PLANE:%d:%s] zpos:%d, normalized zpos: %d\n",
DRM_DEBUG_ATOMIC("Assign %s + %s to [PLANE:%d:%s]: "
DRM_DEBUG_ATOMIC("PIPE%d: active_comps: 0x%x, disabling_comps: 0x%lx.\n",
DRM_DEBUG_ATOMIC("PIPE%d: active_comps: 0x%x, changed: 0x%lx.\n",
DRM_DEBUG_ATOMIC("required %s is busy.\n", c->name);
DRM_DEBUG_ATOMIC("%s required an invalid %s-input[%d].\n",
DRM_DEBUG_ATOMIC("%s required %s-input[%d] has been occupied already.\n",
DRM_DEBUG_ATOMIC("%s validate private failed.\n", c->name);
DRM_DEBUG_ATOMIC("invalidate src_w %d.\n", src_w);
DRM_DEBUG_ATOMIC("invalidate src_h %d.\n", src_h);
DRM_DEBUG_ATOMIC("Required line_sz: %d exceeds the max size %d\n",
DRM_DEBUG_ATOMIC("Invalid horizontal sizes");
DRM_DEBUG_ATOMIC("Invalid vertical sizes");
DRM_DEBUG_ATOMIC("Invalid horizontal scaling ratio");
DRM_DEBUG_ATOMIC("Invalid vertical scaling ratio");
DRM_DEBUG_ATOMIC("aclk can't satisfy the clock requirement of the downscaling\n");
DRM_DEBUG_ATOMIC("No scaler available");
DRM_DEBUG_ATOMIC("Current HW doesn't support splitter.\n");
DRM_DEBUG_ATOMIC("split in_w:%d is out of the acceptable range.\n",
DRM_DEBUG_ATOMIC("split in_h: %d exceeds the acceptable range.\n",
DRM_DEBUG_ATOMIC("No merger is available");
DRM_DEBUG_ATOMIC("merged_w: %d is out of the accepted range.\n",
DRM_DEBUG_ATOMIC("merged_h: %d is out of the accepted range.\n",
DRM_DEBUG_ATOMIC("invalid disp rect [x=%d, y=%d, w=%d, h=%d]\n",
DRM_DEBUG_ATOMIC("CRTC%d required pipeline%d is busy.\n",
DRM_DEBUG_ATOMIC("No available color depths, conn depths: 0x%x & display: 0x%x\n",
DRM_DEBUG_ATOMIC("No available color_formats, conn formats 0x%x & display: 0x%x\n",
DRM_DEBUG_ATOMIC("Disabling a busy pipeline:%d.\n", pipe->id);
DRM_DEBUG_ATOMIC("%s handling [PLANE:%d:%s]: src[x/y:%d/%d, w/h:%d/%d] disp[x/y:%d/%d, w/h:%d/%d]",
DRM_DEBUG_ATOMIC("%s zorder:%d < max_slave_zorder: %d.\n",
DRM_DEBUG_ATOMIC("rotation(0x%x) isn't supported by %p4cc with modifier: 0x%llx.\n",
DRM_DEBUG_ATOMIC("Cannot update plane on a disabled CRTC.\n");
DRM_DEBUG_ATOMIC("Cannot write the composition result out on a inactive CRTC.\n");
DRM_DEBUG_ATOMIC(
DRM_DEBUG_ATOMIC("crtc=%d bw=%llu\n",
DRM_DEBUG_ATOMIC("calculated bandwidth=%uk\n", bw);
DRM_DEBUG_ATOMIC("final threshold bw limit = %d\n", threshold);
DRM_DEBUG_ATOMIC("Release BW crtc=%d\n", crtc->base.id);
DRM_DEBUG_ATOMIC("crtc:%d enabled:%d core_clk:%llu\n",
DRM_DEBUG_ATOMIC("crtc=%d p=%d new_bw=%llu,old_bw=%llu\n",
DRM_DEBUG_ATOMIC("crtc=%d disable\n", crtc->base.id);
DRM_DEBUG_ATOMIC("clk:%llu\n", clk_rate);
DRM_DEBUG_ATOMIC("update clk rate = %lld HZ\n", clk_rate);
DRM_DEBUG_ATOMIC("crtc%d\n", crtc->base.id);
DRM_DEBUG_ATOMIC("no frames pending\n");
DRM_DEBUG_ATOMIC("real time or wb encoder not found\n");
DRM_DEBUG_ATOMIC("invalid FB not kicking off crtc\n");
DRM_DEBUG_ATOMIC("crtc%d first commit\n", crtc->base.id);
DRM_DEBUG_ATOMIC("crtc%d commit\n", crtc->base.id);
DRM_DEBUG_ATOMIC("%d\n", crtc->base.id);
DRM_DEBUG_ATOMIC("crtc%d -> enable %d, active %d, skip atomic_check\n",
DRM_DEBUG_ATOMIC("%s: check\n", dpu_crtc->name);
DRM_DEBUG_ATOMIC("format:%p4cc, alpha_en:%u blend_op:0x%x\n",
DRM_DEBUG_ATOMIC("crtc %d stage:%d - plane %d sspp %d fb %d multirect_idx %d\n",
DRM_DEBUG_ATOMIC("%s\n", dpu_crtc->name);
DRM_DEBUG_ATOMIC("lm %d, op_mode 0x%X, ctl %d\n",
DRM_DEBUG_ATOMIC("crtc%d event:%u ts:%lld\n", crtc->base.id, fevent->event,
DRM_DEBUG_ATOMIC("crtc%d -> enable %d, skip atomic_begin\n",
DRM_DEBUG_ATOMIC("crtc%d\n", crtc->base.id);
DRM_DEBUG_ATOMIC("crtc%d -> enable %d, skip atomic_flush\n",
DRM_DEBUG_ATOMIC("crtc%d\n", crtc->base.id);
#define DPU_DEBUG_ENC(e, fmt, ...) DRM_DEBUG_ATOMIC("enc%d " fmt,\
DRM_DEBUG_ATOMIC("id;%u, sw_event:%d, rc in ON state\n",
DRM_DEBUG_ATOMIC("id;%u, sw_event:%d, rc in state %d\n",
#define DPU_DEBUG_PLANE(pl, fmt, ...) DRM_DEBUG_ATOMIC("plane%d " fmt,\
DRM_DEBUG_ATOMIC("%s xin:%d w:%d h:%d fps:%d pps:%llu ot:%u\n",
DRM_DEBUG_ATOMIC("%s xin:%d ot_lim:%d\n",
DRM_DEBUG_ATOMIC("invalid arguments vbif %d\n", vbif != NULL);
DRM_DEBUG_ATOMIC("qos remap not supported\n");
DRM_DEBUG_ATOMIC("qos tbl not defined\n");
DRM_DEBUG_ATOMIC("%s xin:%d lvl:%d/%d\n",
DRM_DEBUG_ATOMIC("%s client %d is halted\n",
DRM_DEBUG_ATOMIC("[PLANE:%d:%s] updated normalized zpos value %d\n",