Re: [PATCH 2/2] phy: mtk-mipi-csi: add driver for CSI phy

2023-04-06 Thread 云春峰
On Mon, 2023-04-03 at 09:19 +0200, Julien Stephan wrote: > External email : Please do not click links or open attachments until > you have verified the sender or the content. > > > From: Phi-bang Nguyen > > This is a new driver that supports the MIPI CSI CD-PHY for mediatek > mt8365 soc > >

Re: [PATCH 2/2] phy: mtk-mipi-csi: add driver for CSI phy

2023-04-06 Thread 云春峰
On Mon, 2023-04-03 at 09:19 +0200, Julien Stephan wrote: > External email : Please do not click links or open attachments until > you have verified the sender or the content. > > > From: Phi-bang Nguyen > > This is a new driver that supports the MIPI CSI CD-PHY for mediatek > mt8365 soc > >

RE: [PATCH 0/7] Enable YCbCr420 format for VDSC

2023-04-06 Thread Kandpal, Suraj
Hi Dmitry > -Original Message- > From: Dmitry Baryshkov > Sent: Friday, April 7, 2023 8:28 AM > To: Kandpal, Suraj ; Jani Nikula > ; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org > Cc: Nautiyal, Ankit K ; Shankar, Uma > ; Maarten Lankhorst > > Subject: Re: [PATCH

Re: [PATCH 0/7] Enable YCbCr420 format for VDSC

2023-04-06 Thread Dmitry Baryshkov
Hi Suraj On 28/03/2023 16:20, Kandpal, Suraj wrote: -Original Message- From: dri-devel On Behalf Of Jani Nikula Sent: Wednesday, March 8, 2023 5:00 PM To: Kandpal, Suraj ; dri- de...@lists.freedesktop.org; intel-...@lists.freedesktop.org Cc: Dmitry Baryshkov ; Nautiyal, Ankit K ;

Re: [PATCH] drm/ast: Fix ARM compatibility

2023-04-06 Thread Jammy Huang
Hi Thomas, Could you help review this patch?? We met some problem on nvidia's ARM platfrom and need this patch to fix it. On 2023/3/2 上午 10:19, Jammy Huang wrote: ARM architecture only has 'memory', so all devices are accessed by MMIO. Signed-off-by: Jammy Huang ---

[PATCH] drm/msm/adreno: fix sparse warnings in a6xx code

2023-04-06 Thread Dmitry Baryshkov
Sparse reports plenty of warnings against the a6xx code because of a6xx_gmu::mmio and a6xx_gmu::rscc members. For some reason they were defined as __iomem pointers rather than pointers to __iomem memory. Correct the __iomem attribute. Fixes: 02ef80c54e7c ("drm/msm/a6xx: update pdc/rscc GMU

Re: [CI] drm/i915/mtl: Define GuC firmware version for MTL

2023-04-06 Thread Lucas De Marchi
On Fri, Mar 31, 2023 at 03:52:16PM -0700, john.c.harri...@intel.com wrote: From: John Harrison First release of GuC for Meteorlake. NB: As this is still pre-release and likely to change, use explicit versioning for now. The official, full release will use reduced version naming.

RE: [RFC PATCH 00/10] Xe DRM scheduler and long running workload plans

2023-04-06 Thread Zeng, Oak
So this series basically go with option 2. The part that option2 makes me uncomfortable is, dma-fence doesn't work for long running workload, why we generate it in the first place? As long as dma-fence is generated, it will become a source of confusion in the future. It doesn't matter how much

Re: [Regression] drm/scheduler: track GPU active time per entity

2023-04-06 Thread Luben Tuikov
On 2023-04-06 06:45, Lucas Stach wrote: > Am Donnerstag, dem 06.04.2023 um 10:27 +0200 schrieb Daniel Vetter: >> On Thu, 6 Apr 2023 at 10:22, Christian König >> wrote: >>> >>> Am 05.04.23 um 18:09 schrieb Luben Tuikov: On 2023-04-05 10:05, Danilo Krummrich wrote: > On 4/4/23 06:31,

Re: [Regression] drm/scheduler: track GPU active time per entity

2023-04-06 Thread Luben Tuikov
On 2023-04-06 04:22, Christian König wrote: > Am 05.04.23 um 18:09 schrieb Luben Tuikov: >> On 2023-04-05 10:05, Danilo Krummrich wrote: >>> On 4/4/23 06:31, Luben Tuikov wrote: On 2023-03-28 04:54, Lucas Stach wrote: > Hi Danilo, > > Am Dienstag, dem 28.03.2023 um 02:57 +0200

[PATCH 0/5] Improvements to GuC error capture list processing

2023-04-06 Thread John . C . Harrison
From: John Harrison The GuC error capture list creation was including Gen8 registers on Xe platforms. While fixing that, it was noticed that there were other issues. The platform naming was wrong, the naming of lists was misleading, the steered register code was duplicated and steered registers

[PATCH 5/5] drm/i915/guc: Capture list clean up - 4

2023-04-06 Thread John . C . Harrison
From: John Harrison Don't use GEN9 as a prefix for register lists that contain all GEN8 registers. Signed-off-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 3/5] drm/i915/guc: Capture list clean up - 2

2023-04-06 Thread John . C . Harrison
From: John Harrison Don't use 'xe_lp*' prefixes for register lists that are common with Gen8. Signed-off-by: John Harrison --- .../gpu/drm/i915/gt/uc/intel_guc_capture.c| 30 +-- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH 4/5] drm/i915/guc: Capture list clean up - 3

2023-04-06 Thread John . C . Harrison
From: John Harrison Fix Xe_LP name. Signed-off-by: John Harrison --- .../gpu/drm/i915/gt/uc/intel_guc_capture.c| 44 +-- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c

[PATCH 2/5] drm/i915/guc: Capture list clean up - 1

2023-04-06 Thread John . C . Harrison
From: John Harrison Remove 99% duplicated steered register list code. Also, include the pre-Xe steered registers in the pre-Xe list generation. Signed-off-by: John Harrison --- .../gpu/drm/i915/gt/uc/intel_guc_capture.c| 112 +- 1 file changed, 29 insertions(+), 83

[PATCH 1/5] drm/i915/guc: Don't capture Gen8 regs on Xe devices

2023-04-06 Thread John . C . Harrison
From: John Harrison A pair of pre-Xe registers were being included in the Xe capture list. GuC was rejecting those as being invalid and logging errors about them. So, stop doing it. Signed-off-by: John Harrison Fixes: dce2bd542337 ("drm/i915/guc: Add Gen9 registers for GuC error state

Re: [Regression] drm/scheduler: track GPU active time per entity

2023-04-06 Thread Luben Tuikov
On 2023-04-06 11:58, Lucas Stach wrote: > Am Mittwoch, dem 05.04.2023 um 16:44 -0400 schrieb Luben Tuikov: >> On 2023-04-05 13:44, Lucas Stach wrote: >>> Hi Luben, >>> >>> Am Dienstag, dem 04.04.2023 um 00:31 -0400 schrieb Luben Tuikov: On 2023-03-28 04:54, Lucas Stach wrote: > Hi Danilo,

[RFC 2/2] drm/msm: Add memory stats to fdinfo

2023-04-06 Thread Rob Clark
From: Rob Clark Use the new helper to export stats about memory usage. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_drv.c | 26 +- drivers/gpu/drm/msm/msm_gpu.c | 2 -- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git

[RFC 1/2] drm: Add fdinfo memory stats

2023-04-06 Thread Rob Clark
From: Rob Clark Add a helper to dump memory stats to fdinfo. For the things the drm core isn't aware of, use a callback. Signed-off-by: Rob Clark --- Documentation/gpu/drm-usage-stats.rst | 21 +++ drivers/gpu/drm/drm_file.c| 79 +++

[RFC 0/2] drm: fdinfo memory stats

2023-04-06 Thread Rob Clark
From: Rob Clark Similar motivation to other similar recent attempt[1]. But with an attempt to have some shared code for this. As well as documentation. It is probably a bit UMA-centric, I guess devices with VRAM might want some placement stats as well. But this seems like a reasonable start.

Re: [PATCH] drm/vkms: add module parameter to set background color

2023-04-06 Thread kernel test robot
Hi Maíra, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc5 next-20230406] [If your patch is applied to the wrong

[PATCH 68/68] hwmon: w83773g: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/w83773g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/w83773g.c b/drivers/hwmon/w83773g.c index

[PATCH 67/68] hwmon: w83627ehf: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/w83627ehf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index

[PATCH 66/68] hwmon: tps23861: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tps23861.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tps23861.c b/drivers/hwmon/tps23861.c index

[PATCH 65/68] hwmon: tmp513: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tmp513.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c index

[PATCH 64/68] hwmon: tmp464: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tmp464.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp464.c b/drivers/hwmon/tmp464.c index

[PATCH 63/68] hwmon: tmp108: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tmp108.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp108.c b/drivers/hwmon/tmp108.c index

[PATCH 62/68] hwmon: tmp103: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tmp103.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp103.c b/drivers/hwmon/tmp103.c index

[PATCH 61/68] hwmon: tmp102: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/tmp102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/tmp102.c b/drivers/hwmon/tmp102.c index

[PATCH 60/68] hwmon: sy7636a: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sy7636a-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sy7636a-hwmon.c b/drivers/hwmon/sy7636a-hwmon.c index

[PATCH 59/68] hwmon: sparx5-temp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sparx5-temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sparx5-temp.c b/drivers/hwmon/sparx5-temp.c index

[PATCH 58/68] hwmon: smpro: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/smpro-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/smpro-hwmon.c b/drivers/hwmon/smpro-hwmon.c index

[PATCH 57/68] hwmon: sl28cpld: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sl28cpld-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sl28cpld-hwmon.c b/drivers/hwmon/sl28cpld-hwmon.c

[PATCH 56/68] hwmon: sht4x: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sht4x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sht4x.c b/drivers/hwmon/sht4x.c index

[PATCH 55/68] hwmon: sch5627: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sch5627.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sch5627.c b/drivers/hwmon/sch5627.c index

[PATCH 54/68] hwmon: sbtsi_temp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sbtsi_temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sbtsi_temp.c b/drivers/hwmon/sbtsi_temp.c index

[PATCH 53/68] hwmon: sbrmi: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/sbrmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/sbrmi.c b/drivers/hwmon/sbrmi.c index

[PATCH 52/68] hwmon: raspberrypi: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/raspberrypi-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/raspberrypi-hwmon.c

[PATCH 51/68] hwmon: powr1220: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/powr1220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/powr1220.c b/drivers/hwmon/powr1220.c index

[PATCH 50/68] hwmon: peci: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/peci/cputemp.c | 2 +- drivers/hwmon/peci/dimmtemp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 49/68] hwmon: oxp-sensors: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/oxp-sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c index

[PATCH 48/68] hwmon: nzxt: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/nzxt-kraken2.c | 2 +- drivers/hwmon/nzxt-smart2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/nzxt-kraken2.c

[PATCH 47/68] hwmon: ntc_thermistor: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ntc_thermistor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c

[PATCH 46/68] hwmon: npcm750-pwm: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/npcm750-pwm-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/npcm750-pwm-fan.c b/drivers/hwmon/npcm750-pwm-fan.c

[PATCH 45/68] hwmon: nct7904: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/nct7904.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/nct7904.c b/drivers/hwmon/nct7904.c index

[PATCH 44/68] hwmon: mlxreg: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/mlxreg-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/mlxreg-fan.c b/drivers/hwmon/mlxreg-fan.c index

[PATCH 43/68] hwmon: mcp3021: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/mcp3021.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/mcp3021.c b/drivers/hwmon/mcp3021.c index

(Attn. Skeggsb) Re: [PATCH] drm/nouveau/gr/tu102: remove unused tu102_gr_load function

2023-04-06 Thread Lyude Paul
Hey Ben - this patch looks fine to me but I figured I should check before giving it the OK: I assume we're not planning on using tu102_gr_load for anything in the future? (if we are, do we want to just #if 0 this for the time being?) On Thu, 2023-04-06 at 08:51 -0400, Tom Rix wrote: > smatch

[PATCH 42/68] hwmon: mc34vr500: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/mc34vr500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/mc34vr500.c b/drivers/hwmon/mc34vr500.c index

[PATCH 41/68] hwmon: max6650: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max6650.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max6650.c b/drivers/hwmon/max6650.c index

[PATCH 40/68] hwmon: max6621: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max6621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max6621.c b/drivers/hwmon/max6621.c index

[PATCH 38/68] hwmon: max31790: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max31790.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max31790.c b/drivers/hwmon/max31790.c index

[PATCH 39/68] hwmon: max6620: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max6620.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max6620.c b/drivers/hwmon/max6620.c index

[PATCH 36/68] hwmon: max31730: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max31730.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max31730.c b/drivers/hwmon/max31730.c index

[PATCH 35/68] hwmon: max127: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max127.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max127.c b/drivers/hwmon/max127.c index

[PATCH 37/68] hwmon: max31760: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/max31760.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max31760.c b/drivers/hwmon/max31760.c index

[PATCH 32/68] hwmon: ltc2992: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ltc2992.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ltc2992.c b/drivers/hwmon/ltc2992.c index

[PATCH 34/68] hwmon: ltq-cputemp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ltq-cputemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ltq-cputemp.c b/drivers/hwmon/ltq-cputemp.c index

[PATCH 33/68] hwmon: ltc4245: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ltc4245.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ltc4245.c b/drivers/hwmon/ltc4245.c index

[PATCH 31/68] hwmon: ltc2947: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ltc2947-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ltc2947-core.c b/drivers/hwmon/ltc2947-core.c index

[PATCH 30/68] hwmon: lochnagar: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lochnagar-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lochnagar-hwmon.c b/drivers/hwmon/lochnagar-hwmon.c

[PATCH 29/68] hwmon: lm95245: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lm95245.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm95245.c b/drivers/hwmon/lm95245.c index

[PATCH 28/68] hwmon: lm95241: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lm95241.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm95241.c b/drivers/hwmon/lm95241.c index

[PATCH 27/68] hwmon: lm83: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lm83.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 616449f2cc50..bcaf31ec176e

[PATCH 26/68] hwmon: lm75: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lm75.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index bcc3adcb3af1..dbb99ea4a0ec

[PATCH 25/68] hwmon: lan966x: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/lan966x-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lan966x-hwmon.c b/drivers/hwmon/lan966x-hwmon.c index

[PATCH 24/68] hwmon: k8temp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/k8temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/k8temp.c b/drivers/hwmon/k8temp.c index

[PATCH 23/68] hwmon: k10temp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/k10temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index

[PATCH 19/68] hwmon: ina238: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ina238.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ina238.c b/drivers/hwmon/ina238.c index

[PATCH 22/68] hwmon: jc42: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/jc42.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 8523bf974310..4c60dc520b12

[PATCH 20/68] hwmon: ina3221: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ina3221.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ina3221.c b/drivers/hwmon/ina3221.c index

[PATCH 21/68] hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/intel-m10-bmc-hwmon.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/hwmon/intel-m10-bmc-hwmon.c

[PATCH 18/68] hwmon: i5500_temp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/i5500_temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/i5500_temp.c b/drivers/hwmon/i5500_temp.c index

[PATCH 17/68] hwmon: gxp-fan: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/gxp-fan-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/gxp-fan-ctrl.c b/drivers/hwmon/gxp-fan-ctrl.c index

[PATCH 15/68] hwmon: emc2305: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/emc2305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/emc2305.c b/drivers/hwmon/emc2305.c index

[PATCH 16/68] hwmon: ftsteutates: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/ftsteutates.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c index

[PATCH 09/68] hwmon: as370: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/as370-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/as370-hwmon.c b/drivers/hwmon/as370-hwmon.c index

[PATCH 14/68] hwmon: drivetemp: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/drivetemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/drivetemp.c b/drivers/hwmon/drivetemp.c index

[PATCH 10/68] hwmon: axi-fan: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/axi-fan-control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/axi-fan-control.c b/drivers/hwmon/axi-fan-control.c

[PATCH 13/68] hwmon: dell-smm: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/dell-smm-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c

[PATCH 08/68] hwmon: aquacomputer: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/aquacomputer_d5next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/aquacomputer_d5next.c

[PATCH 12/68] hwmon: corsair: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/corsair-cpro.c | 2 +- drivers/hwmon/corsair-psu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/corsair-cpro.c

[PATCH 11/68] hwmon: bt1-pvt: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/bt1-pvt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/bt1-pvt.c b/drivers/hwmon/bt1-pvt.c index

[PATCH 07/68] hwmon: aht10: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/aht10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/aht10.c b/drivers/hwmon/aht10.c index

[PATCH 06/68] hwmon: adt7x10: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/adt7x10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adt7x10.c b/drivers/hwmon/adt7x10.c index

[PATCH 05/68] hwmon: adt7470: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/adt7470.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adt7470.c b/drivers/hwmon/adt7470.c index

[PATCH 03/68] hwmon: adm9240: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/adm9240.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c index

[PATCH 04/68] hwmon: adt7411: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/adt7411.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c index

[PATCH 02/68] hwmon: adm1177: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Statically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski --- drivers/hwmon/adm1177.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/adm1177.c b/drivers/hwmon/adm1177.c index

[PATCH 01/68] hwmon: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
HWmon core receives an array of pointers to hwmon_channel_info and it does not modify it, thus it can be array of const pointers for safety. This allows drivers to make them also const. Signed-off-by: Krzysztof Kozlowski --- Documentation/hwmon/hwmon-kernel-api.rst | 6 +++---

[PATCH 00/68] hwmon: constify pointers to hwmon_channel_info

2023-04-06 Thread Krzysztof Kozlowski
Hi, The first patch constifies the hwmon_channel_info pointers in the core, so all the drivers can be updated - all patches here depend on the first one. If the approach is fine, I will later update other subsystems. Best regards, Krzysztof Krzysztof Kozlowski (68): hwmon: constify pointers

[PATCH] drm/amd/display: set variables aperture_default_system and context0_default_system storage-class-specifier to static

2023-04-06 Thread Tom Rix
smatch reports drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubp.c:758:10: warning: symbol 'aperture_default_system' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubp.c:759:10: warning: symbol 'context0_default_system' was not declared.

Re: [PATCH 12/18] arch/parisc: Implement fb_is_primary_device() under arch/parisc

2023-04-06 Thread Rolf Eike Beer
Am Mittwoch, 5. April 2023, 17:05:48 CEST schrieb Thomas Zimmermann: > Move PARISC's implementation of fb_is_primary_device() into the > architecture directory. This the place of the declaration and > where other architectures implement this function. No functional > changes. > diff --git

Re: [PATCH 00/18] arch: Consolidate

2023-04-06 Thread Rolf Eike Beer
Am Mittwoch, 5. April 2023, 17:05:36 CEST schrieb Thomas Zimmermann: > Various architectures provide with helpers for fbdev ^ *lol* Eike signature.asc Description: This is a digitally signed message part.

[PATCH v2 2/2] drm: bridge: samsung-dsim: Implement support for clock/data polarity swap

2023-04-06 Thread Fabio Estevam
From: Marek Vasut Implement support for DSI clock and data lane DN/DP polarity swap by means of decoding 'lane-polarities' DT property. The controller does support DN/DP swap of clock lane and all data lanes, the controller does not support polarity swap of individual data lane bundles, add a

[PATCH v2 1/2] dt-bindings: samsung,mipi-dsim: Add 'lane-polarities'

2023-04-06 Thread Fabio Estevam
From: Fabio Estevam The Samsung DSIM IP block allows the inversion of the clock and data lanes. Add an optional property called 'lane-polarities' that describes the polarities of the MIPI DSI clock and data lanes. This property is useful for properly describing the hardware when the board

Re: [PATCH] drm/vkms: add module parameter to set background color

2023-04-06 Thread Maíra Canal
On 4/6/23 15:23, Daniel Vetter wrote: On Thu, Apr 06, 2023 at 03:06:56PM -0300, Maíra Canal wrote: On 4/6/23 14:28, Daniel Vetter wrote: On Thu, 6 Apr 2023 at 19:20, Maíra Canal wrote: After commit 8ba1648567e2 ("drm: vkms: Refactor the plane composer to accept new formats") the composition

Re: [PULL] drm-fixes for -rc6

2023-04-06 Thread pr-tracker-bot
The pull request you sent on Thu, 6 Apr 2023 18:59:13 +0200: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-04-06 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ac6c043391b266a360a53f933638003365bd10c9 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH] drm/amd/display: set variable dcn3_14_soc storage-class-specifier to static

2023-04-06 Thread Tom Rix
smatch reports drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/dcn314_fpu.c:100:37: warning: symbol 'dcn3_14_soc' was not declared. Should it be static? This variable is only used in one file so should be static. Signed-off-by: Tom Rix ---

Re: [PATCH] drm/vkms: add module parameter to set background color

2023-04-06 Thread Daniel Vetter
On Thu, Apr 06, 2023 at 03:06:56PM -0300, Maíra Canal wrote: > On 4/6/23 14:28, Daniel Vetter wrote: > > On Thu, 6 Apr 2023 at 19:20, Maíra Canal wrote: > > > > > > After commit 8ba1648567e2 ("drm: vkms: Refactor the plane composer to > > > accept new formats") the composition is no longer

  1   2   3   4   >