Message ID | 20250614-apr_14_for_sending-v4-8-8e3945c819cd@samsung.com |
---|---|
State | New |
Headers | show |
Series | Add TH1520 GPU support with power sequencing | expand |
On 6/15/25 12:51, kernel test robot wrote: > Hi Michal, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on 4774cfe3543abb8ee98089f535e28ebfd45b975a] > > url: https://protect2.fireeye.com/v1/url?k=6c3bc994-0cd954c9-6c3a42db-000babd9f1ba-30c2378fa012fc4a&q=1&e=c39c960c-4d5f-44d7-aed7-0097394dfc81&u=https%3A%2F%2Fgithub.com%2Fintel-lab-lkp%2Flinux%2Fcommits%2FMichal-Wilczynski%2Fpower-sequencing-Add-T-HEAD-TH1520-GPU-power-sequencer-driver%2F20250615-021142 > base: 4774cfe3543abb8ee98089f535e28ebfd45b975a > patch link: https://lore.kernel.org/r/20250614-apr_14_for_sending-v4-8-8e3945c819cd%40samsung.com > patch subject: [PATCH v4 8/8] drm/imagination: Enable PowerVR driver for RISC-V > config: riscv-kismet-CONFIG_DRM_GEM_SHMEM_HELPER-CONFIG_DRM_POWERVR-0-0 (https://download.01.org/0day-ci/archive/20250615/202506151839.IKkZs0Z0-lkp@intel.com/config) > reproduce: (https://download.01.org/0day-ci/archive/20250615/202506151839.IKkZs0Z0-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/202506151839.IKkZs0Z0-lkp@intel.com/ > > kismet warnings: (new ones prefixed by >>) >>> kismet: WARNING: unmet direct dependencies detected for DRM_GEM_SHMEM_HELPER when selected by DRM_POWERVR > WARNING: unmet direct dependencies detected for DRM_GEM_SHMEM_HELPER > Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && MMU [=n] I believe this is triggered because RISC-V can be compiled without MMU support, while MMU support is mandatory for ARM64. Would an acceptable fix be to require an explicit dependency on the MMU, like so? depends on (ARM64 || RISCV) && MMU > Selected by [y]: > - DRM_POWERVR [=y] && HAS_IOMEM [=y] && (ARM64 || RISCV [=y]) && DRM [=y] && PM [=y] > Best regards,
On Mon, Jun 16, 2025 at 11:09 AM Michal Wilczynski <m.wilczynski@samsung.com> wrote: > > > > On 6/15/25 12:51, kernel test robot wrote: > > Hi Michal, > > > > kernel test robot noticed the following build warnings: > > > > [auto build test WARNING on 4774cfe3543abb8ee98089f535e28ebfd45b975a] > > > > url: https://protect2.fireeye.com/v1/url?k=6c3bc994-0cd954c9-6c3a42db-000babd9f1ba-30c2378fa012fc4a&q=1&e=c39c960c-4d5f-44d7-aed7-0097394dfc81&u=https%3A%2F%2Fgithub.com%2Fintel-lab-lkp%2Flinux%2Fcommits%2FMichal-Wilczynski%2Fpower-sequencing-Add-T-HEAD-TH1520-GPU-power-sequencer-driver%2F20250615-021142 > > base: 4774cfe3543abb8ee98089f535e28ebfd45b975a > > patch link: https://lore.kernel.org/r/20250614-apr_14_for_sending-v4-8-8e3945c819cd%40samsung.com > > patch subject: [PATCH v4 8/8] drm/imagination: Enable PowerVR driver for RISC-V > > config: riscv-kismet-CONFIG_DRM_GEM_SHMEM_HELPER-CONFIG_DRM_POWERVR-0-0 (https://download.01.org/0day-ci/archive/20250615/202506151839.IKkZs0Z0-lkp@intel.com/config) > > reproduce: (https://download.01.org/0day-ci/archive/20250615/202506151839.IKkZs0Z0-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/202506151839.IKkZs0Z0-lkp@intel.com/ > > > > kismet warnings: (new ones prefixed by >>) > >>> kismet: WARNING: unmet direct dependencies detected for DRM_GEM_SHMEM_HELPER when selected by DRM_POWERVR > > WARNING: unmet direct dependencies detected for DRM_GEM_SHMEM_HELPER > > Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && MMU [=n] > > I believe this is triggered because RISC-V can be compiled without MMU > support, while MMU support is mandatory for ARM64. > > Would an acceptable fix be to require an explicit dependency on the MMU, > like so? > > depends on (ARM64 || RISCV) && MMU > I'd put them on separate lines. While at it: how about enabling build with COMPILE_TEST to extend build coverage too? Bart > > Selected by [y]: > > - DRM_POWERVR [=y] && HAS_IOMEM [=y] && (ARM64 || RISCV [=y]) && DRM [=y] && PM [=y] > > > > Best regards, > -- > Michal Wilczynski <m.wilczynski@samsung.com>
diff --git a/drivers/gpu/drm/imagination/Kconfig b/drivers/gpu/drm/imagination/Kconfig index 5f9fff43d6baadc42ebf48d91729bfbf27e06caa..d1e5a18e8e84dc57452cd4bf0fe89dfb90a7bb29 100644 --- a/drivers/gpu/drm/imagination/Kconfig +++ b/drivers/gpu/drm/imagination/Kconfig @@ -3,7 +3,7 @@ config DRM_POWERVR tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG Graphics" - depends on ARM64 + depends on (ARM64 || RISCV) depends on DRM depends on PM select DRM_EXEC