All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com,
	Guenter Roeck <groeck@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chrome-os:chromeos-6.1 26/26] drivers/gpu/drm/i915/display/intel_pmdemand.h:36:17: error: use of undeclared identifier 'I915_MAX_PIPES'
Date: Tue, 4 Jul 2023 01:54:57 +0800	[thread overview]
Message-ID: <202307040134.DUlTsahS-lkp@intel.com> (raw)

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.1
head:   b9c2968f3aefef7f4d9f13f04f40e27c61ef6d32
commit: b9c2968f3aefef7f4d9f13f04f40e27c61ef6d32 [26/26] BACKPORT: drm/i915/mtl: Add support for PM DEMAND
config: x86_64-randconfig-x006-20230703 (https://download.01.org/0day-ci/archive/20230704/202307040134.DUlTsahS-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307040134.DUlTsahS-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307040134.DUlTsahS-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from <built-in>:4:
>> drivers/gpu/drm/i915/display/intel_pmdemand.h:36:17: error: use of undeclared identifier 'I915_MAX_PIPES'
           int ddi_clocks[I915_MAX_PIPES];
                          ^
>> drivers/gpu/drm/i915/display/intel_pmdemand.h:55:16: error: declaration of 'enum pipe' will not be visible outside of this function [-Werror,-Wvisibility]
                                         enum pipe pipe, int port_clock);
                                              ^
   2 errors generated.


vim +/I915_MAX_PIPES +36 drivers/gpu/drm/i915/display/intel_pmdemand.h

    31	
    32	struct intel_pmdemand_state {
    33		struct intel_global_state base;
    34	
    35		/* Maintain a persistent list of port clocks across all crtcs */
  > 36		int ddi_clocks[I915_MAX_PIPES];
    37	
    38		/* Maintain a persistent list of non type C phys mask */
    39		u16 active_combo_phys_mask;
    40	
    41		/* Parameters to be configured in the pmdemand registers */
    42		struct pmdemand_params params;
    43	};
    44	
    45	#define to_intel_pmdemand_state(x) container_of((x), \
    46							struct intel_pmdemand_state, \
    47							base)
    48	
    49	void intel_pmdemand_init_early(struct drm_i915_private *i915);
    50	int intel_pmdemand_init(struct drm_i915_private *i915);
    51	void intel_pmdemand_init_pmdemand_params(struct drm_i915_private *i915,
    52						 struct intel_pmdemand_state *pmdemand_state);
    53	void intel_pmdemand_update_port_clock(struct drm_i915_private *i915,
    54					      struct intel_pmdemand_state *pmdemand_state,
  > 55					      enum pipe pipe, int port_clock);
    56	void intel_pmdemand_update_phys_mask(struct drm_i915_private *i915,
    57					     struct intel_encoder *encoder,
    58					     struct intel_pmdemand_state *pmdemand_state,
    59					     bool clear_bit);
    60	void intel_pmdemand_program_dbuf(struct drm_i915_private *i915,
    61					 u8 dbuf_slices);
    62	void intel_pmdemand_pre_plane_update(struct intel_atomic_state *state);
    63	void intel_pmdemand_post_plane_update(struct intel_atomic_state *state);
    64	int intel_pmdemand_atomic_check(struct intel_atomic_state *state);
    65	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-07-03 17:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202307040134.DUlTsahS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=groeck@google.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.