Re: [PATCH v2 02/34] component: Introduce the aggregate bus_type

2021-10-06 Thread Greg Kroah-Hartman
On Wed, Oct 06, 2021 at 12:37:47PM -0700, Stephen Boyd wrote: > The component driver only provides 'bind' and 'unbind' callbacks to tell > the host driver that it is time to assemble the aggregate driver now > that all the components have probed. The component driver model doesn't > attempt to

[tegra-drm:drm/tegra/for-next 5/12] drivers/gpu/host1x/job.c:141:30: warning: variable 'domain' set but not used

2021-10-06 Thread kernel test robot
tree: git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next head: 29e08b1e60b429c2bb30a1578db4a2db354d8a36 commit: df77f99c7c11f1cfc37ba071e7efa3ad0d46d986 [5/12] drm/tegra: Implement correct DMA-BUF semantics config: arm-randconfig-c002-20211004 (attached as .config) compiler:

Re: [PATCH v6 3/3] drm/bridge: ti-sn65dsi86: Implement the pwm_chip

2021-10-06 Thread Bjorn Andersson
On Wed 29 Sep 20:05 PDT 2021, Bjorn Andersson wrote: > The SN65DSI86 provides the ability to supply a PWM signal on GPIO 4, > with the primary purpose of controlling the backlight of the attached > panel. Add an implementation that exposes this using the standard PWM > framework, to allow e.g.

Re: [PATCH 04/26] drm/i915/guc: Don't call switch_to_kernel_context with GuC submission

2021-10-06 Thread John Harrison
On 10/4/2021 15:06, Matthew Brost wrote: Calling switch_to_kernel_context isn't needed if the engine PM reference is taken while all user contexts are pinned as if don't have PM ref that guarantees that all user contexts scheduling is disabled. By not calling switch_to_kernel_context we save on

Re: [PATCH 03/26] drm/i915/guc: Take engine PM when a context is pinned with GuC submission

2021-10-06 Thread John Harrison
On 10/4/2021 15:06, Matthew Brost wrote: Taking a PM reference to prevent intel_gt_wait_for_idle from short circuiting while a scheduling of user context could be enabled. I'm not sure what 'while a scheduling of user context could be enabled' means. John. Returning GT idle when it is not

Re: [PATCH 02/26] drm/i915/guc: Take GT PM ref when deregistering context

2021-10-06 Thread John Harrison
On 10/4/2021 15:06, Matthew Brost wrote: Taking a PM reference to prevent intel_gt_wait_for_idle from short circuiting while a deregister context H2G is in flight. To do this must issue the deregister H2G from a worker as context can be destroyed from an atomic context and taking GT PM ref blows

Re: [PATCH 01/26] drm/i915/guc: Move GuC guc_id allocation under submission state sub-struct

2021-10-06 Thread John Harrison
On 10/4/2021 15:06, Matthew Brost wrote: Move guc_id allocation under submission state sub-struct as a future patch will reuse the spin lock as a global submission state lock. Moving this into sub-struct makes ownership of fields / lock clear. Signed-off-by: Matthew Brost ---

[GIT PULL FOR v5.16] R-Car DU & other misc enhancements

2021-10-06 Thread Laurent Pinchart
Hi Dave and Daniel, The following changes since commit 1e3944578b749449bd7fa6bf0bae4c3d3f5f1733: Merge tag 'amd-drm-next-5.16-2021-09-27' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2021-09-28 17:08:26 +1000) are available in the Git repository at:

Re: [PATCH v8 09/12] media: mtk-vcodec: Get rid of mtk_smi_larb_get/put

2021-10-06 Thread Yong Wu
On Thu, 2021-09-30 at 12:57 +0200, Dafna Hirschfeld wrote: > > On 30.09.21 05:28, Yong Wu wrote: > > Hi Dafna, > > > > Thanks very much for the review. > > > > On Wed, 2021-09-29 at 14:13 +0200, Dafna Hirschfeld wrote: > > > > > > On 29.09.21 03:37, Yong Wu wrote: > > > > MediaTek IOMMU has

Re: [PATCH v2 01/34] component: Introduce struct aggregate_device

2021-10-06 Thread Laurent Pinchart
Hi Stephen, Thank you for the patch. On Wed, Oct 06, 2021 at 12:37:46PM -0700, Stephen Boyd wrote: > Replace 'struct master' with 'struct aggregate_device' and then rename > 'master' to 'adev' everywhere in the code. While we're here, put a > struct device inside the aggregate device so that we

[PATCH -next] drm/connector: fix all kernel-doc warnings

2021-10-06 Thread Randy Dunlap
c: Hans de Goede Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- 72ad49682dde ("drm/connector: Add support for out-of-band hotplug notification (v3)") is only in linux-next. The others are in mainline. drivers/gpu/drm/drm_connector.c | 30 +

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
07.10.2021 01:01, Dmitry Osipenko пишет: > 07.10.2021 00:14, Dmitry Osipenko пишет: >> 06.10.2021 15:43, Ulf Hansson пишет: >>> On Wed, 6 Oct 2021 at 00:43, Dmitry Osipenko wrote: 06.10.2021 01:19, Dmitry Osipenko пишет: ... > I reproduced the OFF problem by removing the clk

Re: [PATCH v2 33/34] component: Remove component_master_ops and friends

2021-10-06 Thread kernel test robot
config: hexagon-randconfig-r045-20211006 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v2] drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

2021-10-06 Thread Ville Syrjälä
On Wed, Oct 06, 2021 at 03:45:07PM -0700, Doug Anderson wrote: > Hi, > > On Tue, Oct 5, 2021 at 7:29 PM Douglas Anderson wrote: > > > > In commit e11f5bd8228f ("drm: Add support for DP 1.4 Compliance edid > > corruption test") the function connector_bad_edid() started assuming > > that the

Re: [PATCH v2] drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read

2021-10-06 Thread Doug Anderson
Hi, On Tue, Oct 5, 2021 at 7:29 PM Douglas Anderson wrote: > > In commit e11f5bd8228f ("drm: Add support for DP 1.4 Compliance edid > corruption test") the function connector_bad_edid() started assuming > that the memory for the EDID passed to it was big enough to hold > `edid[0x7e] + 1` blocks

Re: [PATCH v2 02/34] component: Introduce the aggregate bus_type

2021-10-06 Thread kernel test robot
config: hexagon-randconfig-r045-20211006 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v2 06/34] drm/of: Add a drm_of_aggregate_probe() API

2021-10-06 Thread kernel test robot
config: s390-randconfig-r044-20211006 (attached as .config) compiler: s390-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

Re: [PATCH v2 06/34] drm/of: Add a drm_of_aggregate_probe() API

2021-10-06 Thread kernel test robot
config: hexagon-randconfig-r041-20211006 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
06.10.2021 15:38, Ulf Hansson пишет: >>> Right, so the PM domain managed in tegra_genpd_power_on|off() can >>> still be powered on/off, as long as the clock remains ungated? >> Not ungated, but prepared. > Okay, thanks for clarifying! > > In summary, it sounds like you should be able to fix this

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
07.10.2021 00:14, Dmitry Osipenko пишет: > 06.10.2021 15:43, Ulf Hansson пишет: >> On Wed, 6 Oct 2021 at 00:43, Dmitry Osipenko wrote: >>> >>> 06.10.2021 01:19, Dmitry Osipenko пишет: >>> ... I reproduced the OFF problem by removing the clk prepare/unprepare from the suspend/resume of

Re: [igt-dev] [PATCH i-g-t 1/1] tests/i915_pxp: Use ioctl_wrapper for DRM_IOCTL_PRIME_HANDLE_TO_FD

2021-10-06 Thread Rodrigo Vivi
On Wed, Oct 06, 2021 at 05:11:02PM +, Ruhl, Michael J wrote: > >-Original Message- > >From: Teres Alexis, Alan Previn > >Sent: Wednesday, October 6, 2021 12:52 PM > >To: igt-...@lists.freedesktop.org > >Cc: Teres Alexis, Alan Previn ; dri- > >de...@lists.freedesktop.org; Ruhl; Ruhl,

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
06.10.2021 15:38, Ulf Hansson пишет: >> I'm also wondering if we could add some 'was_enabled' flag to GENPDs, >> setting it by genpd_suspend_noirq() for the enabled domains, and then >> powering-on GENPDs from genpd_resume_noirq() only if they were in the >> enabled state during

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
06.10.2021 15:38, Ulf Hansson пишет: > In principle what you ask for, is if we can avoid calling > __pm_runtime_disable() in __device_suspend_late() (and vice versa in > device_resume_early()). > > I think the short answer is no, at least from a generic point of view. > Maybe we can figure out a

Re: [PATCH v13 06/35] clk: tegra: Support runtime PM and power domain

2021-10-06 Thread Dmitry Osipenko
06.10.2021 15:43, Ulf Hansson пишет: > On Wed, 6 Oct 2021 at 00:43, Dmitry Osipenko wrote: >> >> 06.10.2021 01:19, Dmitry Osipenko пишет: >> ... >>> I reproduced the OFF problem by removing the clk prepare/unprepare from >>> the suspend/resume of the clk driver and making some extra changes to

Re: [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel

2021-10-06 Thread Rob Herring
On Thu, 30 Sep 2021 12:04:59 +0200, Oleksij Rempel wrote: > Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) > TFT LCD panel with TTL interface and a backlight unit. > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/display/panel/panel-simple.yaml |

Re: [PATCH v1 2/2] drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+

2021-10-06 Thread Dmitry Osipenko
06.10.2021 21:27, Dmitry Osipenko пишет: > 06.10.2021 21:13, Thierry Reding пишет: >> On Thu, Sep 30, 2021 at 01:28:05AM +0300, Dmitry Osipenko wrote: >>> Asus Transformer TF700T is a Tegra30 tablet device which uses RGB->DSI >>> bridge that requires a precise clock rate in order to operate

Re: [Intel-gfx] [PATCH 21/26] drm/i915: Multi-BB execbuf

2021-10-06 Thread Matthew Brost
On Mon, Oct 04, 2021 at 03:06:32PM -0700, Matthew Brost wrote: > Allow multiple batch buffers to be submitted in a single execbuf IOCTL > after a context has been configured with the 'set_parallel' extension. > The number batches is implicit based on the contexts configuration. > > This is

[PATCH 2/2] drm/msm/dsi: stop setting clock parents manually

2021-10-06 Thread Dmitry Baryshkov
There is no reason to set clock parents manually, use device tree to assign DSI/display clock parents to DSI PHY clocks. Dropping this manual setup allows us to drop repeating code and to move registration of hw clock providers to generic place. Signed-off-by: Dmitry Baryshkov ---

[PATCH 1/2] drm/msm/dsi: untangle cphy setting from the src pll setting

2021-10-06 Thread Dmitry Baryshkov
Move DPHY/CPHY setting from msm_dsi_host_set_src_pll() to new function msm_dsi_host_set_phy_mode(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dsi/dsi.h | 2 ++ drivers/gpu/drm/msm/dsi/dsi_host.c| 8 drivers/gpu/drm/msm/dsi/dsi_manager.c | 3 +++ 3 files

Re: [PATCH] drm/i915/pmu: Connect engine busyness stats from GuC to pmu

2021-10-06 Thread Umesh Nerlige Ramappa
On Wed, Oct 06, 2021 at 10:11:58AM +0100, Tvrtko Ursulin wrote: On 05/10/2021 18:47, Umesh Nerlige Ramappa wrote: With GuC handling scheduling, i915 is not aware of the time that a context is scheduled in and out of the engine. Since i915 pmu relies on this info to provide engine busyness to

[pull] amdgpu, amdkfd drm-fixes-5.15

2021-10-06 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.15. The following changes since commit 9e1ff307c779ce1f0f810c7ecce3d95bbae40896: Linux 5.15-rc4 (2021-10-03 14:08:47 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-5.15-2021-10-06 for you to

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Bjorn Andersson
On Wed 06 Oct 11:59 PDT 2021, Stephen Boyd wrote: > Quoting Bjorn Andersson (2021-10-06 11:05:09) > > On Wed 06 Oct 10:19 PDT 2021, Stephen Boyd wrote: > > > > > Quoting Bjorn Andersson (2021-10-06 10:07:17) > > > > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > > > > > > > Quoting Bjorn

Re: [PATCH v2 2/3] dt-bindings: drm/bridge: ps8640: Add aux-bus child

2021-10-06 Thread Rob Herring
On Wed, 29 Sep 2021 17:34:57 -0700, Philip Chen wrote: > dp-aux-bus.yaml says we can list an eDP panel as a child of > an eDP controller node to represent the fact that the panel > is connected to the controller's DP AUX bus. > > Let's add it to the ps8640 bindings. > > Signed-off-by: Philip

Re: [Nouveau] [PATCH v3 2/5] drm/nouveau/kms/nv50-: Explicitly check DPCD backlights for aux enable/brightness

2021-10-06 Thread Lyude Paul
On Wed, 2021-10-06 at 18:30 +0200, Karol Herbst wrote: > On Wed, Oct 6, 2021 at 4:41 AM Lyude Paul wrote: > > > > Since we don't support hybrid AUX/PWM backlights in nouveau right now, > > let's add some explicit checks so that we don't break nouveau once we > > enable support for these

Re: [PATCH v2] dt-bindings: display/bridge: sil, sii8620: Convert to YAML binding

2021-10-06 Thread Andrzej Hajda
On 06.10.2021 17:04, AngeloGioacchino Del Regno wrote: Convert the Silicon Image SiI8620 HDMI/MHL bridge documentation to YAML. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/display/bridge/sil,sii8620.yaml | 93 +++ .../bindings/display/bridge/sil-sii8620.txt

[PATCH v2 30/34] sound: hdac: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Kai Vehmanen Cc: Daniel Vetter Cc: "Rafael J. Wysocki"

[PATCH v2 34/34] component: Remove all references to 'master'

2021-10-06 Thread Stephen Boyd
Remove all references to 'master' in the code now that we've migrated all the users of the ops structure to the aggregate driver. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 19

[PATCH v2 28/34] power: supply: ab8500: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Sebastian Reichel Cc: Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell

[PATCH v2 25/34] drm/zte: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan

[PATCH v2 29/34] fbdev: omap2: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Cc: Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana

[PATCH v2 31/34] ASoC: codecs: wcd938x: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Mark Brown Cc: Jaroslav Kysela Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc:

[PATCH v2 32/34] component: Get rid of drm_of_component_probe()

2021-10-06 Thread Stephen Boyd
There aren't any users anymore so drop it. Cc: Laurent Pinchart Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/drm_of.c | 87 +--- include/drm/drm_of.h |

[PATCH v2 23/34] drm/tilcdc: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Jyri Sarha Cc: Tomi Valkeinen Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc:

[PATCH v2 24/34] drm/vc4: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Emma Anholt Cc: Maxime Ripard Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc:

[PATCH v2 26/34] iommu/mtk: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Yong Wu Cc: Joerg Roedel Cc: Will Deacon Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob

[PATCH v2 33/34] component: Remove component_master_ops and friends

2021-10-06 Thread Stephen Boyd
The struct is unused now so drop it along with the functions that use it. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 109 +++---

[PATCH v2 18/34] drm/meson: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Neil Armstrong Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King

[PATCH v2 27/34] mei: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Tomas Winkler Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Daniel Vetter Cc: "Rafael J.

[PATCH v2 15/34] drm/ingenic: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. TODO: Move the helpers to PM in aggregate driver hooks. Cc: Paul Cercueil Cc: Daniel Vetter Cc:

[PATCH v2 17/34] drm/mediatek: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark

[PATCH v2 16/34] drm/mcde: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan

[PATCH v2 21/34] drm/sti: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Benjamin Gaignard Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King

[PATCH v2 20/34] drm/rockchip: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Sandy Huang Cc: "Heiko Stübner" Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark

[PATCH v2 22/34] drm/sun4i: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc:

[PATCH v2 19/34] drm/omap: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Tomi Valkeinen Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King

[PATCH v2 14/34] drm/imx: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Philipp Zabel Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc:

[PATCH v2 10/34] drm/armada: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Russell King Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Saravana Kannan

[PATCH v2 13/34] drm/exynos: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Daniel Vetter Cc:

[PATCH v2 12/34] drm/kirin: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Xinliang Liu Cc: Tian Tao Cc: John Stultz Cc: Xinwei Kong Cc: Chen Feng Cc: Daniel Vetter

[PATCH v2 11/34] drm/etnaviv: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: Daniel Vetter Cc: "Rafael J.

[PATCH v2 07/34] drm/komeda: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: James Qian Wang (Arm Technology China) Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob

[PATCH v2 08/34] drm/arm/hdlcd: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. Cc: Liviu Dudau Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc:

[PATCH v2 09/34] drm/malidp: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Use an aggregate driver instead of component ops so that we can get proper driver probe ordering of the aggregate device with respect to all the component devices that make up the aggregate device. TODO: This can be updated to move the drm helper logic into the aggregate driver shutdown op. Cc:

[PATCH v2 03/34] component: Move struct aggregate_device out to header file

2021-10-06 Thread Stephen Boyd
This allows aggregate driver writers to use the device passed to their probe/remove/shutdown functions properly instead of treating it as an opaque pointer. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd ---

[PATCH v2 04/34] drm/msm: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
The device lists are poorly ordered when the component device code is used. This is because component_master_add_with_match() returns 0 regardless of component devices calling component_add() first. It can really only fail if an allocation fails, in which case everything is going bad and we're out

[PATCH v2 06/34] drm/of: Add a drm_of_aggregate_probe() API

2021-10-06 Thread Stephen Boyd
Similar to drm_of_component_probe() but using the new API that registers a driver instead of an ops struct. This allows us to migrate the users of drm_of_component_probe() to the new way of doing things. Cc: Laurent Pinchart Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell

[PATCH v2 05/34] component: Add {bind, unbind}_component() ops that take aggregate device

2021-10-06 Thread Stephen Boyd
We'd like to get more device model features in the component framework so let's pass the struct aggregate_device pointer instead of the parent device pointer to the component binding functions. This will allow drivers to inspect and control things related to the aggregate device in case they need

[PATCH v2 02/34] component: Introduce the aggregate bus_type

2021-10-06 Thread Stephen Boyd
The component driver only provides 'bind' and 'unbind' callbacks to tell the host driver that it is time to assemble the aggregate driver now that all the components have probed. The component driver model doesn't attempt to resolve runtime PM or suspend/resume ordering, and explicitly mentions

[PATCH v2 01/34] component: Introduce struct aggregate_device

2021-10-06 Thread Stephen Boyd
Replace 'struct master' with 'struct aggregate_device' and then rename 'master' to 'adev' everywhere in the code. While we're here, put a struct device inside the aggregate device so that we can register it with a bus_type in the next patch. The diff is large but that's because this is mostly a

[PATCH v2 00/34] component: Make into an aggregate bus

2021-10-06 Thread Stephen Boyd
This series is from discussion we had on reordering the device lists for drm shutdown paths[1]. I've introduced an 'aggregate' bus that we put the aggregate device onto and then we probe the aggregate device once all the components are probed and call component_add(). The probe/remove hooks are

Re: [PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-06 Thread Daniel Vetter
On Wed, Oct 6, 2021 at 5:19 PM Simon Ser wrote: > This new ADDFB2 flag allows callers to mark a framebuffer as > "persistent", and no longer have RMFB semantics when the DRM > file is closed. > > [1]: https://lore.kernel.org/dri-devel/YTJypepF1Hpc2YYT@reader/ > > Signed-off-by: Simon Ser > Cc:

Re: [RFC 6/8] drm/i915: Make some recently added vfuncs use full scheduling attribute

2021-10-06 Thread Tvrtko Ursulin
On 06/10/2021 18:12, Matthew Brost wrote: On Mon, Oct 04, 2021 at 03:36:48PM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Code added in 71ed60112d5d ("drm/i915: Add kick_backend function to i915_sched_engine") and ee242ca704d3 ("drm/i915/guc: Implement GuC priority management")

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-06 11:05:09) > On Wed 06 Oct 10:19 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-06 10:07:17) > > > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > > > On Tue 05 Oct 19:06

RE: [PATCH v2] drm/hyperv: Fix double mouse pointers

2021-10-06 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Thursday, September 16, 2021 12:37 PM > To: drawat.fl...@gmail.com; Haiyang Zhang ; > airl...@linux.ie; dan...@ffwll.ch; tzimmerm...@suse.de; > dri-devel@lists.freedesktop.org > Cc: linux-hyp...@vger.kernel.org; linux-ker...@vger.kernel.org; Dexuan Cui > > Subject:

Re: [Intel-gfx] [RFC 7/8] drm/i915: Inherit process nice for context scheduling priority

2021-10-06 Thread Tvrtko Ursulin
On 06/10/2021 18:24, Matthew Brost wrote: On Mon, Oct 04, 2021 at 03:36:49PM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Introduce the concept of context nice value which matches the process nice. We do this by extending the struct i915_sched_attr and add a helper

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Bjorn Andersson
On Wed 06 Oct 10:19 PDT 2021, Dmitry Baryshkov wrote: > On 06/10/2021 20:07, Bjorn Andersson wrote: > > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > > > > > Quoting

Re: [PATCH v1 2/2] drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+

2021-10-06 Thread Dmitry Osipenko
06.10.2021 21:13, Thierry Reding пишет: > On Thu, Sep 30, 2021 at 01:28:05AM +0300, Dmitry Osipenko wrote: >> Asus Transformer TF700T is a Tegra30 tablet device which uses RGB->DSI >> bridge that requires a precise clock rate in order to operate properly. >> Tegra30 has a dedicated PLL for each

Re: [PATCH v6 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2021-10-06 Thread Kevin Tang
Sam, Thanks for your response. Sam Ravnborg 于2021年9月27日周一 上午12:33写道: > > Hi Kevin, > > > > > + reg->_0b.bits.out_sel = pll->out_sel; > > > > + reg->_0b.bits.kint_l = pll->kint & 0xf; > > > > + reg->_0e.bits.pll_pu_byp = 0; > > > > + reg->_0e.bits.pll_pu = 0; > > > > +

Re: [PATCH v6 2/3] arm64: tegra: Add NVDEC to Tegra186/194 device trees

2021-10-06 Thread Thierry Reding
On Thu, Sep 16, 2021 at 05:55:16PM +0300, Mikko Perttunen wrote: > Add a device tree node for NVDEC on Tegra186, and > device tree nodes for NVDEC and NVDEC1 on Tegra194. > > Signed-off-by: Mikko Perttunen > --- > v5: > * Change from nvidia,instance to nvidia,host1x-class > v4: > * Add

Re: [PATCH v6 1/3] dt-bindings: Add YAML bindings for NVDEC

2021-10-06 Thread Thierry Reding
On Thu, Sep 16, 2021 at 05:55:15PM +0300, Mikko Perttunen wrote: > Add YAML device tree bindings for NVDEC, now in a more appropriate > place compared to the old textual Host1x bindings. > > Signed-off-by: Mikko Perttunen > --- > v6: > * Elaborated description for nvidia,host1x-class. > * Added

Re: [PATCH v1 2/2] drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+

2021-10-06 Thread Thierry Reding
On Thu, Sep 30, 2021 at 01:28:05AM +0300, Dmitry Osipenko wrote: > Asus Transformer TF700T is a Tegra30 tablet device which uses RGB->DSI > bridge that requires a precise clock rate in order to operate properly. > Tegra30 has a dedicated PLL for each display controller, hence the PLL > rate can be

Re: [PATCH v1 1/2] drm/tegra: dc: rgb: Move PCLK shifter programming to CRTC

2021-10-06 Thread Thierry Reding
On Thu, Sep 30, 2021 at 01:28:04AM +0300, Dmitry Osipenko wrote: > Asus TF700T tablet uses TC358768 DPI->DSI bridge that sits between Tegra's > DPI output and display panel input. Bridge requires to have stable PCLK > output before RGB encoder is enabled because it uses PCLK by itself to > clock

Re: [PATCH v6 3/3] drm/tegra: Add NVDEC driver

2021-10-06 Thread Thierry Reding
On Thu, Sep 16, 2021 at 05:55:17PM +0300, Mikko Perttunen wrote: > Add support for booting and using NVDEC on Tegra210, Tegra186 > and Tegra194 to the Host1x and TegraDRM drivers. Booting in > secure mode is not currently supported. > > Signed-off-by: Mikko Perttunen > --- > v5: > * Remove

Re: [PATCH] drm/tegra: Bump VIC/NVDEC clock rates to Fmax

2021-10-06 Thread Thierry Reding
On Thu, Sep 16, 2021 at 06:09:20PM +0300, Mikko Perttunen wrote: > To get full performance out of these engines, bump their clock rates > to maximum. In the future we may want something smarter but this > should be fine for now. > > Signed-off-by: Mikko Perttunen > --- >

Re: mmotm 2021-10-05-19-53 uploaded (drivers/gpu/drm/msm/hdmi/hdmi_phy.o)

2021-10-06 Thread Randy Dunlap
On 10/6/21 12:24 AM, Christian König wrote: Am 06.10.21 um 09:20 schrieb Stephen Rothwell: Hi Randy, On Tue, 5 Oct 2021 22:48:03 -0700 Randy Dunlap wrote: on i386: ld: drivers/gpu/drm/msm/hdmi/hdmi_phy.o:(.rodata+0x3f0): undefined reference to `msm_hdmi_phy_8996_cfg' Full randconfig

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Bjorn Andersson
On Wed 06 Oct 10:19 PDT 2021, Stephen Boyd wrote: > Quoting Bjorn Andersson (2021-10-06 10:07:17) > > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > > > > > Quoting Bjorn

Re: [PATCH v6 6/6] drm/sprd: add Unisoc's drm mipi dsi driver

2021-10-06 Thread Kevin Tang
Maxime Ripard 于2021年9月28日周二 下午5:28写道: > > On Sun, Sep 26, 2021 at 10:31:53PM +0800, Kevin Tang wrote: > > Maxime Ripard 于2021年9月17日周五 下午11:40写道: > > > > +static void sprd_dsi_encoder_mode_set(struct drm_encoder *encoder, > > > > + struct drm_display_mode *mode, > > >

Re: [PATCH] drm/msm/dp: Shorten SETUP timeout

2021-10-06 Thread Bjorn Andersson
On Wed 06 Oct 08:37 PDT 2021, khs...@codeaurora.org wrote: > On 2021-10-05 19:10, Bjorn Andersson wrote: > > On Tue 05 Oct 16:04 PDT 2021, khs...@codeaurora.org wrote: > > > > > On 2021-10-05 15:36, Stephen Boyd wrote: > > > > Quoting Bjorn Andersson (2021-10-05 14:40:38) > > > > > On Tue 05 Oct

Re: [Intel-gfx] [RFC 7/8] drm/i915: Inherit process nice for context scheduling priority

2021-10-06 Thread Matthew Brost
On Mon, Oct 04, 2021 at 03:36:49PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Introduce the concept of context nice value which matches the process > nice. > > We do this by extending the struct i915_sched_attr and add a helper > (i915_sched_attr_priority) to be used to convert to

Re: [Intel-gfx] [RFC 7/8] drm/i915: Inherit process nice for context scheduling priority

2021-10-06 Thread Matthew Brost
On Mon, Oct 04, 2021 at 03:36:49PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Introduce the concept of context nice value which matches the process > nice. > > We do this by extending the struct i915_sched_attr and add a helper > (i915_sched_attr_priority) to be used to convert to

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Dmitry Baryshkov
On 06/10/2021 20:07, Bjorn Andersson wrote: On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: Quoting Bjorn Andersson (2021-10-05 19:37:52) On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: Quoting Bjorn Andersson (2021-10-05 18:43:16) On Tue 05 Oct 17:43 PDT 2021, Stephen Boyd wrote:

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-06 10:07:17) > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-10-05 18:43:16) > > > > > On Tue 05 Oct 17:43

Re: [RFC 6/8] drm/i915: Make some recently added vfuncs use full scheduling attribute

2021-10-06 Thread Matthew Brost
On Mon, Oct 04, 2021 at 03:36:48PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Code added in 71ed60112d5d ("drm/i915: Add kick_backend function to > i915_sched_engine") and ee242ca704d3 ("drm/i915/guc: Implement GuC > priority management") introduced some scheduling related vfuncs

Re: [PATCH] drm/i915/pmu: Connect engine busyness stats from GuC to pmu

2021-10-06 Thread Matthew Brost
On Wed, Oct 06, 2021 at 09:22:42AM +0100, Tvrtko Ursulin wrote: > > On 06/10/2021 00:14, Matthew Brost wrote: > > On Tue, Oct 05, 2021 at 10:47:11AM -0700, Umesh Nerlige Ramappa wrote: > > > With GuC handling scheduling, i915 is not aware of the time that a > > > context is scheduled in and out

RE: [PATCH i-g-t 1/1] tests/i915_pxp: Use ioctl_wrapper for DRM_IOCTL_PRIME_HANDLE_TO_FD

2021-10-06 Thread Ruhl, Michael J
>-Original Message- >From: Teres Alexis, Alan Previn >Sent: Wednesday, October 6, 2021 12:52 PM >To: igt-...@lists.freedesktop.org >Cc: Teres Alexis, Alan Previn ; dri- >de...@lists.freedesktop.org; Ruhl; Ruhl, Michael J >; Vivi, Rodrigo >Subject: [PATCH i-g-t 1/1] tests/i915_pxp: Use

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Bjorn Andersson
On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > Quoting Bjorn Andersson (2021-10-05 18:43:16) > > > > On Tue 05 Oct 17:43 PDT 2021, Stephen Boyd wrote: > > > > > > > > > Quoting Bjorn

[PATCH i-g-t 1/1] tests/i915_pxp: Use ioctl_wrapper for DRM_IOCTL_PRIME_HANDLE_TO_FD

2021-10-06 Thread Alan Previn
Replace private helper with call to ioctl_wrapper for DRM_IOCTL_PRIME_HANDLE_TO_FD. Signed-off-by: Alan Previn --- tests/i915/gem_pxp.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/tests/i915/gem_pxp.c b/tests/i915/gem_pxp.c index 79040165..0430f4b8

Re: [PATCH 3/8] drm/i915: Disable tracing points on PREEMPT_RT

2021-10-06 Thread Sebastian Andrzej Siewior
On 2021-10-06 12:15:21 [+0200], To Ville Syrjälä wrote: > On 2021-10-06 12:34:19 [+0300], Ville Syrjälä wrote: > > I think the correct answer is to make uncore.lock a raw_spinlock. > > Without the tracepoints deubgging any of this is stuff pretty much > > impossible. We also take that lock a lot.

Re: [Nouveau] [PATCH v3 2/5] drm/nouveau/kms/nv50-: Explicitly check DPCD backlights for aux enable/brightness

2021-10-06 Thread Karol Herbst
On Wed, Oct 6, 2021 at 4:41 AM Lyude Paul wrote: > > Since we don't support hybrid AUX/PWM backlights in nouveau right now, > let's add some explicit checks so that we don't break nouveau once we > enable support for these backlights in other drivers. > > Signed-off-by: Lyude Paul > --- >

[PATCH] drm/msm/dp: do not initialize combo phy until plugin interrupt

2021-10-06 Thread Kuogee Hsieh
Combo phy support both USB3 and DP simultaneously. USB3 is the master of combo phy so that USB3 should initialize and power on its phy before DP initialize its phy. At current implementation, DP driver initialize its phy happen earlier than USB3 initialize its phy which cause timeout error at

  1   2   >