Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
b/drivers/gpu/drm/amd/display/module
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
index 9eccdb38
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index b12651246
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resour
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
b/drivers/gpu/drm/amd/displ
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
b/drivers/gpu/drm/amd/display/dc/bios/bios_parse
*** BLURB HERE ***
Yu Jiaoliang (6):
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drivers/gpu/drm/amd/display/dc/bios/b
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
b/drivers/gpu/drm/amd/display/module
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
index 9eccdb38
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index b12651246
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resour
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
b/drivers/gpu/drm/amd/displ
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
b/drivers/gpu/drm/amd/display/dc/bios/bios_parse
*** BLURB HERE ***
Yu Jiaoliang (6):
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drivers/gpu/drm/amd/display/dc/bios/b
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
b/drivers/gpu/drm/amd/display/module
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
index 9eccdb38
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index b12651246
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resour
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
b/drivers/gpu/drm/amd/displ
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
b/drivers/gpu/drm/amd/display/dc/bios/bios_parse
*** BLURB HERE ***
Yu Jiaoliang (6):
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drivers/gpu/drm/amd/display/dc/bios/b
On Wed, 2024-08-21 at 14:00 +0200, Thomas Hellström wrote:
> Hi,
>
> On Wed, 2024-08-21 at 11:48 +0200, Christian König wrote:
> > Am 21.08.24 um 10:57 schrieb Thomas Hellström:
> > > On Wed, 2024-08-21 at 10:14 +0200, Christian König wrote:
> > > > Am 20.08.24 um 18:00 schrieb Thomas Hellström:
>
在 2024/8/22 13:32, Anand Moon 写道:
[Some people who received this message don't often get email from
linux.am...@gmail.com. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]
Hi Rong,
On Tue, 20 Aug 2024 at 18:30, Rong Qianfeng wrote:
Replace devm_clk_get() and
Add clock/irq/efuse setting in svs nodes for mt8186 SoC.
Signed-off-by: Rohit Agarwal
---
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index
Add power domain phandle to the DPI controller in mediatek
mt8186 SoC.
Signed-off-by: Rohit Agarwal
---
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
index 4763ed5d
Add power domain binding to the mediatek DPI controller
for MT8186.
Also, add power domain binding for other SoCs like
MT6795 and MT8173 that already had power domain property.
Signed-off-by: Rohit Agarwal
---
.../bindings/display/mediatek/mediatek,dpi.yaml | 17 +
1 file changed
Hi,
Changes in v3:
- Update some formatting errors in the bindings patch.
Changes in v2:
- Update the binding to include power domain in only some
specific variants.
This series updates the DPI node to add power domain and
adds the Mediatek SVS node as well to MT8186.
Thanks,
Rohit.
Rohit
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup_with_fourcc() to run the kernel's default client
setup for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
Thanks for this whole series.
Reviewed-by: Jocelyn Falempe
v
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The ast driver specifies a preferred color mode of 32. As this
is the default
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
b/drivers/gpu/drm/amd/display/module
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
b/drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
index 9eccdb38
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index b12651246
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resour
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
b/drivers/gpu/drm/amd/displ
Use the macro instead of ternary operator.
Signed-off-by: Yu Jiaoliang
---
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
b/drivers/gpu/drm/amd/display/dc/bios/bios_parse
*** BLURB HERE ***
Yu Jiaoliang (6):
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drm/amd/display: Use max/min macro
drivers/gpu/drm/amd/display/dc/bios/b
Use scoped for_each_child_of_node_scoped() when iterating over device
nodes to make code a bit simpler.
Signed-off-by: Jinjie Ruan
---
drivers/video/backlight/88pm860x_bl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/video/backlight/88pm860x_bl.c
b/drivers/v
On 2024-08-21 15:54:14+, Mario Limonciello wrote:
> On 8/18/2024 01:56, Thomas Weißschuh wrote:
> > Not all platforms provide correct PWM backlight capabilities through ATIF.
>
> I don't think correct is an accurate term here. How about 'optimial'?
Looks typoed to me :-)
What about this?
N
On 2024-08-21 15:51:17+, Mario Limonciello wrote:
> On 8/18/2024 01:56, Thomas Weißschuh wrote:
> > Panels using a PWM-controlled backlight source do not have a standard
> > way to communicate their valid PWM ranges.
> > On x86 the ranges are read from ACPI through driver-specific tables.
> > T
Hi Mario,
(+ a question for Dustin inside)
On 2024-08-21 15:45:46+, Mario Limonciello wrote:
> On 8/18/2024 01:56, Thomas Weißschuh wrote:
> > The value of "min_input_signal" returned from ATIF on a Framework AMD 13
> > is "12". This leads to a fairly bright minimum display backlight.
> >
>
Hi Dave & Sima,
Here goes drm-intel-fixes towards v6.11-rc5.
Just one HDCP timeout fix this week.
Regards, Joonas
***
drm-intel-fixes-2024-08-22:
- Fix for HDCP timeouts
The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:
Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)
I would like to help maintain the udmabuf driver, in light of the
recent changes that converted the driver to use folios instead
of pages. Furthermore, I also contribute to Qemu's virtio-gpu
module (and UI modules), that are primary users of udmabuf driver.
Cc: Gerd Hoffmann
Cc: Daniel Vetter
Si
On 8/21/24 14:20, Nihar Chaithanya wrote:
Fix documentation and coding style issue in include/uapi/drm/drm_mode.h.
Changes include:
- Adding description of function parameter.
- Correcting block comment style.
Fix documentation warnings in include/uapi/drm/drm_mode.h encountered
from make htmldo
在 2024/8/22 8:35, Julian Calaby 写道:
[Some people who received this message don't often get email from
julian.cal...@gmail.com. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification ]
Hi Rong,
On Tue, Aug 20, 2024 at 10:59 PM Rong Qianfeng wrote:
Replace devm_clk_get
On Wed, Aug 21, 2024 at 7:45 AM Adam Ford wrote:
>
> On Tue, Aug 20, 2024 at 10:58 PM Dominique MARTINET
> wrote:
> >
> > Adam Ford wrote on Tue, Aug 20, 2024 at 09:49:03PM -0500:
> > > > > However, this check is a bit overcautious in that it only allows exact
> > > > > rate matches. IIRC HDMI al
dcn35_fpga_funcs is not used anywhere, remove it.
Signed-off-by: Jinjie Ruan
---
v2:
- Remove it instead of making it static.
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn3
dcn35_fpga_funcsc is not used anywhere, remove it.
Signed-off-by: Jinjie Ruan
---
v2:
- Remove it instead of making it static.
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn
On Wed, Aug 14, 2024 at 06:15:46PM -0400, Felix Kuehling wrote:
>
> On 2024-08-12 02:59, Al Viro wrote:
> > Using drm_gem_prime_handle_to_fd() to set dmabuf up and insert it into
> > descriptor table, only to have it looked up by file descriptor and
> > remove it from descriptor table is not just
On 8/22/24 12:38 AM, Heiko Stuebner wrote:
>
>
> Am 21. August 2024 23:28:55 MESZ schrieb Conor Dooley :
>> Cristian, Heiko,
>>
>> On Wed, Aug 21, 2024 at 11:38:01PM +0300, Cristian Ciocaltea wrote:
>>> On 8/21/24 6:07 PM, Conor Dooley wrote:
On Tue, Aug 20, 2024 at 11:12:45PM +0300, Cristia
Since the Raspberry Pi supports Suspend-To-Idle now, this option
should be enabled. This should make power management testing easier.
Signed-off-by: Stefan Wahren
Reviewed-by: Florian Fainelli
---
arch/arm/configs/bcm2835_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/c
On Wed, 21 Aug 2024 11:36:31 -0400 Mina Almasry wrote:
> Additionally I'm wondering if we should disable adding mp-bound
> devices as slaves completely, regardless of xdp. My concern is that if
> the lower device is using unreadable memory, then the upper device may
> see unreadable memory in its c
l-simple-lvds-dual-ports.yaml| 2 ++
> drivers/gpu/drm/panel/panel-simple.c | 38
> ++
> 2 files changed, 40 insertions(+)
> ---
> base-commit: eb8c5ca373cbb018a84eb4db25c863302c9b6314
> change-id: 20240821-jdi-a5e016700cfe
>
> Best regards,
> ---
> Frank Li
>
From: Liu Ying
Add support for Japan Display Inc. 10.1" TX26D202VM0BWA WUXGA(1920x1200)
TFT LCD panel with LVDS interface. The panel has dual LVDS channels.
Signed-off-by: Liu Ying
Signed-off-by: Dong Aisheng
Signed-off-by: Frank Li
---
drivers/gpu/drm/panel/panel-simple.c | 38 +
Add compatible string jdi,tx26d202vm0bwa for below panel:
Japan Display Inc. 10.1" WUXGA (1920x1200) TFT LCD panel
Signed-off-by: Frank Li
---
.../devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/Documentation/devi
/panel-simple-lvds-dual-ports.yaml| 2 ++
drivers/gpu/drm/panel/panel-simple.c | 38 ++
2 files changed, 40 insertions(+)
---
base-commit: eb8c5ca373cbb018a84eb4db25c863302c9b6314
change-id: 20240821-jdi-a5e016700cfe
Best regards,
---
Frank Li
The DWC2 runtime PM code reuses similar patterns to backup and
restore the registers. So consolidate them in USB mode specific
variants. This also has the advantage it is usable for further
PM improvements.
Signed-off-by: Stefan Wahren
---
drivers/usb/dwc2/core.h | 12 +
drivers/usb/dwc2/
According to the dt-bindings there are some platforms, which have a
dedicated USB power domain for DWC2 IP core supply. If the power domain
is switched off during system suspend then all USB register will lose
their settings.
Use GUSBCFG_TOUTCAL as a canary to detect that the power domain has
been
This series implement the initial S2Idle support for
the Raspberry Pi, which was a long time on my TODO list [1]. The
changes allow to suspend and resume the Raspberry Pi via debug UART.
The focus is on the BCM2835 SoC, because it's less complex than its
successors and have enough documentation.
T
The commit 0f5251339eda ("drm/vc4: hdmi: Make sure the controller is
powered in detect") introduced the necessary power management handling
to avoid register access while controller is powered down.
Unfortunately it just print a warning if pm_runtime_resume_and_get()
fails and proceed anyway.
This
Add suspend/resume support for the VC4 V3D component in order
to handle suspend to idle properly.
Signed-off-by: Stefan Wahren
---
drivers/gpu/drm/vc4/vc4_v3d.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c
index bf5c4e36c94e.
DRM_ERROR() has been deprecated in favor of pr_err(). However, we
should prefer to use drm_err() whenever possible so we get device-
specific output with the error message. In error case of kcalloc,
we can simply drop DRM_ERROR(), because kcalloc already logs errors.
Suggested-by: Maíra Canal
Sig
Common pattern of handling deferred probe can be simplified with
dev_err_probe() and devm_clk_get_optional(). This results in much
less code.
Signed-off-by: Stefan Wahren
Reviewed-by: Maíra Canal
---
drivers/gpu/drm/vc4/vc4_v3d.c | 18 +++---
1 file changed, 3 insertions(+), 15 dele
Add suspend/resume support for the VC4 HDMI component in order
to handle suspend to idle properly. Since the HDMI power domain
is powered down during suspend, this makes connector status polling
pointless.
Link:
https://lore.kernel.org/dri-devel/7003512d-7303-4f41-b0d6-a8af5bf8e...@gmx.net/
Signe
During noirq suspend phase the Raspberry Pi power driver suffer of
firmware property timeouts. The reason is that the IRQ of the underlying
BCM2835 mailbox is disabled and rpi_firmware_property_list() will always
run into a timeout [1].
Since the VideoCore side isn't consider as a wakeup source, s
Am 21. August 2024 23:28:55 MESZ schrieb Conor Dooley :
>Cristian, Heiko,
>
>On Wed, Aug 21, 2024 at 11:38:01PM +0300, Cristian Ciocaltea wrote:
>> On 8/21/24 6:07 PM, Conor Dooley wrote:
>> > On Tue, Aug 20, 2024 at 11:12:45PM +0300, Cristian Ciocaltea wrote:
>> >> On 8/20/24 7:14 PM, Conor Doo
Cristian, Heiko,
On Wed, Aug 21, 2024 at 11:38:01PM +0300, Cristian Ciocaltea wrote:
> On 8/21/24 6:07 PM, Conor Dooley wrote:
> > On Tue, Aug 20, 2024 at 11:12:45PM +0300, Cristian Ciocaltea wrote:
> >> On 8/20/24 7:14 PM, Conor Dooley wrote:
> >>> On Tue, Aug 20, 2024 at 03:37:44PM +0300, Cristi
On 8/18/2024 01:56, Thomas Weißschuh wrote:
From: "Dustin L. Howett"
I have tested these panels on the Framework Laptop 13 AMD with firmware
revision 3.05 (latest at time of submission).
Signed-off-by: Dustin L. Howett
When you send someone else's patch you need to add your own S-o-b as
we
On 8/18/2024 01:56, Thomas Weißschuh wrote:
The value of "min_input_signal" returned from ATIF on a Framework AMD 13
is "12". This leads to a fairly bright minimum display backlight.
Add a quirk to override that the minimum backlight PWM to "0" which
leads to a much lower minimum brightness, whi
On 8/18/2024 01:56, Thomas Weißschuh wrote:
Not all platforms provide correct PWM backlight capabilities through ATIF.
I don't think correct is an accurate term here. How about 'optimial'?
Use the generic drm panel minimum backlight quirk infrastructure to
override the capabilities where nec
Fix documentation and coding style issue in include/uapi/drm/drm_mode.h.
Changes include:
- Adding description of function parameter.
- Correcting block comment style.
Fix documentation warnings in include/uapi/drm/drm_mode.h encountered
from make htmldocs:
./include/uapi/drm/drm_mode.h:869: warni
We use komeda_crtc_normalize_zpos to normalize zpos of affected planes
to their blending zorder in CU. If there's only one slave plane in
affected planes and its layer_split property is enabled, order++ for
its split layer, so that when calculating the normalized_zpos
of master planes, the split la
We use komeda_crtc_normalize_zpos to normalize zpos of affected planes
to their blending zorder in CU. If there's only one slave plane in
affected planes and its layer_split property is enabled, order++ for
its split layer, so that when calculating the normalized_zpos
of master planes, the split la
Use time_before instead of direct subtraction for readability.
Signed-off-by: Chen Yufan
---
drivers/gpu/drm/imagination/pvr_ccb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/imagination/pvr_ccb.c
b/drivers/gpu/drm/imagination/pvr_ccb.c
index 4deeac7ed..b
Hi, all:
I'm sorry that I forgot to add a pair of brackets, and I'll send it again soon.
Best Regards,
Hongchi Peng
-邮件原件-
发件人: hongchi.peng
发送时间: 2024年8月21日 16:19
收件人: liviu.du...@arm.com
抄送: maarten.lankho...@linux.intel.com; mrip...@kernel.org; tzimmerm...@suse.de;
airl...@gmail.c
On 8/18/2024 01:56, Thomas Weißschuh wrote:
Panels using a PWM-controlled backlight source do not have a standard
way to communicate their valid PWM ranges.
On x86 the ranges are read from ACPI through driver-specific tables.
The built-in ranges are not necessarily correct, or may grow stale if a
On Wed, Aug 21, 2024 at 4:43 PM Alex Deucher wrote:
>
> On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
> >
> > From: Tvrtko Ursulin
> >
> > Convert fdinfo memory stats to use the common drm_print_memory_stats
> > helper.
> >
> > This achieves alignment with the common keys as documented i
On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
>
> From: Tvrtko Ursulin
>
> Currently it is not well defined what is drm-memory- compared to other
> categories.
>
> In practice the only driver which emits these keys is amdgpu and in them
> exposes the current resident buffer object memory
On 8/18/2024 01:56, Thomas Weißschuh wrote:
The value of "min_input_signal" returned from ATIF on a Framework AMD 13
is "12". This leads to a fairly bright minimum display backlight.
Introduce a quirk to override "min_input_signal" to "0" which leads to a
much lower minimum brightness, which is
On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote:
>
> From: Tvrtko Ursulin
>
> Convert fdinfo memory stats to use the common drm_print_memory_stats
> helper.
>
> This achieves alignment with the common keys as documented in
> drm-usage-stats.rst, adding specifically drm-total- key the driver
On 8/21/24 6:07 PM, Conor Dooley wrote:
> On Tue, Aug 20, 2024 at 11:12:45PM +0300, Cristian Ciocaltea wrote:
>> On 8/20/24 7:14 PM, Conor Dooley wrote:
>>> On Tue, Aug 20, 2024 at 03:37:44PM +0300, Cristian Ciocaltea wrote:
On 8/19/24 7:53 PM, Conor Dooley wrote:
> On Mon, Aug 19, 2024 at
Applied 1-4.
Alex
On Wed, Aug 21, 2024 at 2:33 AM Jinjie Ruan wrote:
>
> The sparse tool complains as follows:
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c:6853:56:
> warning:
> symbol 'core_dcn4_g6_temp_read_blackout_table' was not declar
On Wed, Aug 21, 2024 at 2:33 AM Jinjie Ruan wrote:
>
> The sparse tool complains as follows:
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c:1071:22:
> warning:
> symbol 'dcn35_fpga_funcs' was not declared. Should it be static?
>
> This symbol is not used outsid
On Wed, Aug 21, 2024 at 3:45 AM Ma Ke wrote:
>
> Instead of using state->fb->obj[0] directly, get object from framebuffer
> by calling drm_gem_fb_get_obj() and return error code when object is
> null to avoid using null object of framebuffer.
>
> Cc: sta...@vger.kernel.org
> Fixes: 5d945cbcd4b1 ("
Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of
a flexible structure where the size of the flexible-array member
is known at compile-time, and refactor the rest of the code,
accordingly.
So, with this, fix the following warning:
drivers/gpu/drm/nouveau/dispnv50/disp.c:779:47: war
Acked-by: Maarten Lankhorst
Den 2024-08-17 kl. 02:06, skrev Lucas De Marchi:
> On Fri, Aug 16, 2024 at 02:52:28PM GMT, Juha-Pekka Heikkila wrote:
>> Add Tile4 type ccs modifiers to indicate presence of compression on Xe2.
>> Here is defined I915_FORMAT_MOD_4_TILED_LNL_CCS which is meant for
>> in
In aperture_remove_conflicting_pci_devices(), we currently only
call sysfb_disable() on vga class devices. This leads to the
following problem when the pimary device is not VGA compatible:
1. A PCI device with a non-VGA class is the boot display
2. That device is probed first and it is not a VGA
On Wed, Aug 21, 2024 at 6:04 AM Thomas Zimmermann wrote:
>
> Call drm_client_setup() to run the kernel's default client setup
> for DRM. Set fbdev_probe in struct drm_driver, so that the client
> setup can start the common fbdev client.
>
> The kirin driver specifies a preferred color mode of 32.
On 21/08/2024 18:12, Dave Stevenson wrote:
> Hi Hans
>
> This is a very useful little series - thanks.
>
> On Wed, 21 Aug 2024 at 15:16, Hans Verkuil wrote:
>>
>> Export InfoFrames to debugfs.
>
> I had a tc358743 to hand, so thought this warranted a quick test.
> I think you have an off-by-one
Hi Dave, Sima,
Fixes for 6.11.
The following changes since commit fee9d135e2fd5963a7f466cd1ef2060731a1ab29:
Merge tag 'mediatek-drm-fixes-20240805' of
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into
drm-fixes (2024-08-16 13:16:47 +1000)
are available in the Git repos
On Wed, 21 Aug 2024 at 14:04, Thomas Zimmermann wrote:
>
> Call drm_client_setup_with_fourcc() to run the kernel's default client
> setup for DRM. Set fbdev_probe in struct drm_driver, so that the client
> setup can start the common fbdev client.
>
> v2:
> - use drm_client_setup_with_fourcc()
>
>
On Thu, Aug 22, 2024 at 12:36 AM Mina Almasry wrote:
>
> On Wed, Aug 21, 2024 at 5:15 AM Taehee Yoo wrote:
> >
> > On Tue, Aug 20, 2024 at 1:01 PM Mina Almasry wrote:
> > >
> > > On Mon, Aug 19, 2024 at 6:53 PM Jakub Kicinski wrote:
> > > >
> > > > On Mon, 19 Aug 2024 00:44:27 +0900 Taehee Yoo
On Wed, 14 Aug 2024, Stephen Boyd wrote:
> Add a DT graph binding to google,cros-ec-typec so that it can combine
> DisplayPort (DP) and USB SuperSpeed (SS) data into a USB type-c endpoint
> that is connected to the usb-c-connector node's SS endpoint. This also
> allows us to connect the DP and USB
Hi Hans
This is a very useful little series - thanks.
On Wed, 21 Aug 2024 at 15:16, Hans Verkuil wrote:
>
> Export InfoFrames to debugfs.
I had a tc358743 to hand, so thought this warranted a quick test.
I think you have an off-by-one on the length that this exposes.
log_status is giving me st
On Mon, Aug 19, 2024 at 9:09 PM Akhil P Oommen wrote:
>
> On Thu, Aug 15, 2024 at 08:26:14PM +0200, Antonino Maniscalco wrote:
> > This patch implements preemption feature for A6xx targets, this allows
> > the GPU to switch to a higher priority ringbuffer if one is ready. A6XX
> > hardware as such
On Wed, Aug 21, 2024 at 5:15 AM Taehee Yoo wrote:
>
> On Tue, Aug 20, 2024 at 1:01 PM Mina Almasry wrote:
> >
> > On Mon, Aug 19, 2024 at 6:53 PM Jakub Kicinski wrote:
> > >
> > > On Mon, 19 Aug 2024 00:44:27 +0900 Taehee Yoo wrote:
> > > > > @@ -9537,6 +9540,10 @@ static int dev_xdp_attach(stru
On 21/08/2024 14:59, Thomas Zimmermann wrote:
Call drm_client_setup() to run the kernel's default client setup
for DRM. Set fbdev_probe in struct drm_driver, so that the client
setup can start the common fbdev client.
The meson driver specifies a preferred color mode of 32. As this
is the defaul
On Tue, Aug 20, 2024 at 11:12:45PM +0300, Cristian Ciocaltea wrote:
> On 8/20/24 7:14 PM, Conor Dooley wrote:
> > On Tue, Aug 20, 2024 at 03:37:44PM +0300, Cristian Ciocaltea wrote:
> >> On 8/19/24 7:53 PM, Conor Dooley wrote:
> >>> On Mon, Aug 19, 2024 at 01:29:30AM +0300, Cristian Ciocaltea wrote
> > > + /*
> > > + * HW register value is accumulated count of pulses from
> > > + * PWM fan with the scale of 2 pulses per rotation.
> > > + */
> > > + rotations = pulses / 2;
> > > +
> > > + time = jiffies_delta_to_msecs(time_now - fi->time_prev);
> > > + if (unlikely(!time)) {
> > > +
1 - 100 of 263 matches
Mail list logo