== Series Details == Series: drm: Add COLOR_ENCODING and COLOR_RANGE plane properties (rev3) URL : https://patchwork.freedesktop.org/series/38286/ State : warning == Summary == $ dim checkpatch origin/drm-tip fdb4374e01b8 drm: Add optional COLOR_ENCODING and COLOR_RANGE properties to drm_plane -:72: WARNING: please, no space before tabs #72: FILE: drivers/gpu/drm/drm_color_mgmt.c:97: + * ^IOptional plane enum property to support different non RGB$ -:73: WARNING: please, no space before tabs #73: FILE: drivers/gpu/drm/drm_color_mgmt.c:98: + * ^Icolor encodings. The driver can provide a subset of standard$ -:74: WARNING: please, no space before tabs #74: FILE: drivers/gpu/drm/drm_color_mgmt.c:99: + * ^Ienum values supported by the DRM plane.$ -:77: WARNING: please, no space before tabs #77: FILE: drivers/gpu/drm/drm_color_mgmt.c:102: + * ^IOptional plane enum property to support different non RGB$ -:78: WARNING: please, no space before tabs #78: FILE: drivers/gpu/drm/drm_color_mgmt.c:103: + * ^Icolor parameter ranges. The driver can provide a subset of$ -:79: WARNING: please, no space before tabs #79: FILE: drivers/gpu/drm/drm_color_mgmt.c:104: + * ^Istandard enum values supported by the DRM plane.$ total: 0 errors, 6 warnings, 0 checks, 211 lines checked 06974dcfd2f1 drm: Add BT.2020 constant luminance enum value for the COLOR_ENCODING property -:34: WARNING: line over 80 characters #34: FILE: drivers/gpu/drm/drm_color_mgmt.c:361: + [DRM_COLOR_YCBCR_BT2020_CONST] = "ITU-R BT.2020 YCbCr constant luminance", total: 0 errors, 1 warnings, 0 checks, 16 lines checked 4ab1988ac2fc drm/atomic: Include color encoding/range in plane state dump 88ed14a83389 drm/i915: Correctly handle limited range YCbCr data on VLV/CHV -:81: WARNING: line over 80 characters #81: FILE: drivers/gpu/drm/i915/i915_reg.h:6345: +#define SPCLRC0(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACLRC0, _SPBCLRC0) -:82: WARNING: line over 80 characters #82: FILE: drivers/gpu/drm/i915/i915_reg.h:6346: +#define SPCLRC1(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACLRC1, _SPBCLRC1) -:142: WARNING: line over 80 characters #142: FILE: drivers/gpu/drm/i915/intel_sprite.c:380: + I915_WRITE_FW(SPCSCYGICLAMP(plane_id), SPCSC_IMAX(1023) | SPCSC_IMIN(0)); -:143: WARNING: line over 80 characters #143: FILE: drivers/gpu/drm/i915/intel_sprite.c:381: + I915_WRITE_FW(SPCSCCBICLAMP(plane_id), SPCSC_IMAX(512) | SPCSC_IMIN(-512)); -:144: WARNING: line over 80 characters #144: FILE: drivers/gpu/drm/i915/intel_sprite.c:382: + I915_WRITE_FW(SPCSCCRICLAMP(plane_id), SPCSC_IMAX(512) | SPCSC_IMIN(-512)); total: 0 errors, 5 warnings, 0 checks, 143 lines checked 0d7857a6c23f drm/i915: Fix plane YCbCr->RGB conversion for GLK -:36: CHECK: Prefer using the BIT macro #36: FILE: drivers/gpu/drm/i915/i915_reg.h:6467: +#define PLANE_COLOR_CSC_MODE_YUV601_TO_RGB709 (1 << 17) total: 0 errors, 0 warnings, 1 checks, 74 lines checked ab864a46c092 drm/i915: Add support for the YCbCr COLOR_ENCODING property -:42: CHECK: spaces preferred around that '<<' (ctx:VxV) #42: FILE: drivers/gpu/drm/i915/i915_reg.h:6143: +#define DVS_YUV_FORMAT_BT709 (1<<18) ^ -:42: CHECK: Prefer using the BIT macro #42: FILE: drivers/gpu/drm/i915/i915_reg.h:6143: +#define DVS_YUV_FORMAT_BT709 (1<<18) -:51: CHECK: spaces preferred around that '<<' (ctx:VxV) #51: FILE: drivers/gpu/drm/i915/i915_reg.h:6214: +#define SPRITE_YUV_TO_RGB_CSC_FORMAT_BT709 (1<<18) /* 0 is BT601 */ ^ -:51: CHECK: Prefer using the BIT macro #51: FILE: drivers/gpu/drm/i915/i915_reg.h:6214: +#define SPRITE_YUV_TO_RGB_CSC_FORMAT_BT709 (1<<18) /* 0 is BT601 */ -:59: CHECK: spaces preferred around that '<<' (ctx:VxV) #59: FILE: drivers/gpu/drm/i915/i915_reg.h:6290: +#define SP_YUV_FORMAT_BT709 (1<<18) ^ -:59: CHECK: Prefer using the BIT macro #59: FILE: drivers/gpu/drm/i915/i915_reg.h:6290: +#define SP_YUV_FORMAT_BT709 (1<<18) -:67: CHECK: Prefer using the BIT macro #67: FILE: drivers/gpu/drm/i915/i915_reg.h:6415: +#define PLANE_CTL_YUV_TO_RGB_CSC_FORMAT_BT709 (1 << 18) -:93: WARNING: line over 80 characters #93: FILE: drivers/gpu/drm/i915/intel_display.c:3581: + plane_color_ctl |= PLANE_COLOR_CSC_MODE_YUV709_TO_RGB709; -:95: WARNING: line over 80 characters #95: FILE: drivers/gpu/drm/i915/intel_display.c:3583: + plane_color_ctl |= PLANE_COLOR_CSC_MODE_YUV601_TO_RGB709; -:108: WARNING: line over 80 characters #108: FILE: drivers/gpu/drm/i915/intel_display.c:13329: + BIT(DRM_COLOR_YCBCR_LIMITED_RANGE), -:110: WARNING: line over 80 characters #110: FILE: drivers/gpu/drm/i915/intel_display.c:13331: + DRM_COLOR_YCBCR_LIMITED_RANGE); total: 0 errors, 4 warnings, 7 checks, 166 lines checked 0596574e5da4 drm/i915: Change the COLOR_ENCODING prop default value to BT.709 fa58433149c9 drm/i915: Add support for the YCbCr COLOR_RANGE property -:39: CHECK: spaces preferred around that '<<' (ctx:VxV) #39: FILE: drivers/gpu/drm/i915/i915_reg.h:6135: +#define DVS_YUV_RANGE_CORRECTION_DISABLE (1<<27) ^ -:39: CHECK: Prefer using the BIT macro #39: FILE: drivers/gpu/drm/i915/i915_reg.h:6135: +#define DVS_YUV_RANGE_CORRECTION_DISABLE (1<<27) -:47: CHECK: spaces preferred around that '<<' (ctx:VxV) #47: FILE: drivers/gpu/drm/i915/i915_reg.h:6204: +#define SPRITE_YUV_RANGE_CORRECTION_DISABLE (1<<28) ^ -:47: CHECK: Prefer using the BIT macro #47: FILE: drivers/gpu/drm/i915/i915_reg.h:6204: +#define SPRITE_YUV_RANGE_CORRECTION_DISABLE (1<<28) -:55: CHECK: Prefer using the BIT macro #55: FILE: drivers/gpu/drm/i915/i915_reg.h:6396: +#define PLANE_CTL_YUV_RANGE_CORRECTION_DISABLE (1 << 28) -:63: CHECK: Prefer using the BIT macro #63: FILE: drivers/gpu/drm/i915/i915_reg.h:6471: +#define PLANE_COLOR_YUV_RANGE_CORRECTION_DISABLE (1 << 28) -:87: WARNING: line over 80 characters #87: FILE: drivers/gpu/drm/i915/intel_display.c:3589: + plane_color_ctl |= PLANE_COLOR_YUV_RANGE_CORRECTION_DISABLE; -:96: WARNING: line over 80 characters #96: FILE: drivers/gpu/drm/i915/intel_display.c:13335: + BIT(DRM_COLOR_YCBCR_LIMITED_RANGE) | -:97: WARNING: line over 80 characters #97: FILE: drivers/gpu/drm/i915/intel_display.c:13336: + BIT(DRM_COLOR_YCBCR_FULL_RANGE), total: 0 errors, 3 warnings, 6 checks, 91 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx