[Intel-gfx] [PATCH v2 1/2] drm/i915/mst: Validate modes against available link bandwidth

Jani Nikula jani.nikula at linux.intel.com
Tue Aug 16 11:19:58 UTC 2016


On Sat, 13 Aug 2016, kbuild test robot <lkp at intel.com> wrote:
> Hi Anusha,
>
> [auto build test ERROR on drm/drm-next]
> [also build test ERROR on v4.8-rc1 next-20160812]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url:    https://github.com/0day-ci/linux/commits/Anusha-Srivatsa/drm-i915-mst-Validate-modes-against-available-link-bandwidth/20160813-050818
> base:   git://people.freedesktop.org/~airlied/linux.git drm-next
> config: i386-randconfig-x014-201632 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
>
> Note: the linux-review/Anusha-Srivatsa/drm-i915-mst-Validate-modes-against-available-link-bandwidth/20160813-050818 HEAD 413b1bb45dc2c58540a17c5ca642b6aee2c97405 builds fine.
>       It only hurts bisectibility.

The patches are in the wrong order.

BR,
Jani.

>
> All errors (new ones prefixed by >>):
>
>    drivers/gpu/drm/i915/intel_dp_mst.c: In function 'intel_dp_mst_mode_valid':
>>> drivers/gpu/drm/i915/intel_dp_mst.c:363:14: error: implicit declaration of function 'drm_dp_mst_get_avail_pbn' [-Werror=implicit-function-declaration]
>      avail_pbn = drm_dp_mst_get_avail_pbn(mgr, port);
>                  ^~~~~~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
>
> vim +/drm_dp_mst_get_avail_pbn +363 drivers/gpu/drm/i915/intel_dp_mst.c
>
>    357		struct intel_connector *intel_connector = to_intel_connector(connector);
>    358		struct intel_dp *intel_dp = intel_connector->mst_port;
>    359		struct drm_dp_mst_topology_mgr *mgr = &intel_dp->mst_mgr;
>    360		struct drm_dp_mst_port *port = (struct drm_dp_mst_port *) (intel_connector->port);
>    361		int max_dotclk = to_i915(connector->dev)->max_dotclk_freq;
>    362	
>  > 363		avail_pbn = drm_dp_mst_get_avail_pbn(mgr, port);
>    364		req_pbn = drm_dp_calc_pbn_mode(mode->clock, 24);
>    365		if (req_pbn > avail_pbn)
>    366			return MODE_H_ILLEGAL;
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list