Re: [PATCH] fbdev: simplefb: limit its use to DRM_SIMPLEDRM=n

2021-07-19 Thread Randy Dunlap
On 7/19/21 1:06 AM, Geert Uytterhoeven wrote: > Hi Randy, > > On Mon, Jul 19, 2021 at 4:34 AM Randy Dunlap wrote: >> When DRM_SIMPLEDRM=m, all of FB_CFB_{FILLRECT,COPYAREA,IMAGEBLIT} are =m, > > Why does that happen? > FB_SIMPLE does select FB_CFB_*, so all of the latter

Re: [PATCH v2 1/9] PCI/VGA: Move vgaarb to drivers/pci

2021-07-22 Thread Randy Dunlap
On 7/22/21 2:29 PM, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The VGA arbiter is really PCI-specific and doesn't depend on any GPU > things. Move it to the PCI subsystem. > > Signed-off-by: Bjorn Helgaas > --- > drivers/gpu/vga/Kconfig | 19 --- > drivers/gpu/vg

Re: [PATCH] drm/nouveau/kms/nv50-: fix build failure with CONFIG_BACKLIGHT=n

2021-07-23 Thread Randy Dunlap
On 7/23/21 2:15 AM, Arnd Bergmann wrote: > From: Arnd Bergmann > > When the backlight support is disabled, the driver fails to build: > > drivers/gpu/drm/nouveau/dispnv50/disp.c: In function > 'nv50_sor_atomic_disable': > drivers/gpu/drm/nouveau/dispnv50/disp.c:1665:59: error: 'struct > nouvea

Re: [PATCH] drm/nouveau/kms/nv50-: fix build failure with CONFIG_BACKLIGHT=n

2021-07-23 Thread Randy Dunlap
On 7/23/21 8:15 AM, Karol Herbst wrote: > On Fri, Jul 23, 2021 at 5:10 PM Randy Dunlap wrote: >> >> On 7/23/21 2:15 AM, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> When the backlight support is disabled, the driver fails to build: >>&

[PATCH] efi: sysfb_efi: fix build when EFI is not set

2021-07-26 Thread Randy Dunlap
platform_device *pd) ^~ Signed-off-by: Randy Dunlap Cc: Ard Biesheuvel Cc: linux-...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Javier Martinez Canillas Cc: Thomas Zimmermann Cc: Mark Brown Cc: linux-n...@vger.kernel.org --- drivers/firmware/efi

Re: [PATCH] drm/pl111: Remove unused including

2021-07-27 Thread Randy Dunlap
On 7/26/21 10:21 PM, Cai Huoqing wrote: > Remove including that don't need it. > > Signed-off-by: Cai Huoqing Acked-by: Randy Dunlap as reported by 'make versioncheck': ../drivers/gpu/drm/pl111/pl111_display.c: 14 linux/version.h not needed. ../drivers/gpu/drm/pl1

Re: [PATCH 33/64] lib: Introduce CONFIG_TEST_MEMCPY

2021-07-27 Thread Randy Dunlap
On 7/27/21 4:31 PM, Bart Van Assche wrote: > On 7/27/21 1:58 PM, Kees Cook wrote: >> +static int __init test_memcpy_init(void) >> +{ >> +    int err = 0; >> + >> +    err |= test_memcpy(); >> +    err |= test_memmove(); >> +    err |= test_memset(); >> + >> +    if (err) { >> +    pr_warn("FAIL

[PATCH -next] drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled

2021-07-29 Thread Randy Dunlap
Also use shorter IS_ENABLED(CONFIG_foo) notation for checking the 2 config symbols. Fixes: 91b03fc6b50c ("drm/amdgpu: Check pmops for desired suspend state") Signed-off-by: Randy Dunlap Cc: Alex Deucher Cc: Christian König Cc: "Pan, Xinhui" Cc: amd-...@lists

Re: [PATCH v2] drm/bridge/sii8620: fix dependency on extcon

2021-04-09 Thread Randy Dunlap
On 4/8/21 6:07 AM, Robert Foss wrote: > The DRM_SIL_SII8620 kconfig has a weak `imply` dependency > on EXTCON, which causes issues when sii8620 is built > as a builtin and EXTCON is built as a module. > > The symptoms are 'undefined reference' errors caused > by the symbols in EXTCON not being ava

[PATCH -next] drm: bridge: fix ANX7625 use of mipi_dsi_() functions

2021-04-15 Thread Randy Dunlap
quot;mipi_dsi_detach" [drivers/gpu/drm/bridge/analogix/anx7625.ko] undefined! Fixes: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Xin Ji Cc: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org Cc:

[PATCH -next] drm: bridge: fix LONTIUM use of mipi_dsi_() functions

2021-04-15 Thread Randy Dunlap
] undefined! WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") Fixes: 30e2ae943c26 (&qu

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-04-19 Thread Randy Dunlap
ridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -169,7 +169,7 @@ config DRM_SIL_SII8620 > tristate "Silicon Image SII8620 HDMI/MHL bridge" > depends on OF > select DRM_KMS_HELPER > - imply EXTCON > + select EXTCON > depe

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-04-19 Thread Randy Dunlap
On 4/19/21 10:10 AM, Randy Dunlap wrote: > On 4/19/21 2:01 AM, Robert Foss wrote: >> The DRM_SIL_SII8620 kconfig has a weak `imply` dependency >> on EXTCON, which causes issues when sii8620 is built >> as a builtin and EXTCON is built as a module. >> >> The

[PATCH] drm: rcar-du: fix linker undefined references

2021-04-23 Thread Randy Dunlap
rcar_du_kms.c:(.text+0xd08): undefined reference to `rcar_cmm_init' Fixes: e08e934d6c28 ("drm: rcar-du: Add support for CMM") Fixes: 02f2b30032c1 ("drm: rcar-du: lvds: Add API to enable/disable clock output") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc:

Re: [PATCH] drm: rcar-du: fix linker undefined references

2021-04-23 Thread Randy Dunlap
On 4/23/21 2:46 PM, Laurent Pinchart wrote: Hi Randy, Thank you for the patch. On Fri, Apr 23, 2021 at 02:37:27PM -0700, Randy Dunlap wrote: When DRM_RCAR_DU=y and DRM_RCAR_LVDS=m, there are several build errors as reported by 'kernel test robot'. These can be corrected by changing

Re: [PATCH] drm: rcar-du: fix linker undefined references

2021-04-23 Thread Randy Dunlap
On 4/23/21 2:56 PM, Randy Dunlap wrote: On 4/23/21 2:46 PM, Laurent Pinchart wrote: Hi Randy, Thank you for the patch. On Fri, Apr 23, 2021 at 02:37:27PM -0700, Randy Dunlap wrote: When DRM_RCAR_DU=y and DRM_RCAR_LVDS=m, there are several build errors as reported by 'kernel test

Re: [PATCH 01/12] vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICE

2021-04-23 Thread Randy Dunlap
On 4/23/21 4:02 PM, Jason Gunthorpe wrote: > @@ -171,7 +171,7 @@ config SAMPLE_VFIO_MDEV_MDPY_FB > > config SAMPLE_VFIO_MDEV_MBOCHS > tristate "Build VFIO mdpy example mediated device sample code -- > loadable modules only" You can drop the ending of the prompt string. > - depends o

[PATCH v2] drm: rcar-du: fix linker undefined references

2021-04-23 Thread Randy Dunlap
ion `rcar_du_modeset_init': rcar_du_kms.c:(.text+0xd08): undefined reference to `rcar_cmm_init' All RCAR kconfig combinations now build for me. Fixes: e08e934d6c28 ("drm: rcar-du: Add support for CMM") Fixes: 02f2b30032c1 ("drm: rcar-du: lvds: Add API to enable/disable clock output

[PATCH v3] drm: rcar: unbreak the R-Car menu items

2021-04-23 Thread Randy Dunlap
AR_DU"). This makes the kconfig menu presentation much cleaner. Signed-off-by: Randy Dunlap Cc: Laurent Pinchart Cc: Kieran Bingham Cc: dri-devel@lists.freedesktop.org Cc: linux-renesas-...@vger.kernel.org Cc: Koji Matsuoka Cc: David Airlie Cc: Geert Uytterhoeven --- v2: use an if/endif

[PATCH] drm: bridge: add missing word in Analogix help text

2021-04-23 Thread Randy Dunlap
Insert a missing word "power" in Kconfig help text. Fixes: 6aa192698089 ("drm/bridge: Add Analogix anx6345 support") Signed-off-by: Randy Dunlap Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org C

[PATCH] drm: i915: fix build when ACPI is disabled and BACKLIGHT=m

2021-04-26 Thread Randy Dunlap
lay/intel_panel.o: in function `intel_backlight_device_unregister': intel_panel.c:(.text+0x2f93): undefined reference to `backlight_device_unregister' Fixes: 912e8b12eedb ("drm/i915: register backlight device also when backlight class is a module") Fixes: 44c1220a441c ("drm/i915: extract intel_pan

Re: [PATCH 01/12] vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICE

2021-04-26 Thread Randy Dunlap
On 4/26/21 11:26 AM, Jason Gunthorpe wrote: > On Fri, Apr 23, 2021 at 05:08:10PM -0700, Randy Dunlap wrote: >> On 4/23/21 4:02 PM, Jason Gunthorpe wrote: >>> @@ -171,7 +171,7 @@ config SAMPLE_VFIO_MDEV_MDPY_FB >>> >>> config SAMPLE_VFIO_MDEV_MBOCHS >&

Re: [PATCH] drm: i915: fix build when ACPI is disabled and BACKLIGHT=m

2021-04-27 Thread Randy Dunlap
On 4/27/21 1:03 AM, Jani Nikula wrote: > On Mon, 26 Apr 2021, Randy Dunlap wrote: >> When CONFIG_DRM_I915=y, CONFIG_ACPI is not set, and >> CONFIG_BACKLIGHT_CLASS_DEVICE=m, not due to I915 config, >> there are build errors trying to reference backlight_device_{un}register(

[PATCH -next] drm/i915: fix i915_globals_exit() section mismatch error

2021-08-04 Thread Randy Dunlap
section and the fix is to remove the __exit annotation of __i915_globals_flush. ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. Fixes: 1354d830cb8f ("drm/i915: Call i915_globals_exit() if pci_register_device() fails") Signed-off-by: Ra

[PATCH] drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments

2021-08-07 Thread Randy Dunlap
ter the above Fixes: 0e0036c7d13b ("drm/amdgpu: fix no full coverage issue for gprs initialization") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Alex Deucher Cc: Christian König Cc: "Pan, Xinhui" Cc: Dennis Li Cc: amd-...@lists.freedesktop.org Cc: dri

[PATCH] drm/amd/display: use do-while-0 for DC_TRACE_LEVEL_MESSAGE()

2021-08-08 Thread Randy Dunlap
[-Wempty-body] 113 | *state, retry_count); Fixes: b30eda8d416c ("drm/amd/display: Add ETW log to dmub_psr_get_state") Signed-off-by: Randy Dunlap Cc: Wyatt Wood Cc: Alex Deucher Cc: Christian König Cc: "Pan, Xinhui" Cc: Harry Wentland Cc: Leo Li Cc: amd

Re: [PATCH] dma-buf: Fix a few typos in dma-buf documentation

2021-08-09 Thread Randy Dunlap
On 8/9/21 5:22 AM, Gal Pressman wrote: Fix a few typos in the documentation: - Remove an extraneous 'or' - 'unpins' -> 'unpin' - 'braket' -> 'bracket' - 'mappinsg' -> 'mappings' - 'fullfills' -> 'fu

Re: [PATCH] gpu: drm: i915: gt: Rudimentary typo fix in the file intel_timeline.c

2021-03-13 Thread Randy Dunlap
On 3/13/21 8:43 PM, Bhaskar Chowdhury wrote: > > s/bariers/barriers/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/i915/gt/intel_timeline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: [PATCH] gpu: drm: amd: pm: Mundane typo fix in the file amdgpu_pm.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:57 PM, Bhaskar Chowdhury wrote: > > s/maxmum/maximum/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > b/drivers/gpu/drm/amd/pm/amdgpu_pm.c

Re: [PATCH V2] drm: amd: pm: Mundane typo fixes in the file amdgpu_pm.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 8:21 PM, Bhaskar Chowdhury wrote: > > s/"an minimum"/"a minimum"/ > s/"an maxmum"/"a maximum"/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Randy's suggestion to

Re: [PATCH] gpu: drm: Rudimentary typo fix in the file drm_drv.c

2021-03-17 Thread Randy Dunlap
On 3/17/21 1:52 AM, Bhaskar Chowdhury wrote: > > s/refence-count/reference-count/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/drm_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/

Re: [PATCH] drm: Few typo fixes

2021-03-18 Thread Randy Dunlap
On 3/18/21 7:25 AM, Joe Perches wrote: > On Thu, 2021-03-18 at 16:07 +0530, Bhaskar Chowdhury wrote: >> s/instatiated/instantiated/ >> s/unreference/unreferenced/ > > []> diff --git a/drivers/gpu/drm/drm_property.c > b/drivers/gpu/drm/drm_property.c > [] >> @@ -644,7 +644,7 @@ EXPORT_SYMBOL(drm_p

Re: [PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Randy Dunlap
On 3/18/21 4:33 AM, Bhaskar Chowdhury wrote: > > s/traing/training/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c > b/drivers/gpu/drm/amd/amdgp

Re: [PATCH] drm/i915/gt: A typo fix

2021-03-18 Thread Randy Dunlap
On 3/18/21 3:19 AM, Bhaskar Chowdhury wrote: > > s/bariers/barriers/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/i915/gt/intel_timeline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: [PATCH] drm/meson: Fix few typo

2021-03-18 Thread Randy Dunlap
On 3/18/21 4:00 AM, Bhaskar Chowdhury wrote: > > s/initialy/initially/ > s/desined/designed/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/meson/meson_venc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH] drm/msm/dp: Fixed couple of typos

2021-03-18 Thread Randy Dunlap
On 3/17/21 11:26 PM, Bhaskar Chowdhury wrote: > s/modueles/modules/ two different places > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/msm/dp/dp_power.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --g

Re: [PATCH V2] drm/amdgpu: Fix a typo

2021-03-20 Thread Randy Dunlap
On Fri, 19 Mar 2021, Bhaskar Chowdhury wrote: s/traing/training/ ...Plus the entire sentence construction for better readability. Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Alex and Randy's suggestions incorporated. drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 8 1 file ch

Re: [PATCH] drm/atomic: Couple of typo fixes

2021-03-20 Thread Randy Dunlap
On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote: s/seralization/serialization/ s/parallism/parallelism/ Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap --- drivers/gpu/drm/drm_atomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH] drm/vmwgfx: Fix a typo

2021-03-20 Thread Randy Dunlap
On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote: s/particuar/particular/ Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap --- drivers/gpu/drm/vmwgfx/vmwgfx_so.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_so.c b/drivers/gpu

Re: [PATCH] dt-bindings: display: Fix a typo

2021-03-21 Thread Randy Dunlap
On 3/21/21 7:29 PM, Bhaskar Chowdhury wrote: > > s/Subsytem/Subsystem/ > > Signed-off-by: Bhaskar Chowdhury > --- > Documentation/devicetree/bindings/display/msm/mdp5.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/mdp5

Re: [PATCH] drm/msm/dpu: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/22/21 5:06 AM, Bhaskar Chowdhury wrote: > > s/poiner/pointer/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/

Re: [PATCH] drm/msm/dpu: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/21/21 11:27 PM, Bhaskar Chowdhury wrote: > > s/struture/structure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dr

Re: [PATCH] video: mmp: Few typo fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 6:02 AM, Bhaskar Chowdhury wrote: > > s/configed/configured/ > s/registed/registered/ > s/defintions/definitions/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > include/video/mmp_disp.h | 6 +++--- > 1 file changed, 3 insertions(+

Re: [PATCH] drm/amd: Fix a typo in two different sentences

2021-03-22 Thread Randy Dunlap
On 3/22/21 2:06 PM, Bhaskar Chowdhury wrote: > > s/defintion/definition/ .two different places. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/amd/include/atombios.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH] drm/nouveau/bios/init: A typo fix

2021-03-24 Thread Randy Dunlap
On 3/23/21 11:34 PM, Bhaskar Chowdhury wrote: > > s/conditon/condition/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/d

Re: [PATCH] drm/radeon/r600_cs: Couple of typo fixes

2021-03-24 Thread Randy Dunlap
On 3/24/21 6:50 AM, Bhaskar Chowdhury wrote: > > s/miror/mirror/ > s/needind/needing/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/radeon/r600_cs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/r600_cs.c > b/drivers/gpu/drm

Re: [PATCH V2] drm/radeon/r600_cs: Few typo fixes

2021-03-24 Thread Randy Dunlap
On 3/24/21 4:29 PM, Bhaskar Chowdhury wrote: > s/miror/mirror/ > s/needind/needing/ > s/informations/information/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap Thanks. > --- > Changes from V1: > Randy's finding incorporated ,i.e in one pl

Re: [PATCH] drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v2

2021-01-19 Thread Randy Dunlap
Hi, Just a comment about the comments: On 1/18/21 10:03 AM, Christian König wrote: > DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT can't be used when we hold locks > since we are basically waiting for userspace to do something. > > Holding a lock while doing so can trivial deadlock with page faults > e

Re: linux-next: Tree for Jan 22 (drm/i915)

2021-01-23 Thread Randy Dunlap
and 86 trees of bug > fix patches pending for the current merge release). > > Stats about the size of the tree over time can be seen at > http://neuling.org/linux-next-size.html . > > Status of my local build tests will be at > http://kisskb.ellerman.id.au/linux-next . If maint

Re: linux-next: Tree for Jan 22 (amdgpu)

2021-01-23 Thread Randy Dunlap
On 1/21/21 11:06 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210121: > on i386: ERROR: modpost: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "__divdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! -- ~Randy

Re: mmotm 2021-01-25-21-18 uploaded (drm/i915/Kconfig.debug)

2021-01-28 Thread Randy Dunlap
OMPILE_TEST=y: WARNING: unmet direct dependencies detected for DRM_I915_WERROR Depends on [n]: HAS_IOMEM [=y] && DRM_I915 [=m] && EXPERT [=y] && !COMPILE_TEST [=y] Selected by [m]: - DRM_I915_DEBUG [=y] && HAS_IOMEM [=y] && EXPERT [=y] && D

Re: linux-next: Tree for Jan 27 (drm/i915)

2021-01-28 Thread Randy Dunlap
On 1/27/21 11:30 AM, Randy Dunlap wrote: > On 1/27/21 11:08 AM, Randy Dunlap wrote: >> On 1/27/21 6:44 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Note: the patch file has failed to upload :-( >>> >>> Changes since 20210125: >>>

Re: linux-next: Tree for Jan 27 (drm/i915)

2021-01-28 Thread Randy Dunlap
cit declaration of function ‘wbinvd_on_all_cpus’; did you mean ‘wrmsr_on_cpus’? [-Werror=implicit-function-declaration] wbinvd_on_all_cpus(); -- ~Randy Reported-by: Randy Dunlap ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lis

Re: linux-next: Tree for Jan 27 (drm/i915)

2021-01-28 Thread Randy Dunlap
On 1/27/21 11:08 AM, Randy Dunlap wrote: > On 1/27/21 6:44 AM, Stephen Rothwell wrote: >> Hi all, >> >> Note: the patch file has failed to upload :-( >> >> Changes since 20210125: >> > > on x86_64: > > ../drivers/gpu/drm/i915/i915_gem.c: In fu

Re: [PATCH 2/2] dmabuf: Add dmabuf inode no to fdinfo

2021-01-28 Thread Randy Dunlap
On 1/28/21 10:24 AM, Kalesh Singh wrote: > The dmabuf inode number allows userspace to uniquely identify the buffer > and avoids a dependency on /proc//fd/* when accounting per-process > DMA buffer sizes. > > Signed-off-by: Kalesh Singh > --- > drivers/dma-buf/dma-buf.c | 1 + > 1 file changed,

Re: [PATCH 2/2] dmabuf: Add dmabuf inode no to fdinfo

2021-01-28 Thread Randy Dunlap
On 1/28/21 10:24 AM, Kalesh Singh wrote: > The dmabuf inode number allows userspace to uniquely identify the buffer > and avoids a dependency on /proc//fd/* when accounting per-process > DMA buffer sizes. > > Signed-off-by: Kalesh Singh > --- > drivers/dma-buf/dma-buf.c | 1 + > 1 file changed,

Re: linux-next: Tree for Feb 1 (drivers/gpu/drm/i915/i915_gem.c)

2021-02-02 Thread Randy Dunlap
_on_all_cpus’; did you mean ‘wrmsr_on_cpus’? [-Werror=implicit-function-declaration] wbinvd_on_all_cpus(); Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r7539.gz Description: application/gzip ___ dri-devel mail

Re: linux-next: Tree for Feb 4 (gpu/drm/i915/)

2021-02-04 Thread Randy Dunlap
wbinvd_on_all_cpus’; did you mean ‘wrmsr_on_cpus’? [-Werror=implicit-function-declaration] wbinvd_on_all_cpus(); Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunlap config-r7644.gz Description: application/gzip ___

Re: [PATCH v3 2/2] dmabuf: Add dmabuf inode number to /proc/*/fdinfo

2021-02-05 Thread Randy Dunlap
++ > drivers/dma-buf/dma-buf.c | 1 + > 2 files changed, 18 insertions(+) > Acked-by: Randy Dunlap # for Documentation/filesystems/proc.rst -- ~Randy ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v2 2/2] dmabuf: Add dmabuf inode number to /proc/*/fdinfo

2021-02-05 Thread Randy Dunlap
On 2/4/21 3:28 PM, Kalesh Singh wrote: > If a FD refers to a DMA buffer add the DMA buffer inode number to > /proc//fdinfo/ and /proc//task//fdindo/. > > The dmabuf inode number allows userspace to uniquely identify the buffer > and avoids a dependency on /proc//fd/* when accounting per-process >

Re: [PATCH] drivers: gpu: drm: msn: disp: dpu1: Fixed couple of spellings in the file dpu_hw_top.h

2021-02-05 Thread Randy Dunlap
On 2/5/21 12:47 AM, Bhaskar Chowdhury wrote: > > > s/confguration/configuration/ > s/Regsiters/Registers/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/msm/di

Re: linux-next: Tree for Feb 11 (drivers/gpu/drm/i915/display/intel_panel.o)

2021-02-11 Thread Randy Dunlap
of the tree over time can be seen at > http://neuling.org/linux-next-size.html . > > Status of my local build tests will be at > http://kisskb.ellerman.id.au/linux-next . If maintainers want to give > advice about cross compilers/configs that work, we are always open to add >

Re: [PATCH 02/30] drm/dp: Fixup kernel docs for struct drm_dp_aux

2021-02-19 Thread Randy Dunlap
ede constant values with % so they're formatted > correctly > > Signed-off-by: Lyude Paul Acked-by: Randy Dunlap Thanks. > --- > include/drm/drm_dp_helper.h | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > -- ~Randy

Re: [PATCH 01/30] drm/dp: Rewrap kdocs for struct drm_dp_aux

2021-02-19 Thread Randy Dunlap
On 2/19/21 1:52 PM, Lyude Paul wrote: > Since we're about to be adding some more fields and update this > documentation, let's rewrap it to the new column limit of 100 beforehand. > No actual doc or functional changes are made here. > The preferred column limit is still 80. For some (exceptional)

Re: [PATCH] video: fbdev: pm2fb: avoid stall on fb_sync

2021-02-20 Thread Randy Dunlap
Hi-- On 2/20/21 3:02 PM, Tong Zhang wrote: > pm2fb_sync is called when doing /dev/fb read or write. > The original pm2fb_sync wait indefinitely on hardware flags which can > possibly stall kernel and make everything unresponsive. > Instead of waiting indefinitely, we can timeout to give user a cha

Re: [PATCH v2] video: fbdev: pm2fb: avoid stall on fb_sync

2021-02-20 Thread Randy Dunlap
On 2/20/21 4:00 PM, Tong Zhang wrote: > pm2fb_sync is called when doing /dev/fb read or write. > The original pm2fb_sync wait indefinitely on hardware flags which can > possibly stall kernel and make everything unresponsive. > Instead of waiting indefinitely, we can timeout to give user a chance to

[PATCH] fbdev: atyfb: add stubs for aty_{ld,st}_lcd()

2021-02-21 Thread Randy Dunlap
=implicit-function-declaration] 2002 | pm = aty_ld_lcd(POWER_MANAGEMENT, par); ../drivers/video/fbdev/aty/atyfb_base.c:2004:2: error: implicit declaration of function 'aty_st_lcd'; did you mean 'aty_st_8'? [-Werror=implicit-function-declaration] 2004 | aty_st_lcd(POWER_

Re: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c

2021-02-22 Thread Randy Dunlap
On 2/22/21 12:18 AM, Bhaskar Chowdhury wrote: > > s/negtive/negative/ > s/possilbe/possible/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/i915/gvt/gtt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > dif

Re: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c

2021-02-22 Thread Randy Dunlap
On 2/22/21 6:21 AM, Randy Dunlap wrote: > On 2/22/21 12:18 AM, Bhaskar Chowdhury wrote: >> >> s/negtive/negative/ >> s/possilbe/possible/ >> >> Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap except the Subject has a typo in it. s/gnu/gpu/ &g

Re: linux-next: Tree for Feb 24 [drivers/gpu/drm/amd/amdgpu/amdgpu.ko]

2021-02-23 Thread Randy Dunlap
rs/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "__umoddi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "__divdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! Full randconfig file is attached. -- ~Randy Reported-by: Randy Dunl

Re: [PATCH] fbdev: atyfb: add stubs for aty_{ld,st}_lcd()

2021-02-24 Thread Randy Dunlap
On 2/22/21 9:44 AM, Ville Syrjälä wrote: > On Sun, Feb 21, 2021 at 07:28:53PM -0800, Randy Dunlap wrote: >> Fix build errors when these functions are not defined. >> >> ../drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_power_mgmt': >> ../drivers/video

[PATCH -next] fbdev: atyfb: always declare aty_{ld,st}_lcd()

2021-02-24 Thread Randy Dunlap
sed in mach64_ct.c. Fixes: bfa5782b9caa ("fbdev: atyfb: add stubs for aty_{ld,st}_lcd()") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Daniel Vetter Cc: Nick Desaulniers Cc: linux-fb...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Bartlomiej Zolnierkie

Re: [PATCH -next] fbdev: atyfb: always declare aty_{ld,st}_lcd()

2021-02-24 Thread Randy Dunlap
On 2/24/21 2:07 PM, Nick Desaulniers wrote: > On Wed, Feb 24, 2021 at 1:55 PM Randy Dunlap wrote: >> >> The previously added stubs for aty_{ld,}st_lcd() make it >> so that these functions are used regardless of the config >> options that were guarding them, so remove

[PATCH -next] fbdev: atyfb: use LCD management functions for PPC_PMAC also

2021-02-25 Thread Randy Dunlap
Include PPC_PMAC in the configs that use aty_ld_lcd() and aty_st_lcd() implementations so that the PM code may work correctly for PPC_PMAC. Suggested-by: Ville Syrjälä Signed-off-by: Randy Dunlap Cc: Daniel Vetter Cc: Nick Desaulniers Cc: linux-fb...@vger.kernel.org Cc: dri-devel

Re: [PATCH -next] fbdev: atyfb: use LCD management functions for PPC_PMAC also

2021-02-26 Thread Randy Dunlap
On 2/26/21 4:12 AM, Ville Syrjälä wrote: > On Thu, Feb 25, 2021 at 04:05:37PM -0800, Randy Dunlap wrote: >> Include PPC_PMAC in the configs that use aty_ld_lcd() and >> aty_st_lcd() implementations so that the PM code may work >> correctly for PPC_PMAC. >> >> Sugge

[PATCH -next v2] fbdev: atyfb: use LCD management functions for PPC_PMAC also

2021-02-26 Thread Randy Dunlap
Include PPC_PMAC in the configs that use aty_ld_lcd() and aty_st_lcd() implementations so that the PM code may work correctly for PPC_PMAC. Suggested-by: Ville Syrjälä Signed-off-by: Randy Dunlap Cc: Daniel Vetter Cc: Nick Desaulniers Cc: linux-fb...@vger.kernel.org Cc: dri-devel

Re: [PATCH v6 2/3] drm/i915/display: Restructure output format computation for better expandability

2021-05-07 Thread Randy Dunlap
On 5/7/21 10:52 AM, Ville Syrjälä wrote: > On Fri, May 07, 2021 at 10:49:02AM +0200, Werner Sembach wrote: >> Couples the decission between RGB and YCbCr420 mode and the check if the >> port clock can archive the required frequency. Other checks and >> configuration steps that where previously done

[PATCH -next] drm: simpledrm: print resource info using '%pr'

2021-05-12 Thread Randy Dunlap
%x Fixes: 4aae79f77e3a ("drm/simpledrm: Acquire memory aperture for framebuffer") Signed-off-by: Randy Dunlap Cc: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/tiny/simpledrm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

Re: [PATCH v3] drm: rcar: unbreak the R-Car menu items

2021-05-14 Thread Randy Dunlap
ping? thanks. On 4/23/21 8:46 PM, Randy Dunlap wrote: > DRM_RCAR_CMM depends on DRM_RCAR_DU. Since the following Kconfig > symbols do not depend on DRM_RCAR_DU, the menu presentation is > broken for the following R-Car Kconfig symbols. > > Use an if/endif block to make all o

Re: [PATCH v2] drm: rcar-du: fix linker undefined references

2021-05-14 Thread Randy Dunlap
ping? thanks. On 4/23/21 5:12 PM, Randy Dunlap wrote: > When DRM_RCAR_DU=y and DRM_RCAR_LVDS=m, there are several build errors > as reported by 'kernel test robot'. These can be corrected by changing > source code occurrences of IS_ENABLED(...) to IS_REACHABLE(...). > >

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-05-14 Thread Randy Dunlap
On 4/19/21 10:54 AM, Randy Dunlap wrote: > On 4/19/21 10:10 AM, Randy Dunlap wrote: >> On 4/19/21 2:01 AM, Robert Foss wrote: >>> The DRM_SIL_SII8620 kconfig has a weak `imply` dependency >>> on EXTCON, which causes issues when sii8620 is built >>> as a bui

Re: [PATCH v3] drm/bridge/sii8620: fix dependency on extcon

2021-05-15 Thread Randy Dunlap
asking because the 0day bot sent out a build failure that this patch fixes, but it was dated 2021-MAY-05, so I guess I can just ignore it, since it is so old. :) > On Sat, 15 May 2021 at 07:35, Randy Dunlap wrote: >> >> On 4/19/21 10:54 AM, Randy Dunlap wrote: >>> On 4/19/21

Re: [PATCH 1/3] gpu: drm: replace occurrences of invalid character

2021-05-19 Thread Randy Dunlap
r. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Randy Dunlap Thanks. > --- > drivers/gpu/drm/amd/include/atombios.h | 10 +- > drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 +- > drivers/gpu/drm/i915/i915_gpu_error.h| 2 +- > drivers/gpu/dr

[PATCH] fbdev: aty: SPARC64 requires FB_ATY_CT

2020-11-26 Thread Randy Dunlap
ld errors: ERROR: modpost: "aty_postdividers" [drivers/video/fbdev/aty/atyfb.ko] undefined! ERROR: modpost: "aty_ld_pll_ct" [drivers/video/fbdev/aty/atyfb.ko] undefined! Fixes: f7018c213502 ("video: move fbdev to drivers/video/fbdev") Signed-off-by: Randy Dunlap Cc: "David

[PATCH v2] fbdev: aty: SPARC64 requires FB_ATY_CT

2020-11-27 Thread Randy Dunlap
bled, resulting in build errors: ERROR: modpost: "aty_postdividers" [drivers/video/fbdev/aty/atyfb.ko] undefined! ERROR: modpost: "aty_ld_pll_ct" [drivers/video/fbdev/aty/atyfb.ko] undefined! Fixes: f7018c213502 ("video: move fbdev to drivers/video/fbdev") Signed-off-by:

Re: [PATCH] fbdev: aty: SPARC64 requires FB_ATY_CT

2020-11-27 Thread Randy Dunlap
On 11/26/20 12:29 AM, Geert Uytterhoeven wrote: > Hi Randy, > > On Thu, Nov 26, 2020 at 1:40 AM Randy Dunlap wrote: >> It looks like SPARC64 requires FB_ATY_CT to build without errors, >> so adjust the Kconfig entry of FB_ATY_CT so that it is always 'y' >>

Re: [PATCH v2 16/28] video: fbdev: hgafb: Fix kernel-doc warnings

2020-11-29 Thread Randy Dunlap
Hi Sam- On 11/28/20 2:41 PM, Sam Ravnborg wrote: > Fix kernel-doc comments. > > v2: > - Updated subject (Lee) > > Signed-off-by: Sam Ravnborg > Cc: Ferenc Bakonyi > Cc: linux-nvi...@lists.surfsouth.com > Cc: Lee Jones > --- > drivers/video/fbdev/hgafb.c | 4 ++-- > 1 file changed, 2 insert

Re: [PATCH v3 02/13] video: fbdev: core: Fix kernel-doc warnings in fbmon + fb_notify

2020-12-07 Thread Randy Dunlap
xt: or Note:. However, the documented format for return info is "Return:". (see Documentation/doc-guide/kernel-doc.rst) > Signed-off-by: Sam Ravnborg > Cc: Lee Jones > Cc: Sam Ravnborg > Cc: Randy Dunlap > Cc: Bartlomiej Zolnierkiewicz > Cc: Daniel Vetter > Cc:

Re: [PATCH v3 02/13] video: fbdev: core: Fix kernel-doc warnings in fbmon + fb_notify

2020-12-07 Thread Randy Dunlap
On 12/6/20 12:52 PM, Sam Ravnborg wrote: > Hi Randy. > > On Sun, Dec 06, 2020 at 11:37:17AM -0800, Randy Dunlap wrote: >> On 12/6/20 11:02 AM, Sam Ravnborg wrote: >>> Fix kernel-doc warnings reported when using W=1 >>> >>> v2: >>> - Im

Re: [PATCH v3 01/13] video: fbdev: hgafb: Fix kernel-doc warnings

2020-12-07 Thread Randy Dunlap
e > + * @info: pointer to fb_info object containing info for current hga board > + * @init: open by console system or userland. > */ > > static int hgafb_release(struct fb_info *info, int init) > LGTM. Thanks. Acked-by: Randy Dunlap -- ~Randy ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v3 02/13] video: fbdev: core: Fix kernel-doc warnings in fbmon + fb_notify

2020-12-08 Thread Randy Dunlap
On 12/7/20 12:16 AM, Thomas Zimmermann wrote: > Hi > > Am 06.12.20 um 20:37 schrieb Randy Dunlap: >> On 12/6/20 11:02 AM, Sam Ravnborg wrote: >>> Fix kernel-doc warnings reported when using W=1 >>> >>> v2: >>>    - Improve subject (Lee) >

Re: [PATCH -next] : correct a function name in kernel-doc

2021-06-29 Thread Randy Dunlap
On 6/29/21 9:10 AM, Daniel Vetter wrote: > On Tue, Jun 29, 2021 at 05:55:15PM +0200, Daniel Vetter wrote: >> On Sun, Jun 27, 2021 at 05:40:12PM -0700, Randy Dunlap wrote: >>> Fix kernel-doc function name warning: >>> >>> ../include/linux/dma-resv.h:2

[PATCH -next] drm: vmwgfx: add header file for ttm_range_manager

2021-06-30 Thread Randy Dunlap
an_fini’; did you mean ‘ttm_pool_mgr_fini’? [-Werror=implicit-function-declaration] ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM); Fixes: 9c3006a4cc1b ("drm/ttm: remove available_caching") Fixes: a343160235f5 ("drm/vmwgfx/ttm: fix the non-THP cleanup path.") Signed

Re: [PATCH v1] fix vmwgfx compilation error due to a missing include

2021-07-09 Thread Randy Dunlap
On 7/9/21 11:09 AM, Tong Zhang wrote: > This patch fixes vmwgfx driver compilation error due to a missing include > > drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function ‘vmw_vram_manager_init’: > drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of > function ‘ttm_range_man_ini

[PATCH -next] drm: nouveau: fix disp.c build when NOUVEAU_BACKLIGHT is not enabled

2021-07-14 Thread Randy Dunlap
disp.c:1662:22: warning: unused variable ‘drm’ [-Wunused-variable] struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); ^~~ Fixes: 6eca310e8924 ("drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau") Signed-off-by: Randy Dunlap Cc

[PATCH] fbdev: simplefb: limit its use to DRM_SIMPLEDRM=n

2021-07-18 Thread Randy Dunlap
deo/fbdev/simplefb.o:(.rodata+0x34): undefined reference to `cfb_imageblit' Fixes: 11e8f5fd223b ("drm: Add simpledrm driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Hans de Goede Cc: linux-fb...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Th

Re: [PATCH 2/3] mm: Extract might_alloc() debug check

2020-11-21 Thread Randy Dunlap
Hi, On 11/20/20 1:54 AM, Daniel Vetter wrote: > diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h > index d5ece7a9a403..f94405d43fd1 100644 > --- a/include/linux/sched/mm.h > +++ b/include/linux/sched/mm.h > @@ -180,6 +180,22 @@ static inline void fs_reclaim_acquire(gfp_t gfp_mask)

[PATCH] drm/amd/display: DCN3.1: don't mark as kernel-doc

2022-03-26 Thread Randy Dunlap
drm/amd/display: Add DCN3.1 OPTC") Signed-off-by: Randy Dunlap Cc: Alex Deucher Cc: Nicholas Kazlauskas Cc: amd-...@lists.freedesktop.org Cc: Christian König Cc: "Pan, Xinhui" Cc: Harry Wentland Cc: Leo Li Cc: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dcn31/dcn31_o

[PATCH] drm: sti: don't use kernel-doc markers

2022-03-26 Thread Randy Dunlap
m/sti/sti_hdmi.c:555: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Software reset of the hdmi subsystem Fixes: 5402626c83a2 ("drm: sti: add HDMI driver") Signed-off-by: Randy D

Re: [syzbot] BUG: unable to handle kernel paging request in vga16fb_fillrect

2021-08-29 Thread Randy Dunlap
On 7/13/21 10:16 PM, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:3dbdb38e Merge branch 'for-5.14' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1323c40230 kernel config: https://syzkaller.appspot

  1   2   3   4   5   6   7   8   9   >