[lkml]   [2021]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/4] Restructure output format computation for better expandability
Hi Werner,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20210503]
[cannot apply to v5.12]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in]

base: git:// for-linux-next
config: i386-randconfig-m021-20210503 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add linux-review
git fetch --no-tags linux-review Werner-Sembach/drm-i915-display-Try-YCbCr420-color-when-RGB-fails/20210504-022344
git checkout 8ff372234cbfe66eb5a59c2cda6a44961f5a9266
# save the attached .config to linux build tree
make W=1 W=1 ARCH=i386

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_hdmi.c:2108:5: error: no previous prototype for 'intel_hdmi_compute_output_format' [-Werror=missing-prototypes]
2108 | int intel_hdmi_compute_output_format(struct intel_encoder *encoder,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

vim +/intel_hdmi_compute_output_format +2108 drivers/gpu/drm/i915/display/intel_hdmi.c

> 2108 int intel_hdmi_compute_output_format(struct intel_encoder *encoder,
2109 struct intel_crtc_state *crtc_state,
2110 const struct drm_connector_state *conn_state)
2111 {
2112 const struct drm_connector *connector = conn_state->connector;
2113 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
2114 int ret;
2116 if (connector->ycbcr_420_allowed && drm_mode_is_420_only(&connector->display_info, adjusted_mode))
2117 crtc_state->output_format = INTEL_OUTPUT_FORMAT_YCBCR420;
2118 else
2119 crtc_state->output_format = INTEL_OUTPUT_FORMAT_RGB;
2121 ret = intel_hdmi_compute_clock(encoder, crtc_state);
2123 return ret;
2124 }

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2021-05-03 23:04    [W:0.112 / U:1.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site