Add devres wrapper for dev_pm_opp_set_regulators()
dev_pm_opp_put_regulators () to simplify driver code.
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 50 ++
include/linux/pm_opp.h | 9
2 files changed, 59 insertions(+)
diff --git a/dri
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/memory/tegra/tegra20-emc.c | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
diff --git a/drivers/memory/tegra/tegra20-emc.c
b/drivers/memory/tegra/tegra20-emc.c
index 686aaf477d8a.
We can't always return -EINVAL, let's fix it.
Signed-off-by: Yangtao Li
---
drivers/memory/samsung/exynos5422-dmc.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/memory/samsung/exynos5422-dmc.c
b/drivers/memory/samsung/exynos5422-dmc.c
index c5ee4121a4d2
Use devm_pm_opp_* API to simplify code, and remove opp_table
from panfrost_devfreq.
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/panfrost/panfrost_devfreq.c | 34 ++---
drivers/gpu/drm/panfrost/panfrost_devfreq.h | 1 -
2 files changed, 10 insertions(+), 25 deletions(-)
diff -
On 01-01-21, 16:54, Yangtao Li wrote:
> Add devres wrapper for dev_pm_opp_register_notifier() to simplify driver
> code.
>
> Signed-off-by: Yangtao Li
> ---
> drivers/opp/core.c | 38 ++
> include/linux/pm_opp.h | 6 ++
> 2 files changed, 44 insertion
There is no need to manually release devm related resources.
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/lima/lima_devfreq.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/lima/lima_devfreq.c
b/drivers/gpu/drm/lima/lima_devfreq.c
index d5937cf86504..7690c5c69f9f 10064
03.01.2021 17:30, Frank Lee пишет:
> HI,
>
> On Sun, Jan 3, 2021 at 8:52 PM Dmitry Osipenko wrote:
>>
>> 01.01.2021 19:54, Yangtao Li пишет:
>>> Hi,
>>>
>>> This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
>>> devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
>>> devm_pm_
Use devm_pm_opp_* API to simplify code. Since devres release
can guarantee the order, let's remove
devm_devfreq_unregister_opp_notifier().
Signed-off-by: Yangtao Li
---
drivers/devfreq/rk3399_dmc.c | 22 +++---
1 file changed, 3 insertions(+), 19 deletions(-)
diff --git a/driver
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/devfreq/imx8m-ddrc.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index bc82d3653bff..9383d6e5538b 100644
--- a/driver
I've tested all recent GPU bring-up patches on msm8974pro samsung-klte
(a330v2) and with this patch everything is OK. But without this we're
getting the following in dmesg while running kmscube (which is rendering
nothing except black screen):
[ 94.969272] msm fd90.mdss: [drm:hangcheck_h
Convert the Arm Valhall GPU binding to DT schema format.
Define a compatible string for the Mali Valhall GPU
for Mediatek's SoC platform.
Signed-off-by: Nick Fan
---
.../bindings/gpu/arm,mali-valhall.yaml| 252 ++
1 file changed, 252 insertions(+)
create mode 100644 Doc
Tested this on Samsung Galaxy S5 along with other patches that enable
GPU support on this device.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:17 PM, Iskren Chernev wrote:
From: Samuel Pascua
This panel is used on the Samsung Galaxy S5 (klte).
Signed-off-by: Samuel Pascua
---
drivers/gpu
Kind reminder that MSM8974, 8994, 8992 and friends are held back by the lack of
IOMMU support upstream. There has been an attempt back in 2014(!) [1], but it
was either overlooked or forgotten about ever since. I'd be more than happy to
see someone look into this, as I have some other bits (almo
On 01-01-21, 16:54, Yangtao Li wrote:
> +/**
> + * devm_pm_opp_put_clkname() - Releases resources blocked for clk.
> + * @dev: Device for which we do this operation.
> + * @opp_table: OPP table returned from devm_pm_opp_set_clkname().
> + */
> +void devm_pm_opp_put_clkname(struct device *dev, struc
Add GPIO and I2C driver to detect connector and fetch EDID via DDC.
Signed-off-by: Hao Sun
---
drivers/gpu/drm/loongson/Makefile | 3 +-
drivers/gpu/drm/loongson/loongson_connector.c | 121 +++-
drivers/gpu/drm/loongson/loongson_drv.c | 16 +-
drivers/gpu/drm/loongson/lo
On 03-01-21, 03:54, Yangtao Li wrote:
> Use devm_pm_opp_* API to simplify code, and remove opp_table
> from tegra_devfreq.
Patches starting this one didn't appear in the same thread and it is a
nightmare to apply these now. Please send everything properly next
time.
--
viresh
___
Add a basic GPU node for mt8192.
Signed-off-by: Nick Fan
---
This patch depends on Mediatek power and regulator support.
Listed as following.
[1]https://lore.kernel.org/patchwork/patch/1336293/
[2]https://patchwork.kernel.org/project/linux-mediatek/list/?series=374013
[3]https://lore.kernel.org
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
.../media/platform/qcom/venus/pm_helpers.c| 21 ---
1 file changed, 4 insertions(+), 17 deletions(-)
diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c
b/drivers/media/platform/qcom/venus/pm_help
We should use dev_pm_opp_put_clkname() to free opp table each time
dev_pm_opp_of_add_table() got error.
Signed-off-by: Yangtao Li
---
drivers/spi/spi-qcom-qspi.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qsp
Add devres wrapper for dev_pm_opp_of_add_table() to simplify driver
code.
Signed-off-by: Yangtao Li
---
drivers/opp/of.c | 36
include/linux/pm_opp.h | 6 ++
2 files changed, 42 insertions(+)
diff --git a/drivers/opp/of.c b/drivers/opp/of.c
index
01.01.2021 19:54, Yangtao Li пишет:
> Hi,
>
> This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
> devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
> devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_table and
> devm_pm_opp_register_notifier.
>
> Yangtao Li (31):
> opp: A
On 01-01-21, 16:54, Yangtao Li wrote:
> Hi,
>
> This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
> devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
> devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_table and
> devm_pm_opp_register_notifier.
You can't put so many names i
Use devm_pm_opp_* API to simplify code, and remove opp_table
from lima_devfreq.
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/lima/lima_devfreq.c | 40 -
drivers/gpu/drm/lima/lima_devfreq.h | 2 --
2 files changed, 10 insertions(+), 32 deletions(-)
diff --git a/driv
opp_table isn't used anymore, remove it.
Signed-off-by: Yangtao Li
---
include/linux/qcom-geni-se.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h
index ec2ad4b0fe14..cddef864a760 100644
--- a/include/linux/qcom-geni-se.h
+++ b/in
Tested these patches on Samsung Galaxy S5 along with other patches that
add panel driver and enable GPU support on this device.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:29 PM, Iskren Chernev wrote:
From: Craig Tatlor
vram.size is needed when binding a gpu without an iommu and is defined
Use devm_pm_opp_* API to simplify code, and remove opp_table
from exynos_bus.
Signed-off-by: Yangtao Li
---
drivers/devfreq/exynos-bus.c | 42
1 file changed, 9 insertions(+), 33 deletions(-)
diff --git a/drivers/devfreq/exynos-bus.c b/drivers/devfreq/exynos
We should use dev_pm_opp_put_clkname() to free opp table each time
dev_pm_opp_of_add_table() got error.
Signed-off-by: Yangtao Li
---
drivers/mmc/host/sdhci-msm.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-
hello, I'd like to report this issue that I am having since I updated my
display (samsung U28E590). The amdgpu does not support the native
resolution of my new monitor, which is 3840x2160*.* Using a HDMI or DVI
connection (I tried both, same results), the maximum supported refresh is
30Hz, so I'm s
Don't call dev_pm_opp_put_clkname() when got invalid OPP table
in device tree, since we do this in core_put_v4().
Signed-off-by: Yangtao Li
---
drivers/media/platform/qcom/venus/pm_helpers.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/qcom/venus/p
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/devfreq/devfreq.c | 66 +--
include/linux/devfreq.h | 23 --
2 files changed, 1 insertion(+), 88 deletions(-)
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq
Use devm_pm_opp_* API to simplify code, and we don't need
to make opp_table glabal.
Let's remove opp_table from geni_se later.
Signed-off-by: Yangtao Li
---
drivers/spi/spi-geni-qcom.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.
Add devres wrapper for dev_pm_opp_register_notifier() to simplify driver
code.
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 38 ++
include/linux/pm_opp.h | 6 ++
2 files changed, 44 insertions(+)
diff --git a/drivers/opp/core.c b/drivers/opp/co
Use devm_pm_opp_* API to simplify code, and we don't need
to make opp_table glabal.
Let's remove opp_table from geni_se later.
Signed-off-by: Yangtao Li
---
drivers/tty/serial/qcom_geni_serial.c | 23 +--
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/drivers
Use devm_pm_opp_* API to simplify code, and remove opp_table
from qcom_qspi.
Signed-off-by: Yangtao Li
---
drivers/spi/spi-qcom-qspi.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qspi.c
index 915ae115d8c
We should use dev_pm_opp_put_clkname() to free opp table each time
dev_pm_opp_of_add_table() got error.
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 10 ++
drivers/gpu/drm/msm/dsi/dsi_host.c | 8 +---
2 files changed, 11 insertions(+), 7 deletions(-)
Use devm_pm_opp_* API to simplify code, and remove opp_table
from tegra_devfreq.
Signed-off-by: Yangtao Li
---
drivers/devfreq/tegra30-devfreq.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/drivers/devfreq/tegra30-devfreq.c
b/drivers/devfreq/tegra30
The syntax without dots is available since commit 43756e347f21
("scripts/kernel-doc: Add support for named variable macro arguments").
The same HTML output is produced with and without this patch.
Signed-off-by: Jonathan Neuschäfer
---
include/drm/drm_mipi_dbi.h | 2 +-
1 file changed, 1 insert
On Thu, 2020-12-31 at 09:21 +0800, Nicolas Boichat wrote:
> On Mon, Dec 28, 2020 at 4:38 PM Yongqiang Niu
> wrote:
> >
> > the mmsys will more and more complicated after support
> > more and more SoCs, add an independent folder will be
> > more clear
> >
> > Signed-off-by: Yongqiang Niu
> > ---
>
We should use dev_pm_opp_put_clkname() to free opp table each time
dev_pm_opp_of_add_table() got error.
Signed-off-by: Yangtao Li
---
drivers/spi/spi-geni-qcom.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom
On 03-01-21, 03:57, Yangtao Li wrote:
> Use devm_pm_opp_* API to simplify code.
>
> Signed-off-by: Yangtao Li
> ---
> drivers/devfreq/devfreq.c | 66 +--
> include/linux/devfreq.h | 23 --
> 2 files changed, 1 insertion(+), 88 deletions(-)
Remo
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/memory/samsung/exynos5422-dmc.c | 21 +
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/drivers/memory/samsung/exynos5422-dmc.c
b/drivers/memory/samsung/exynos5422-dmc.c
index 62a836
Cool, thanks!
Il Dom 3 Gen 2021, 12:06 Mike Lothian ha scritto:
> Hi
>
> You're probably best reporting the bug here:
>
> https://gitlab.freedesktop.org/drm/amd/-/issues
>
> Attach the output of dmesg from both Radeon and AMDGPU and the compositor
> / Wayland logs (as you're not using X)
>
> Che
We should use dev_pm_opp_put_clkname() to free opp table each time
dev_pm_opp_of_add_table() got error.
Signed-off-by: Yangtao Li
---
drivers/tty/serial/qcom_geni_serial.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serial/qcom_geni_serial.c
b/driv
Hi,
This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_table and
devm_pm_opp_register_notifier.
Yangtao Li (31):
opp: Add devres wrapper for dev_pm_opp_set_clkname and
d
HI,
On Sun, Jan 3, 2021 at 8:52 PM Dmitry Osipenko wrote:
>
> 01.01.2021 19:54, Yangtao Li пишет:
> > Hi,
> >
> > This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname,
> > devm_pm_opp_set_regulators, devm_pm_opp_put_regulators,
> > devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_ta
Add devres wrapper for dev_pm_opp_set_supported_hw() to simplify driver
code.
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 38 ++
include/linux/pm_opp.h | 8
2 files changed, 46 insertions(+)
diff --git a/drivers/opp/core.c b/drivers/opp/c
Add devres wrapper for dev_pm_opp_set_clkname() and
dev_pm_opp_put_clkname() to simplify driver code.
Signed-off-by: Yangtao Li
---
drivers/opp/core.c | 47 ++
include/linux/pm_opp.h | 9
2 files changed, 56 insertions(+)
diff --git a/driver
1. Use devm_pm_opp_* to simplif code and avoid mem leak.
2. Remove opp_table from dpu_kms, dp_ctrl_private and msm_dsi_host,
since it does not need a global scope.
3. Remove dp_ctrl_put.
Signed-off-by: Yangtao Li
---
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a6x
Dropped lots of people from cc list
On 04-01-21, 12:49, Viresh Kumar wrote:
> On 01-01-21, 16:54, Yangtao Li wrote:
> > Use devm_pm_opp_* API to simplify code, and we don't need
> > to make opp_table glabal.
> >
> > Let's remove opp_table from geni_se later.
> >
> > Signed-off-by: Yangtao Li
>
Use devm_pm_opp_* API to simplify code, and remove opp_table
from sdhci_msm_host.
Signed-off-by: Yangtao Li
---
drivers/mmc/host/sdhci-msm.c | 19 +++
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index
Hi,
it looks like this PR has not been merged yet.
Best regard
Thomas
Am 22.12.20 um 20:13 schrieb Thomas Zimmermann:
Hi Dave and Daniel,
here's this week's PR for drm-misc-next-fixes.
Best regards
Thomas
drm-misc-next-fixes-2020-12-22:
Short summary of fixes pull:
* dma-buf: Include fo
Hi,
and a happy new year.
Am 24.12.20 um 09:45 schrieb Tian Tao:
Add the callback functions of drm_driver structure member functions
load and unload, no need to call load in the hibmc_pci_probe function
and unload in the hibmc_pci_remove function.
The load and unload callbacks are left over f
101 - 152 of 152 matches
Mail list logo