From: Ayoung Sim Date: Mon, 18 Jun 2018 02:25:29 +0000 (+0900) Subject: [COMMON] media: mfc: DRV4.0: update prefix [HDR] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29b545916f13f717c311117294c61100488f23fb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] media: mfc: DRV4.0: update prefix [HDR] Change-Id: Ic2d727a5785999a72e1d3de157f75d87fec4677d Signed-off-by: Ayoung Sim --- diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c b/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c index c3673df41027..c26e1f6267af 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c @@ -270,32 +270,32 @@ static void mfc_handle_frame_output_del(struct s5p_mfc_ctx *ctx, if (is_content_light) { ref_mb->vb.reserved2 |= (1 << 0); - mfc_debug(2, "content light level parsed\n"); + mfc_debug(2, "[HDR] content light level parsed\n"); } if (is_display_colour) { ref_mb->vb.reserved2 |= (1 << 1); - mfc_debug(2, "mastering display colour parsed\n"); + mfc_debug(2, "[HDR] mastering display colour parsed\n"); } if (is_video_signal_type) { ref_mb->vb.reserved2 |= (1 << 4); - mfc_debug(2, "video signal type parsed\n"); + mfc_debug(2, "[HDR] video signal type parsed\n"); if (is_colour_description) { ref_mb->vb.reserved2 |= (1 << 2); - mfc_debug(5, "matrix coefficients parsed\n"); + mfc_debug(2, "[HDR] matrix coefficients parsed\n"); ref_mb->vb.reserved2 |= (1 << 3); - mfc_debug(2, "colour description parsed\n"); + mfc_debug(2, "[HDR] colour description parsed\n"); } } if (IS_VP9_DEC(ctx) && MFC_FEATURE_SUPPORT(dev, dev->pdata->color_aspect_dec)) { if (dec->color_space != S5P_FIMV_D_COLOR_UNKNOWN) { ref_mb->vb.reserved2 |= (1 << 3); - mfc_debug(2, "color space parsed\n"); + mfc_debug(2, "[HDR] color space parsed\n"); } ref_mb->vb.reserved2 |= (1 << 4); - mfc_debug(2, "color range parsed\n"); + mfc_debug(2, "[HDR] color range parsed\n"); } if (dec->black_bar_updated) { @@ -608,12 +608,12 @@ static void mfc_handle_frame(struct s5p_mfc_ctx *ctx, dst_frame_status = s5p_mfc_get_dec_status(); mfc_debug(2, "Frame Status: %x\n", dst_frame_status); - mfc_debug(5, "SEI available status: 0x%08x\n", s5p_mfc_get_sei_avail()); - mfc_debug(5, "SEI content light: 0x%08x\n", s5p_mfc_get_sei_content_light()); - mfc_debug(5, "SEI luminance: 0x%08x, 0x%08x white point: 0x%08x\n", + mfc_debug(4, "[HDR] SEI available status: 0x%08x\n", s5p_mfc_get_sei_avail()); + mfc_debug(4, "[HDR] SEI content light: 0x%08x\n", s5p_mfc_get_sei_content_light()); + mfc_debug(4, "[HDR] SEI luminance: 0x%08x, 0x%08x white point: 0x%08x\n", s5p_mfc_get_sei_mastering0(), s5p_mfc_get_sei_mastering1(), s5p_mfc_get_sei_mastering2()); - mfc_debug(5, "SEI display primaries: 0x%08x, 0x%08x, 0x%08x\n", + mfc_debug(4, "[HDR] SEI display primaries: 0x%08x, 0x%08x, 0x%08x\n", s5p_mfc_get_sei_mastering3(), s5p_mfc_get_sei_mastering4(), s5p_mfc_get_sei_mastering5()); mfc_debug(2, "Used flag: old = %08x, new = %08x\n", diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_nal_q.c b/drivers/media/platform/exynos/mfc/s5p_mfc_nal_q.c index 05a52897933b..a3db2d0b5d7c 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_nal_q.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_nal_q.c @@ -1276,30 +1276,30 @@ static void mfc_nal_q_handle_frame_output_del(struct s5p_mfc_ctx *ctx, if (is_content_light) { ref_mb->vb.reserved2 |= (1 << 0); - mfc_debug(2, "NAL Q: content light level parsed\n"); + mfc_debug(2, "NAL Q:[HDR] content light level parsed\n"); } if (is_display_colour) { ref_mb->vb.reserved2 |= (1 << 1); - mfc_debug(2, "NAL Q: mastering display colour parsed\n"); + mfc_debug(2, "NAL Q:[HDR] mastering display colour parsed\n"); } if (is_video_signal_type) { ref_mb->vb.reserved2 |= (1 << 4); - mfc_debug(2, "NAL Q: video signal type parsed\n"); + mfc_debug(2, "NAL Q:[HDR] video signal type parsed\n"); if (is_colour_description) { ref_mb->vb.reserved2 |= (1 << 2); - mfc_debug(2, "NAL Q: matrix coefficients parsed\n"); + mfc_debug(2, "NAL Q:[HDR] matrix coefficients parsed\n"); ref_mb->vb.reserved2 |= (1 << 3); - mfc_debug(2, "NAL Q: colour description parsed\n"); + mfc_debug(2, "NAL Q:[HDR] colour description parsed\n"); } } if (IS_VP9_DEC(ctx) && MFC_FEATURE_SUPPORT(dev, dev->pdata->color_aspect_dec)) { if (dec->color_space != S5P_FIMV_D_COLOR_UNKNOWN) { ref_mb->vb.reserved2 |= (1 << 3); - mfc_debug(2, "NAL Q: color space parsed\n"); + mfc_debug(2, "NAL Q:[HDR] color space parsed\n"); } ref_mb->vb.reserved2 |= (1 << 4); - mfc_debug(2, "NAL Q: color range parsed\n"); + mfc_debug(2, "NAL Q:[HDR] color range parsed\n"); } for (i = 0; i < raw->num_planes; i++) @@ -1507,7 +1507,7 @@ void mfc_nal_q_handle_frame(struct s5p_mfc_ctx *ctx, DecoderOutputStr *pOutStr) & S5P_FIMV_DEC_STATUS_DECODED_STATUS_MASK; mfc_debug(2, "NAL Q: Frame Status: %x\n", dst_frame_status); - mfc_debug(2, "NAL Q: SEI available status: %x\n", sei_avail_status); + mfc_debug(4, "NAL Q:[HDR] SEI available status: %x\n", sei_avail_status); mfc_debug(2, "NAL Q: Used flag: old = %08x, new = %08x\n", dec->dynamic_used, pOutStr->UsedDpbFlagLower);