* [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'
@ 2023-07-03 17:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-03 17:54 UTC (permalink / raw)
To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-03 17:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03 17:54 [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' kernel test robot
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.