Re: [PATCH 13/20] drm/i915/ttm: mappable migration on fault

2022-02-02 Thread Thomas Hellström
On 1/26/22 16:21, Matthew Auld wrote: The end goal is to have userspace tell the kernel what buffers will require CPU access, however if we ever reach the CPU fault handler, and the current resource is not mappable, then we should attempt to migrate the buffer to the mappable portion of LMEM, o

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Krzysztof Kozlowski
On 02/02/2022 17:52, nick.hawk...@hpe.com wrote: > From: Nick Hawkins > > GXP is the name of the HPE SoC. > This SoC is used to implement BMC features of HPE servers > (all ProLiant, Synergy, and many Apollo, and Superdome machines) > It does support many features including: > ARMv7 archite

Re: Kconfig CONFIG_FB dependency regression

2022-02-02 Thread Arnd Bergmann
On Thu, Feb 3, 2022 at 12:55 AM Thinh Nguyen wrote: > Arnd Bergmann wrote: > > On Wed, Feb 2, 2022 at 1:14 AM Thinh Nguyen > > wrote: > >> Fabio Estevam wrote: > > > > CONFIG_FB should not normally be needed for booting, so unless > > you have a graphical application in your initramfs that requi

[PATCH] drm/modes: Fix drm_mode_validate_size() docs

2022-02-02 Thread Ville Syrjala
From: Ville Syrjälä drm_mode_validate_size() does *not* modify the passed in mode's status (in fact it is passed in as const). Also this operates on a single mode, so the reference to some list is just confusing. Remove the nonsense docs. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_mo

Re: [PATCH v6] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Sam Ravnborg
Hi Daniel, I assume you will take this. Patch is: Reviewed-by: Sam Ravnborg Sam On Wed, Feb 02, 2022 at 03:58:08PM -0800, Yizhuo Zhai wrote: > In function do_fb_ioctl(), the "arg" is the type of unsigned long, > and in "case FBIOBLANK:" this argument is casted into an int before > pass

[PATCH -next] drm/amdkfd: Fix resource_size.cocci warning

2022-02-02 Thread Yang Li
Use resource_size function on resource object instead of explicit computation. Eliminate the following coccicheck warning: ./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:978:11-14: ERROR: Missing resource_size with res Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdkfd/

Re: [PATCH RESEND v5 3/4] drm/bridge: anx7625: Support reading edid through aux channel

2022-02-02 Thread kernel test robot
Hi Hsin-Yi, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on next-20220202] [cannot apply to robh/for-next drm-intel/for-linux-next v5.17-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[pull] amdgpu drm-fixes-5.17

2022-02-02 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.17. The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c: Linux 5.17-rc2 (2022-01-30 15:37:07 +0200) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-5.17-2022-02-02 for you to fe

[Bug 201957] amdgpu: ring gfx timeout

2022-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #64 from Alex Deucher (alexdeuc...@gmail.com) --- (In reply to Jon from comment #61) > Chiming in as another victim of: > [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125! > This is just a symptom of an applica

Re: Kconfig CONFIG_FB dependency regression

2022-02-02 Thread Randy Dunlap
Hi-- On 2/2/22 15:55, Thinh Nguyen wrote: > Arnd Bergmann wrote: >> On Wed, Feb 2, 2022 at 1:14 AM Thinh Nguyen >> wrote: >>> Fabio Estevam wrote: On Tue, Feb 1, 2022 at 8:06 PM Randy Dunlap wrote: > > On 2/1/22 15:01, Thinh Nguyen wrote: >> Hi, >> >> One of our test se

Re: [PATCH] drm/exynos: fimd: add BGR support for exynos4/5

2022-02-02 Thread Inki Dae
Hi Martin. Thanks for your contribution, Inki Dae 22. 1. 30. 07:01에 Martin Jücker 이(가) 쓴 글: > In the downstream kernels for exynos4 and exynos5 devices, there is an > undocumented register that controls the order of the RGB output. It can > be set to either normal order or reversed, which enables

[Bug 201957] amdgpu: ring gfx timeout

2022-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #63 from Randune (randyk...@gmail.com) --- (In reply to Jon from comment #61) > Chiming in as another victim of: > [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125! > > Radeon RX 6700 XT (NAVY_FLOUNDER, DRM 3.42

[Bug 201957] amdgpu: ring gfx timeout

2022-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #62 from Randune (randyk...@gmail.com) --- I've been getting "ring gfx timeouts" for some time (See comment 35), most of the time it's when the computer has not had any input for a while (while I'm away from it). When it freezes I can

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Andrew Lunn
> .../bindings/display/hpe,gxp-thumbnail.txt| 21 + > .../devicetree/bindings/gpio/hpe,gxp-gpio.txt | 16 + > .../devicetree/bindings/i2c/hpe,gxp-i2c.txt | 19 + > .../bindings/ipmi/hpegxp-kcs-bmc-cfg.txt | 13 + > .../bindings/ipmi/hpegxp-kcs-bmc.txt | 21 + Hi Nick In a

Re: [PATCH v6] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Guenter Roeck
On Wed, Feb 02, 2022 at 03:58:09PM -0800, Yizhuo Zhai wrote: > In function do_fb_ioctl(), the "arg" is the type of unsigned long, > and in "case FBIOBLANK:" this argument is casted into an int before > passig to fb_blank(). In fb_blank(), the comparision > if (blank > FB_BLANK_POWERDOWN) would be b

[PATCH] drm/amd/pm: add missing prototypes to amdgpu_dpm_internal

2022-02-02 Thread Maíra Canal
Include the header with the prototype to silence the following clang warnings: drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm_internal.c:29:6: warning: no previous prototype for function 'amdgpu_dpm_get_active_displays' [-Wmissing-prototypes] void amdgpu_dpm_get_active_displays(struct amdgpu_device *

linux-next: manual merge of the drm-intel-gt tree with the drm-intel tree

2022-02-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel-gt tree got a conflict in: drivers/gpu/drm/i915/i915_reg.h between commit: 0d6419e9c855 ("drm/i915: Move GT registers to their own header file") from the drm-intel tree and commit: 270677026261 ("drm/i915/dg2: Add Wa_14015227452") from

[Bug 215511] Dual monitor with amd 5700 causes system to hang at startup.

2022-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215511 --- Comment #4 from Jose Mestre (pmes...@gmail.com) --- 0f591d17e36e08313b0c440b99b0e57b47e01a9a is the first bad commit commit 0f591d17e36e08313b0c440b99b0e57b47e01a9a Author: Angus Wang Date: Thu Dec 9 17:27:01 2021 -0500 drm/amd/display

linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2022-02-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/i915_reg.h between commit: b3f74938d656 ("drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference") from the drm-intel-fixes tree and commit: 22ba60f617bd ("drm/i915: Move [mor

[PATCH v6] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

[PATCH v6] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

Re: [RFC][PATCH] Revert "drm/panel-simple: drop use of data-mapping property"

2022-02-02 Thread Laurent Pinchart
Hi Christoph, Thank you for the patch. On Tue, Feb 01, 2022 at 12:07:17PM +0100, Christoph Niedermaier wrote: > Without the data-mapping devicetree property my display won't > work properly. It is flickering, because the bus flags won't > be assigned without a defined bus format by the imx parall

Re: [PATCH v5] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Guenter Roeck
On 2/2/22 15:33, Yizhuo Zhai wrote: In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is

[PATCH v5] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

[PATCH v5] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Corey Minyard
On Wed, Feb 02, 2022 at 10:52:50AM -0600, nick.hawk...@hpe.com wrote: > From: Nick Hawkins > > GXP is the name of the HPE SoC. > This SoC is used to implement BMC features of HPE servers > (all ProLiant, Synergy, and many Apollo, and Superdome machines) > It does support many features including:

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Verdun, Jean-Marie
> This is far too big for a single patch. It needs to be broken into > functional chunks that can be reviewed individually. Each driver and > each device tree change along with it's accompanying code need to be > done in individual patches. The way it is it can't be reviewed in any > sane manner

Re: [Openipmi-developer] [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Corey Minyard
On Wed, Feb 02, 2022 at 06:14:57PM +, Verdun, Jean-Marie wrote: > > This is far too big for a single patch. It needs to be broken into > > functional chunks that can be reviewed individually. Each driver and > > each device tree change along with it's accompanying code need to be > > done in

[PATCH] drm/amd/display: Use NULL pointer instead of plain integer

2022-02-02 Thread Magali Lemes
Assigning 0L to a pointer variable caused the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40: warning: Using plain integer as NULL pointer In order to remove this warning, this commit assigns a NULL pointer to the pointer variable that caused this issue.

[PATCH v4] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

[PATCH v4] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
In function do_fb_ioctl(), the "arg" is the type of unsigned long, and in "case FBIOBLANK:" this argument is casted into an int before passig to fb_blank(). In fb_blank(), the comparision if (blank > FB_BLANK_POWERDOWN) would be bypass if the original "arg" is a large number, which is possible beca

Re: [PATCH] drm/amd/display: Use NULL pointer instead of plain integer

2022-02-02 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Feb 2, 2022 at 5:20 PM Magali Lemes wrote: > > Assigning 0L to a pointer variable caused the following warning: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dsc/rc_calc_fpu.c:71:40: > warning: Using plain integer as NULL pointer > > In order to remove this warn

Re: [PATCH] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Yizhuo Zhai
Not at all, I can draft the new patch and resend. Thanks for all the useful discussion : ) On Wed, Feb 2, 2022 at 9:36 AM Helge Deller wrote: > On 2/2/22 18:27, Sam Ravnborg wrote: > > Hi Helge, > > > > On Tue, Feb 01, 2022 at 04:02:40PM +0100, Helge Deller wrote: > >> On 1/31/22 07:57, Yizhuo Z

Re: [PATCH v2] drm/msm/dp: add wide bus support

2022-02-02 Thread Dmitry Baryshkov
On 02/02/2022 20:49, Kuogee Hsieh wrote: On 2/2/2022 1:56 AM, Dmitry Baryshkov wrote: On 02/02/2022 03:30, Kuogee Hsieh wrote: Normally, mdp will push one pixel of data per pixel clock to interface to display. Wide bus feature will increase bus width from 32 bits to 64 bits so that it can push

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Arnd Bergmann
On Wed, Feb 2, 2022 at 7:14 PM Verdun, Jean-Marie wrote: > > > This is far too big for a single patch. It needs to be broken into > > functional chunks that can be reviewed individually. Each driver and > > each device tree change along with it's accompanying code need to be > > done in individu

Re: [PATCH] drm/i915: Flip guc_id allocation partition

2022-02-02 Thread Michal Wajdeczko
On 13.01.2022 17:27, Matthew Brost wrote: > Move the multi-lrc guc_id from the lower allocation partition (0 to > number of multi-lrc guc_ids) to upper allocation partition (number of > single-lrc to max guc_ids). > > This will help when a native driver transitions to a PF after driver > load t

Re: [PATCH v1 0/3] Add support for eDP PHY on SC7280 platform

2022-02-02 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-11-15 23:07:35) > This series adds support for the eDP PHY on Qualcomm SC7280 platform. > The changes are dependent on v4 of the new eDP PHY driver introduced by Bjorn: > https://patchwork.kernel.org/project/linux-arm-msm/list/?series=575135 > > Sankeerth Billakan

Re: [PATCH v1 1/2] ARM64: dts: qcom: enable eDP panel support for sc7280

2022-02-02 Thread Doug Anderson
Hi, On Mon, Jan 24, 2022 at 11:04 AM Doug Anderson wrote: > > > +&mdss_edp { > > + status = "okay"; > > + > > + vdda-1p2-supply = <&vreg_l6b_1p2>; > > + vdda-0p9-supply = <&vreg_l10c_0p8>; > > + > > + ports { > > + port@1 { > > + reg = <

Re: [PATCH] WIP: drm/dp_mst: Add support for dumping topology ref histories from debugfs

2022-02-02 Thread Lyude Paul
JFYI I should be able to respond to this soon, I think I'm following your issue a bit more (haven't gotten to go through the patches too so I'm probably going to see if I can reproduce it locally as well. Sorry for the delay - dealing with some X.org stuff and work issues at the moment On Tue, 202

Re: [Intel-gfx] [PATCH 1/6] drm: add writeback pointers to drm_connector

2022-02-02 Thread kernel test robot
Hi Kandpal, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip v5.17-rc2 next-20220202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH v2 1/2] drm/msm/gpu: Add ctx to get_param()

2022-02-02 Thread Emma Anholt
On Tue, Feb 1, 2022 at 8:16 AM Rob Clark wrote: > > From: Rob Clark > > Prep work for next patch. > > Signed-off-by: Rob Clark > --- > diff --git a/drivers/gpu/drm/msm/msm_rd.c b/drivers/gpu/drm/msm/msm_rd.c > index 7e4d6460719e..dd3605b46264 100644 > --- a/drivers/gpu/drm/msm/msm_rd.c > +++ b/

Re: [RFC v3 00/12] Define and use reset domain for GPU recovery in amdgpu

2022-02-02 Thread Andrey Grodzovsky
Just another ping, with Shyun's help I was able to do some smoke testing on XGMI SRIOV system (booting and triggering hive reset) and for now looks good. Andrey On 2022-01-28 14:36, Andrey Grodzovsky wrote: Just a gentle ping if people have more comments on this patch set ? Especially last 5 p

[PATCH v3 3/3] drm/msm/dp: replace DRM_DEBUG_DP marco with drm_dbg_dp

2022-02-02 Thread Kuogee Hsieh
Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_audio.c | 49 +++-- drivers/gpu/drm/msm/dp/dp_catalog.c | 34 +++- drivers/gpu/drm/msm/dp/dp_ctrl.c| 106 +++- drivers/gpu/drm/msm/dp/dp_display.c | 68 +-- d

[PATCH v3 2/3] drm/msm/dp: enhance debug info related to dp phy

2022-02-02 Thread Kuogee Hsieh
DP phy should be initialized and exited symmetrically to avoid clock being stucked at either on or off error. Add debug info to cover all DP phy to identify clock issues easily. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_ctrl.c | 20 ++-- 1 file changed, 10 inserti

[PATCH v3 0/3] Add connector_type to debug info to differentiate between eDP and DP

2022-02-02 Thread Kuogee Hsieh
1) Add connector_type to debug info to differentiate between eDP and DP 2) add more debug info to cover dp Phy 3) repalce DRM_DEBUG_DP with drm_debug_dp Kuogee Hsieh (3): drm/msm/dp: add connector type to enhance debug messages drm/msm/dp: enhance debug info related to dp phy drm/msm/dp: re

[PATCH v3 1/3] drm/msm/dp: add connector type to enhance debug messages

2022-02-02 Thread Kuogee Hsieh
DP driver is a generic driver which supports both eDP and DP. For debugging purpose it is required to have capabilities to differentiate message are generated from eDP or DP. This patch add connector type into debug messages for this purpose. Changes in v3: -- replace original patch into 3 patches

Re: fbdev git tree update

2022-02-02 Thread Helge Deller
Hello Sam, On 2/2/22 19:39, Sam Ravnborg wrote: > Hi Helge, >> >>> How come there are backlight, dt-bindings >> >> I didn't know, and I picked up those at the beginning. >> I did agreed with the backlight maintainers that I should >> keep those which are already in my tree, and that I will ignore

Re: [PATCH v2] drm/msm/dp: add connector type to enhance debug messages

2022-02-02 Thread Kuogee Hsieh
On 1/31/2022 6:34 PM, Dmitry Baryshkov wrote: On 27/01/2022 02:46, Kuogee Hsieh wrote: DP driver is a generic driver which supports both eDP and DP. For debugging purpose it is required to have capabilities to differentiate message are generated from eDP or DP. This patch do: 1) add connector

Re: fbdev git tree update

2022-02-02 Thread Sam Ravnborg
Hi Helge, > > > How come there are backlight, dt-bindings > > I didn't know, and I picked up those at the beginning. > I did agreed with the backlight maintainers that I should > keep those which are already in my tree, and that I will ignore > any upcoming new ones. Fine, just include this in t

Re: [PATCH v2] drm/msm/dp: add connector type to enhance debug messages

2022-02-02 Thread Kuogee Hsieh
On 1/31/2022 6:34 PM, Dmitry Baryshkov wrote: On 27/01/2022 02:46, Kuogee Hsieh wrote: DP driver is a generic driver which supports both eDP and DP. For debugging purpose it is required to have capabilities to differentiate message are generated from eDP or DP. This patch do: 1) add connector

Re: fbdev git tree update

2022-02-02 Thread Helge Deller
Hello Sam, On 2/2/22 18:56, Sam Ravnborg wrote: > Hi Helge, > > On Sun, Jan 30, 2022 at 10:05:39PM +0100, Helge Deller wrote: >> Hello DRI and fbdev developers, >> >> I've now mostly checked all queued-up patches on the fbdev mailing list: >> https://patchwork.kernel.org/project/linux-fbdev/list/

Re: [PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread Sam Ravnborg
Hi Nick, good to see all this stuff coming mainline, On Wed, Feb 02, 2022 at 10:52:50AM -0600, nick.hawk...@hpe.com wrote: > From: Nick Hawkins > > GXP is the name of the HPE SoC. > This SoC is used to implement BMC features of HPE servers > (all ProLiant, Synergy, and many Apollo, and Superdom

Re: fbdev git tree update

2022-02-02 Thread Sam Ravnborg
Hi Helge, On Sun, Jan 30, 2022 at 10:05:39PM +0100, Helge Deller wrote: > Hello DRI and fbdev developers, > > I've now mostly checked all queued-up patches on the fbdev mailing list: > https://patchwork.kernel.org/project/linux-fbdev/list/ Nice to see all the pending fbdev patches processed. I

Re: [PATCH v2] drm/msm/dp: add wide bus support

2022-02-02 Thread Kuogee Hsieh
On 2/2/2022 1:56 AM, Dmitry Baryshkov wrote: On 02/02/2022 03:30, Kuogee Hsieh wrote: Normally, mdp will push one pixel of data per pixel clock to interface to display. Wide bus feature will increase bus width from 32 bits to 64 bits so that it can push two pixel of data per pixel clock to int

Re: [RFC][PATCH] Revert "drm/panel-simple: drop use of data-mapping property"

2022-02-02 Thread Denys Drozdov
On 2/1/22 1:07 PM, Christoph Niedermaier wrote: Without the data-mapping devicetree property my display won't work properly. It is flickering, because the bus flags won't be assigned without a defined bus format by the imx parallel display driver. There was a discussion about the removal [1] and

[PATCH] HPE BMC GXP SUPPORT

2022-02-02 Thread nick . hawkins
From: Nick Hawkins GXP is the name of the HPE SoC. This SoC is used to implement BMC features of HPE servers (all ProLiant, Synergy, and many Apollo, and Superdome machines) It does support many features including: ARMv7 architecture, and it is based on a Cortex A9 core Use an AXI

Re: [RFC][PATCH] Revert "drm/panel-simple: drop use of data-mapping property"

2022-02-02 Thread Denys Drozdov
On 2/1/22 1:07 PM, Christoph Niedermaier wrote: Without the data-mapping devicetree property my display won't work properly. It is flickering, because the bus flags won't be assigned without a defined bus format by the imx parallel display driver. There was a discussion about the removal [1] and

Re: [PATCH] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Helge Deller
On 2/2/22 18:27, Sam Ravnborg wrote: > Hi Helge, > > On Tue, Feb 01, 2022 at 04:02:40PM +0100, Helge Deller wrote: >> On 1/31/22 07:57, Yizhuo Zhai wrote: >>> In function do_fb_ioctl(), the "arg" is the type of unsigned long, >> >> yes, because it comes from the ioctl framework... >> >>> and in "ca

[PATCH] drm/i915: opportunistically apply ALLOC_CONTIGIOUS

2022-02-02 Thread Matthew Auld
It looks like this code was accidentally dropped at some point(in a slightly different form), so add it back. The gist is that if we know the allocation will be one single chunk, then we can just annotate the BO with I915_BO_ALLOC_CONTIGUOUS, even if the user doesn't bother. In the future this migh

Re: [PATCH] fbdev: fbmem: Fix the implicit type casting

2022-02-02 Thread Sam Ravnborg
Hi Helge, On Tue, Feb 01, 2022 at 04:02:40PM +0100, Helge Deller wrote: > On 1/31/22 07:57, Yizhuo Zhai wrote: > > In function do_fb_ioctl(), the "arg" is the type of unsigned long, > > yes, because it comes from the ioctl framework... > > > and in "case FBIOBLANK:" this argument is casted into

[RFC v4] drm/amdgpu: Rework reset domain to be refcounted.

2022-02-02 Thread Andrey Grodzovsky
The reset domain contains register access semaphor now and so needs to be present as long as each device in a hive needs it and so it cannot be binded to XGMI hive life cycle. Adress this by making reset domain refcounted and pointed by each member of the hive and the hive itself. v4: Fix crash on

Re: [Intel-gfx] [PATCH v3 1/3] drm: Stop spamming log with drm_cache message

2022-02-02 Thread Rodrigo Vivi
On Tue, Feb 01, 2022 at 09:41:33AM -0800, Lucas De Marchi wrote: > On Tue, Feb 01, 2022 at 09:12:05AM -0800, Jose Souza wrote: > > On Mon, 2022-01-31 at 08:59 -0800, Lucas De Marchi wrote: > > > Only x86 and in some cases PPC have support added in drm_cache.c for the > > > clflush class of function

Re: [PATCH v2 3/3] drm/panel: Add MIPI DBI compatible SPI driver

2022-02-02 Thread Sam Ravnborg
Hi Noralf, > > > > Parts of it is ergonomics I guess. We're used to having all those > > properties either in the DT or the driver, but here we introduce a new > > way that isn't done anywhere else. > > > > And I don't see any real downside to putting it in the DT? It's going to > > be in an ove

Re: [PATCH v12 2/9] drm/ingenic: Add support for JZ4780 and HDMI output

2022-02-02 Thread Paul Boddie
On Wednesday, 2 February 2022 13:41:21 CET Paul Cercueil wrote: > Le mer., févr. 2 2022 at 13:33:15 +0100, H. Nikolaus Schaller> a écrit : > >> Am 02.02.2022 um 13:28 schrieb Paul Cercueil : > >> > >> Note that there are other things not working with your current > >> > >> implementation, fo

Re: [PATCH 5/5] drm/stm: ltdc: add support of ycbcr pixel formats

2022-02-02 Thread Nathan Chancellor
Hi Yannick, On Wed, Dec 15, 2021 at 10:48:43PM +0100, Yannick Fertre wrote: > This patch adds the following YCbCr input pixel formats on the latest > LTDC hardware version: > > 1 plane (co-planar) : YUYV, YVYU, UYVY, VYUY > 2 planes (semi-planar): NV12, NV21 > 3 planes (full-planar): YU12=I420=

[PATCH v13 8/9] MIPS: DTS: CI20: fix how ddc power is enabled

2022-02-02 Thread H. Nikolaus Schaller
Originally we proposed a new hdmi-5v-supply regulator reference for CI20 device tree but that was superseded by a better idea to use the already defined "ddc-en-gpios" property of the "hdmi-connector". Since "MIPS: DTS: CI20: Add DT nodes for HDMI setup" has already been applied to v5.17-rc1, we a

[PATCH v13 5/9] drm/synopsys+ingenic: repair hot plug detection

2022-02-02 Thread H. Nikolaus Schaller
so that it calls drm_kms_helper_hotplug_event(). We need to set .poll_enabled but that struct component can only be accessed in the core code. Hence we add a public setter function. Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 9 + drivers/gpu/drm/

[PATCH v13 6/9] dw-hdmi/ingenic-dw-hdmi: repair interworking with hdmi-connector

2022-02-02 Thread H. Nikolaus Schaller
Commit 7cd70656d1285b ("drm/bridge: display-connector: implement bus fmts callbacks") introduced a new mechanism to negotiate bus formats between hdmi connector and the synopsys hdmi driver inside the jz4780. By this, the dw-hdmi is no longer the only bridge and sets up a list of formats in dw_h

[PATCH v13 4/9] drm/ingenic: Add dw-hdmi driver specialization for jz4780

2022-02-02 Thread H. Nikolaus Schaller
From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Here we add Kconfig DRM_INGENIC_DW_HDMI, Makefile and driver code. Signed-off-by: Paul Boddie Signed-off-by:

[PATCH v13 7/9] drm/bridge: display-connector: add ddc-en gpio support

2022-02-02 Thread H. Nikolaus Schaller
"hdmi-connector.yaml" bindings defines an optional property "ddc-en-gpios" for a single gpio to enable DDC operation. Usually this controls +5V power on the HDMI connector. This +5V may also be needed for HPD. This was not reflected in code. Now, the driver activates the ddc gpio after probe and

[PATCH v13 3/9] dt-bindings: display: Add ingenic, jz4780-dw-hdmi DT Schema

2022-02-02 Thread H. Nikolaus Schaller
From: Sam Ravnborg Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Based on .txt binding from Zubair Lutfullah Kakakhel Signed-off-by: Sam Ravnborg Signed-off-by: H. Nikolaus Schaller Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring --- .../display/bri

[PATCH v13 2/9] drm/ingenic: Add support for JZ4780 and HDMI output

2022-02-02 Thread H. Nikolaus Schaller
From: Paul Boddie Add support for the LCD controller present on JZ4780 SoCs. This SoC uses 8-byte descriptors which extend the current 4-byte descriptors used for other Ingenic SoCs. Tested on MIPS Creator CI20 board. Signed-off-by: Paul Boddie Signed-off-by: Ezequiel Garcia Signed-off-by: H.

[PATCH v13 1/9] drm/ingenic: prepare ingenic drm for later addition of JZ4780

2022-02-02 Thread H. Nikolaus Schaller
This changes the way the regmap is allocated to prepare for the later addition of the JZ4780 which has more registers and bits than the others. Therefore we make the regmap as big as the reg property in the device tree tells. Suggested-by: Paul Cercueil Signed-off-by: H. Nikolaus Schaller ---

[PATCH v13 0/9] MIPS: JZ4780 and CI20 HDMI

2022-02-02 Thread H. Nikolaus Schaller
PATCH V13 2022-02-02 17:31:22: * 7/9: remove call to gpiod_set_value() because of GPIOD_OUT_HIGH (by p...@crapouillou.net) * 4/9: replace ".." by "." (by p...@crapouillou.net) * 3/9: remove old hdmi-5v-power in the example (by p...@crapouillou.net) * 2/9: disable handling of plane f0 only for jz47

Re: [PATCH v5 0/5] drm: exynos: dsi: Convert drm bridge

2022-02-02 Thread Jagan Teki
Hi Marek, On Fri, Jan 21, 2022 at 6:14 PM Marek Szyprowski wrote: > > Hi Jagan, > > On 21.01.2022 12:40, Jagan Teki wrote: > > On Fri, Jan 21, 2022 at 5:06 PM Marek Szyprowski > > wrote: > >> On 17.01.2022 09:42, Jagan Teki wrote: > >>> Updated series about drm bridge conversion of exynos dsi. >

Re: [RFC v2 00/22] Add Support for Plane Color Lut and CSC features

2022-02-02 Thread Harry Wentland
On 2021-09-06 17:38, Uma Shankar wrote: > This is how a typical display color hardware pipeline looks like: > +---+ > |RAM| > | +--++-++-+ | > | | FB 1 || FB 2 || FB N

[PATCH RESEND v5 4/4] dt-bindings: drm/bridge: anx7625: Add aux-bus node

2022-02-02 Thread Hsin-Yi Wang
List panel under aux-bus node if it's connected to anx7625's aux bus. Signed-off-by: Hsin-Yi Wang --- .../display/bridge/analogix,anx7625.yaml| 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/

[PATCH RESEND v5 3/4] drm/bridge: anx7625: Support reading edid through aux channel

2022-02-02 Thread Hsin-Yi Wang
Support reading edid through aux channel if panel is connected to aux bus. Extend anx7625_aux_dpcd_trans() to implement aux transfer function: 1. panel is populated in devm_of_dp_aux_populate_ep_devices(), so move anx7625_parse_dt() after. 2. Use pm runtime autosuspend since aux transfer functi

[PATCH RESEND v5 2/4] drm/bridge: anx7625: Convert to use devm_kzalloc

2022-02-02 Thread Hsin-Yi Wang
Use devm_kzalloc instead of kzalloc and drop kfree(). Let the memory handled by driver detach. Signed-off-by: Hsin-Yi Wang Reviewed-by: Xin Ji --- v2->v3: remove kfree() in anx7625_i2c_remove(). --- drivers/gpu/drm/bridge/analogix/anx7625.c | 10 +++--- 1 file changed, 3 insertions(+), 7 de

[PATCH RESEND v5 1/4] drm/bridge: anx7625: send DPCD command to downstream

2022-02-02 Thread Hsin-Yi Wang
From: Xin Ji Send DPCD command to downstream before anx7625 power down, let downstream monitor enter into standby mode. Signed-off-by: Xin Ji Signed-off-by: Hsin-Yi Wang Reviewed-by: Hsin-Yi Wang --- v3->v4: Use common DP_AUX_NATIVE_READ/WRITE Previously in: https://patchwork.kernel.org/proj

Re: [PATCH 1/4] drm: Add I2C connector type

2022-02-02 Thread Noralf Trønnes
Den 02.02.2022 16.04, skrev Pekka Paalanen: > On Wed, 2 Feb 2022 10:45:42 +0100 > Noralf Trønnes wrote: > >> Den 02.02.2022 10.14, skrev Thomas Zimmermann: >>> Hi Noralf, >>> >>> since you're here, I'll just hijack the discussion to ask something only >>> semi-related. >>> >>> IIRC the gud dri

Re: [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Jani Nikula
On Wed, 02 Feb 2022, Dmitry Baryshkov wrote: > On Wed, 2 Feb 2022 at 16:15, Jani Nikula wrote: >> >> On Wed, 02 Feb 2022, Laurent Pinchart >> wrote: >> > Hi Kandpal, >> > >> > Thank you for the patch. >> > >> > On Wed, Feb 02, 2022 at 02:24:28PM +0530, Kandpal Suraj wrote: >> >> Changing rcar_d

Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'

2022-02-02 Thread Thomas Zimmermann
Linux next 20220202 arm architecture. - arm-gcc-10-omap2plus_defconfig - arm-clang-nightly-shmobile_defconfig - arm-gcc-8-lpc32xx_defconfig - arm-clang-13-shmobile_defconfig - arm-gcc-10-shmobile_defconfig - arm-clang-11-shmobile_defconfig - arm-clang-11

Re: [PATCH v4 00/10] Add MEMORY_DEVICE_COHERENT for coherent device memory mapping

2022-02-02 Thread Jason Gunthorpe
On Wed, Feb 02, 2022 at 03:57:50PM +0100, Christoph Hellwig wrote: > On Thu, Jan 27, 2022 at 02:32:58PM -0800, Andrew Morton wrote: > > On Wed, 26 Jan 2022 21:09:39 -0600 Alex Sierra wrote: > > > > > This patch series introduces MEMORY_DEVICE_COHERENT, a type of memory > > > owned by a device tha

Re: [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Jani Nikula
On Wed, 02 Feb 2022, Laurent Pinchart wrote: > Hi Jani, > > On Wed, Feb 02, 2022 at 03:15:03PM +0200, Jani Nikula wrote: >> On Wed, 02 Feb 2022, Laurent Pinchart wrote: >> > On Wed, Feb 02, 2022 at 02:24:28PM +0530, Kandpal Suraj wrote: >> >> Changing rcar_du driver to accomadate the change of >>

Re: [next] arm: panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight'

2022-02-02 Thread Doug Anderson
Hi, On Wed, Feb 2, 2022 at 2:25 AM Thomas Zimmermann wrote: > > Hi > > Am 02.02.22 um 10:28 schrieb Ard Biesheuvel: > > On Wed, 2 Feb 2022 at 10:08, Thomas Zimmermann wrote: > >> > >> Hi > >> > >> Am 02.02.22 um 10:02 schrieb Naresh Kamboju

[PATCH v2 2/2] drm/st7735r: Add SPI ID table

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by ensuring that there are SPI IDs for a

[PATCH v2 0/2] drm/tiny: Ensure DT compatibles have SPI device IDs

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so this series adds SPI IDs where they aren't provided for a given modalias. v2: - Rebase onto

[PATCH v2 1/2] drm/ili9486: Add SPI ID table

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by ensuring that there are SPI IDs for a

[PATCH v2 3/3] drm/ili9486: Add SPI ID table

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by ensuring that there are SPI IDs for a

[PATCH v2 2/3] drm/panel-novotek-nt39016: Add SPI ID table

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding an id_table listing the SPI ID

[PATCH v2 1/3] drm/panel-ilitek-il9322: Add SPI ID table

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding an id_table listing the SPI ID

[PATCH v2 0/3] drm/panel: Ensure DT compatibles have SPI device IDs

2022-02-02 Thread Mark Brown
Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so this series adds SPI IDs where they aren't provided for a given modalias. v2: - Rebase onto

Re: [PATCH v4] phy: dphy: Correct clk_pre parameter

2022-02-02 Thread Vinod Koul
On 24-01-22, 10:40, Liu Ying wrote: > The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE > parameter's unit is Unit Interval(UI) and the minimum value is 8. Also, > kernel doc of the 'clk_pre' member of struct phy_configure_opts_mipi_dphy > mentions that it should be in UI. How

Re: [PATCH 1/4] drm: Add I2C connector type

2022-02-02 Thread Pekka Paalanen
On Wed, 2 Feb 2022 10:45:42 +0100 Noralf Trønnes wrote: > Den 02.02.2022 10.14, skrev Thomas Zimmermann: > > Hi Noralf, > > > > since you're here, I'll just hijack the discussion to ask something only > > semi-related. > > > > IIRC the gud driver doesn't update the display immediately during at

Re: [PATCH v4 0/3] Fix regression introduced by disabling accelerated scrolling in fbcon

2022-02-02 Thread Daniel Vetter
On Wed, Feb 02, 2022 at 02:55:28PM +0100, Helge Deller wrote: > This series reverts two patches which disabled scrolling acceleration in > fbcon/fbdev. Those patches introduced a regression for fbdev-supported graphic > cards because of the performance penalty by doing screen scrolling by software

Re: [PATCH v10 2/6] dt-bindings: gpio: logicvc: Add a compatible with major version only

2022-02-02 Thread Robin Murphy
On 2022-01-30 00:46, Linus Walleij wrote: On Thu, Jan 20, 2022 at 4:00 PM Paul Kocialkowski wrote: There are lots of different versions of the logicvc block and it makes little sense to list them all in compatibles since all versions with the same major are found to be register-compatible. T

Re: [PATCH v2] dma-buf-map: Rename to iosys-map

2022-02-02 Thread Sumit Semwal
Hello Lucas, On Wed, 2 Feb 2022 at 15:08, Lucas De Marchi wrote: > > On Wed, Feb 02, 2022 at 10:25:28AM +0100, Christian König wrote: > >Am 02.02.22 um 10:11 schrieb Lucas De Marchi: > >>[SNIP] > >>diff --git a/MAINTAINERS b/MAINTAINERS > >>index d03ad8da1f36..112676f11792 100644 > >>--- a/MAINTA

[PATCH v4 3/3] fbcon: Add option to enable legacy hardware acceleration

2022-02-02 Thread Helge Deller
Add a config option CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION to enable bitblt and fillrect hardware acceleration in the framebuffer console. If disabled, such acceleration will not be used, even if it is supported by the graphics hardware driver. If you plan to use DRM as your main graphics

[PATCH v4 2/3] Revert "fbcon: Disable accelerated scrolling"

2022-02-02 Thread Helge Deller
This reverts commit 39aead8373b3c20bb5965c024dfb51a94e526151. Revert the first (of 2) commits which disabled scrolling acceleration in fbcon/fbdev. It introduced a regression for fbdev-supported graphic cards because of the performance penalty by doing screen scrolling by software instead of usin

  1   2   3   >