Re: [PATCH RESEND 1/4] dt-bindings: drm/bridge: analogix-anx7688: Add ANX7688 transmitter binding

2019-12-19 Thread Laurent Pinchart
Hi Hsin-Yi, On Fri, Dec 20, 2019 at 11:20:13AM +0800, Hsin-Yi Wang wrote: > On Fri, Dec 20, 2019 at 4:45 AM Rob Herring wrote: > > On Wed, Dec 11, 2019 at 02:19:08PM +0800, Hsin-Yi Wang wrote: > > > From: Nicolas Boichat > > > > > > Add support for analogix,anx7688 > > > > > > Signed-off-by:

[PATCH] drm/hisilicon/hibmc: add DPMS on/off function

2019-12-19 Thread Zhihui Chen
add DPMS function to turn on/off signal of monitor Signed-off-by: Zhihui Chen --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 16 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_regs.h | 6 ++ 2 files changed, 22 insertions(+) diff --git

[PATCH] drm/hisilicon/hibmc: fix 'xset dpms force off' fail

2019-12-19 Thread Zhihui Chen
both crtc_state->adjusted_mode.hdisplay and crtc_state->adjusted_mode.vdisplay are 0 when switch dpms off, return -EINVAL cause switch dpms off fail. Signed-off-by: Zhihui Chen --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 4/4] drm/mediatek: config mipitx impedance with calibration data

2019-12-19 Thread CK Hu
Hi, Jitao: On Mon, 2019-12-16 at 16:29 +0800, Jitao Shi wrote: > Read calibration data from nvmem, and config mipitx impedance with > calibration data to make sure their impedance are 100ohm. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_mipi_tx.h| 1 + >

Re: [PATCH] drm/dp_mst: clear time slots for ports invalid

2019-12-19 Thread Lin, Wayne
[AMD Official Use Only - Internal Distribution Only] Pinged. Hi, can someone help to review please. Thanks a lot. Regards, Wayne From: Wayne Lin Sent: Friday, December 6, 2019 16:39 To: dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org Cc:

Re: [PATCH 1/2] dt-bindings: Add vendor prefix for Satoz

2019-12-19 Thread Rob Herring
On Fri, 13 Dec 2019 19:23:24 +0100, Miquel Raynal wrote: > Satoz is a Chinese TFT manufacturer. > Website: http://www.sat-sz.com/English/index.html > > Signed-off-by: Miquel Raynal > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) >

Re: [PATCH 01/12] dt-bindings: display: rockchip-lvds: Declare PX30 compatible

2019-12-19 Thread Rob Herring
On Fri, 13 Dec 2019 19:10:40 +0100, Miquel Raynal wrote: > Document the PX30 LVDS compatible. > > Signed-off-by: Miquel Raynal > --- > .../devicetree/bindings/display/rockchip/rockchip-lvds.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-19 Thread John Hubbard
On 12/19/19 1:07 PM, Jason Gunthorpe wrote: ... 3. It would be nice if I could reproduce this. I have a two-node mlx5 Infiniband test setup, but I have done only the tiniest bit of user space IB coding, so if you have any test programs that aren't too hard to deal with that could possibly hit

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-19 Thread John Hubbard
On 12/19/19 1:07 PM, Jason Gunthorpe wrote: On Thu, Dec 19, 2019 at 12:30:31PM -0800, John Hubbard wrote: On 12/19/19 5:26 AM, Leon Romanovsky wrote: On Mon, Dec 16, 2019 at 02:25:12PM -0800, John Hubbard wrote: Hi, This implements an API naming change (put_user_page*() -->

Re: [PATCH] drm/todo: Updating logging todo

2019-12-19 Thread Daniel Vetter
On Thu, Dec 19, 2019 at 06:26:41PM +0200, Jani Nikula wrote: > On Thu, 19 Dec 2019, Daniel Vetter wrote: > > Jani has merged a new set of logging functions, which we hope to be > > the One True solution now, pinky promises: > > > > commit fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 > > Author: Jani

Re: [PATCH RESEND 3/4] dt-bindings: drm/bridge: Add GPIO display mux binding

2019-12-19 Thread Rob Herring
On Mon, Dec 16, 2019 at 03:16:23PM +0800, Hsin-Yi Wang wrote: > On Sat, Dec 14, 2019 at 5:29 AM Rob Herring wrote: > > > > On Wed, Dec 11, 2019 at 12:19 AM Hsin-Yi Wang wrote: > > > > > > From: Nicolas Boichat > > > > > > Add bindings for Generic GPIO mux driver. > > > > > > Signed-off-by:

Re: [PATCH RESEND 1/4] dt-bindings: drm/bridge: analogix-anx7688: Add ANX7688 transmitter binding

2019-12-19 Thread Rob Herring
On Wed, Dec 11, 2019 at 02:19:08PM +0800, Hsin-Yi Wang wrote: > From: Nicolas Boichat > > Add support for analogix,anx7688 > > Signed-off-by: Nicolas Boichat > Signed-off-by: Hsin-Yi Wang > --- > Change from RFC to v1: > - txt to yaml > --- > .../bindings/display/bridge/anx7688.yaml |

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-19 Thread John Hubbard
On 12/19/19 5:26 AM, Leon Romanovsky wrote: On Mon, Dec 16, 2019 at 02:25:12PM -0800, John Hubbard wrote: Hi, This implements an API naming change (put_user_page*() --> unpin_user_page*()), and also implements tracking of FOLL_PIN pages. It extends that tracking to a few select subsystems.

Re: [PATCH 5/5] drm/msm/a6xx: Add support for using system cache(LLC)

2019-12-19 Thread Jordan Crouse
On Thu, Dec 19, 2019 at 12:58:15PM -0700, Jordan Crouse wrote: > On Thu, Dec 19, 2019 at 06:44:46PM +0530, Sharat Masetty wrote: > > + > > + /* > > +* CNTL1 is used to specify SCID for (CP, TP, VFD, CCU and UBWC > > +* FLAG cache) GPU blocks. This value will be passed along with > >

Re: [PATCH 5/5] drm/msm/a6xx: Add support for using system cache(LLC)

2019-12-19 Thread Jordan Crouse
On Thu, Dec 19, 2019 at 06:44:46PM +0530, Sharat Masetty wrote: > The last level system cache can be partitioned to 32 different slices > of which GPU has two slices preallocated. One slice is used for caching GPU > buffers and the other slice is used for caching the GPU SMMU pagetables. > This

Re: [PATCH v4 3/5] dt-bindings: display: ti, j721e-dss: Add dt-schema yaml binding

2019-12-19 Thread Jyri Sarha
On 19/12/2019 16:01, Jyri Sarha wrote: > On 19/12/2019 10:38, Maxime Ripard wrote: >> Hi, >> >> On Thu, Dec 19, 2019 at 10:23:17AM +0200, Jyri Sarha wrote: >>> Add dt-schema yaml bindig for J721E DSS, J721E version TI Keystone >>> Display SubSystem. >>> >>> Version history: >>> >>> v2: no change

Re: [PATCH][next] drm/i915: fix uninitialized pointer reads on pointers to and from

2019-12-19 Thread Chris Wilson
Quoting Colin King (2019-12-19 19:09:16) > From: Colin Ian King > > Currently pointers to and from are not initialized and may contain > garbage values. This will cause uninitialized pointer reads in the > call to intel_frontbuffer_track and later checks to see if to and from > are null. Fix

Re: [PATCH AUTOSEL 5.4 143/350] drm/nouveau: Resume hotplug interrupts earlier

2019-12-19 Thread Sasha Levin
On Tue, Dec 10, 2019 at 04:29:54PM -0500, Lyude Paul wrote: huh? Not sure how this got put in the stable queue, but this probably should be dropped. this was prepatory work for some MST functionality that got added recently, not a fix. Dropped, thanks! -- Thanks, Sasha

Re: [PATCH v4 34/51] drm/omap: venc: Register a drm_bridge

2019-12-19 Thread Laurent Pinchart
Hi Tomi, On Thu, Dec 19, 2019 at 01:41:47PM +0200, Tomi Valkeinen wrote: > On 19/12/2019 12:45, Laurent Pinchart wrote: > > In order to integrate with a chain of drm_bridge, the internal VENC > > encoder has to expose the mode valid, fixup and set, the enable and > > disable and the get modes

Re: [PATCH 4/5] drm/msm: Pass mmu features to generic layers

2019-12-19 Thread Jordan Crouse
On Thu, Dec 19, 2019 at 06:44:45PM +0530, Sharat Masetty wrote: > Allow different Adreno targets the ability to pass > specific mmu features to the generic layers. This will > help conditionally configure certain iommu features for > certain Adreno targets. > > Also Add a few simple support

[PATCH][next] drm/i915: fix uninitialized pointer reads on pointers to and from

2019-12-19 Thread Colin King
From: Colin Ian King Currently pointers to and from are not initialized and may contain garbage values. This will cause uninitialized pointer reads in the call to intel_frontbuffer_track and later checks to see if to and from are null. Fix this by ensuring to and from are initialized to NULL.

[PATCH 5.4 71/80] drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()

2019-12-19 Thread Greg Kroah-Hartman
From: Wayne Lin commit e5a6ca27eb72c67533ddfc11c06df84beaa167fa upstream. [Why] If the payload_state is DP_PAYLOAD_DELETE_LOCAL in series, current code doesn't delete the payload at current index and just move the index to next one after shuffling payloads. [How] Drop the i++ increasing part

[PATCH 5.4 46/80] drm/mgag200: Extract device type from flags

2019-12-19 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 3a8a5aba142a44eaeba0cb0ec1b4a8f177b5e59a upstream. Adds a conversion function that extracts the device type from the PCI id-table flags. Allows for storing additional information in the other flag bits. Signed-off-by: Thomas Zimmermann Fixes: 81da87f63a1e ("drm:

[PATCH 5.4 48/80] drm/mgag200: Add workaround for HW that does not support startadd

2019-12-19 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 1591fadf857cdbaf2baa55e421af99a61354713c upstream. There's at least one system that does not interpret the value of the device's 'startadd' field correctly, which leads to incorrectly displayed scanout buffers. Always placing the active scanout buffer at offset 0

[PATCH 5.4 47/80] drm/mgag200: Store flags from PCI driver data in device structure

2019-12-19 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit d6d437d97d54c85a1a93967b2745e31dff03365a upstream. The flags field in struct mga_device has been unused so far. We now use it to store flag bits from the PCI driver. Signed-off-by: Thomas Zimmermann Reviewed-by: Daniel Vetter Fixes: 81da87f63a1e ("drm: Replace

[PATCH 5.4 49/80] drm/mgag200: Flag all G200 SE A machines as broken wrt

2019-12-19 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 4adf0b49eea926a55fd956ef7d86750f771435ff upstream. Several MGA G200 SE machines don't respect the value of the startadd register field. After more feedback on affected machines, neither PCI subvendor ID nor the internal ID seem to hint towards the bug. All

Re: [PATCH v2 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel

2019-12-19 Thread Rob Herring
On Mon, 9 Dec 2019 17:45:40 +0200, Jyri Sarha wrote: > Add DT schema binding for Rocktech Displays Limited RK101II01D-CT > 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and > capacitive touch panel. > > Signed-off-by: Jyri Sarha > --- >

Re: [PATCH] drm/todo: Updating logging todo

2019-12-19 Thread Sam Ravnborg
Hi Daniel. On Thu, Dec 19, 2019 at 05:17:22PM +0100, Daniel Vetter wrote: > Jani has merged a new set of logging functions, which we hope to be > the One True solution now, pinky promises: > > commit fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 > Author: Jani Nikula > Date: Tue Dec 10 14:30:43

Re: [PATCH] drm/amd/display: replace BUG_ON with WARN_ON

2019-12-19 Thread Mikita Lipski
On 12/18/19 11:15 AM, Aditya Pakki wrote: In skip_modeset label within dm_update_crtc_state(), the dc stream cannot be NULL. Using BUG_ON as an assertion is not required and can be removed. The patch replaces the check with a WARN_ON in case dm_new_crtc_state->stream is NULL. Signed-off-by:

Re: [PATCH] drm/todo: Updating logging todo

2019-12-19 Thread Jani Nikula
On Thu, 19 Dec 2019, Daniel Vetter wrote: > Jani has merged a new set of logging functions, which we hope to be > the One True solution now, pinky promises: > > commit fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 > Author: Jani Nikula > Date: Tue Dec 10 14:30:43 2019 +0200 > > drm/print:

[radeon-alex:drm-next 488/534] htmldocs: include/drm/gpu_scheduler.h:102: warning: Function parameter or member 'num_sched_list' not described in 'drm_sched_entity'

2019-12-19 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next head: 2236fe71fb0b404a02c9451f4966c9b754a36c9e commit: 353522e0be7cc524c17da80e4ed66e4100f339af [488/534] drm/scheduler: rework entity creation reproduce: make htmldocs If you fix the issue, kindly add following tag Reported-by:

[Bug 205915] AMDGPU: Screen flicker after resume from suspend

2019-12-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205915 --- Comment #2 from onil (o...@pm.me) --- Created attachment 286367 --> https://bugzilla.kernel.org/attachment.cgi?id=286367=edit dmesg after resume from suspend -- You are receiving this mail because: You are watching the assignee of the

Re: Proposal to report GPU private memory allocations with sysfs nodes [plain text version]

2019-12-19 Thread Rohan Garg
Hey > Is it reasonable to add another ioctl or something equivalent to label > a BO with what PID makes the allocation? When the BO gets shared to > other processes, this information also needs to be bookkept somewhere > for tracking. Basically I wonder if it's possible for upstream to > track

[PATCH] drm/todo: Updating logging todo

2019-12-19 Thread Daniel Vetter
Jani has merged a new set of logging functions, which we hope to be the One True solution now, pinky promises: commit fb6c7ab8718eb2543695d77ad8302ff81e8e1e32 Author: Jani Nikula Date: Tue Dec 10 14:30:43 2019 +0200 drm/print: introduce new struct drm_device based logging macros Update

[Bug 205915] AMDGPU: Screen flicker after resume from suspend

2019-12-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205915 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[Bug 205915] New: AMDGPU: Screen flicker after resume from suspend

2019-12-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205915 Bug ID: 205915 Summary: AMDGPU: Screen flicker after resume from suspend Product: Drivers Version: 2.5 Kernel Version: 5.5.0-rc2 Hardware: x86-64 OS: Linux

Re: [PATCH][next] drm/gma500: fix null dereference of pointer fb before null check

2019-12-19 Thread Patrik Jakobsson
On Mon, Dec 16, 2019 at 5:21 PM Colin King wrote: > > From: Colin Ian King > > Pointer fb is being dereferenced when assigning dev before it > is null checked. Fix this by only dereferencing dev after the > null check. Applied to drm-misc-next Thanks Patrik > > Fixes: 6b7ce2c4161a

Re: [PATCH 4/8] drm/gem-fb-helper: convert to drm device based logging

2019-12-19 Thread Jani Nikula
On Tue, 17 Dec 2019, Sam Ravnborg wrote: > On Tue, Dec 10, 2019 at 02:30:46PM +0200, Jani Nikula wrote: >> Prefer drm_dbg_kms() and drm_err() over all other logging. >> >> Signed-off-by: Jani Nikula > Reviewed-by: Sam Ravnborg Thanks for the review, pushed up to this patch. BR, Jani. > >>

Re: [PATCH next] drm/amd/display: make non-global functions static

2019-12-19 Thread Harry Wentland
On 2019-12-19 6:55 a.m., Chen Zhou wrote: > Fix sparse warning: > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:964:5: > warning: symbol 'shift_border_left_to_dst' was not declared. Should it > be static? > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:975:6:

Re: [PATCH v4 3/5] dt-bindings: display: ti, j721e-dss: Add dt-schema yaml binding

2019-12-19 Thread Jyri Sarha
On 19/12/2019 10:38, Maxime Ripard wrote: > Hi, > > On Thu, Dec 19, 2019 at 10:23:17AM +0200, Jyri Sarha wrote: >> Add dt-schema yaml bindig for J721E DSS, J721E version TI Keystone >> Display SubSystem. >> >> Version history: >> >> v2: no change >> >> v3: - reg-names: "wp" -> "wb" >> - Add

Re: [PATCH v4 3/5] dt-bindings: display: ti, j721e-dss: Add dt-schema yaml binding

2019-12-19 Thread Peter Ujfalusi
Hi Jyri, On 19/12/2019 10.23, Jyri Sarha wrote: > Add dt-schema yaml bindig for J721E DSS, J721E version TI Keystone > Display SubSystem. > > Version history: > > v2: no change > > v3: - reg-names: "wp" -> "wb" > - Add ports node > - Add includes to dts example > - reindent dts

Re: [PATCH v2 2/9] drm/amd/display: Fix compilation issue.

2019-12-19 Thread Manna, Animesh
On 19-12-2019 05:23, Manasi Navare wrote: On Wed, Dec 18, 2019 at 09:43:49PM +0530, Manna, Animesh wrote: On 18-12-2019 21:12, Harry Wentland wrote: On 2019-12-18 10:13 a.m., Animesh Manna wrote: [Why]: Aligh with DP spec wanted to follow same naming convention. [How]: Changed the macro

Re: [PATCH v2 3/9] drm/i915/dp: Move vswing/pre-emphasis adjustment calculation

2019-12-19 Thread Manna, Animesh
On 19-12-2019 18:03, Ville Syrjälä wrote: On Wed, Dec 18, 2019 at 08:43:44PM +0530, Animesh Manna wrote: vswing/pre-emphasis adjustment calculation is needed in processing of auto phy compliance request other than link training, so moved the same function in intel_dp.c. No functional change.

Re: [PATCH v2 3/9] drm/i915/dp: Move vswing/pre-emphasis adjustment calculation

2019-12-19 Thread Manna, Animesh
On 19-12-2019 16:21, Jani Nikula wrote: On Wed, 18 Dec 2019, Animesh Manna wrote: vswing/pre-emphasis adjustment calculation is needed in processing of auto phy compliance request other than link training, so moved the same function in intel_dp.c. No functional change. Signed-off-by:

Re: [PATCH v11 00/25] mm/gup: track dma-pinned pages: FOLL_PIN

2019-12-19 Thread Leon Romanovsky
On Mon, Dec 16, 2019 at 02:25:12PM -0800, John Hubbard wrote: > Hi, > > This implements an API naming change (put_user_page*() --> > unpin_user_page*()), and also implements tracking of FOLL_PIN pages. It > extends that tracking to a few select subsystems. More subsystems will > be added in follow

Re: [PATCH] drm/i915: Provide ddc symlink in hdmi connector sysfs directory

2019-12-19 Thread Jani Nikula
On Fri, 13 Dec 2019, Andrzej Pietrasiewicz wrote: > W dniu 28.11.2019 o 16:01, Andrzej Pietrasiewicz pisze: >> Use the ddc pointer provided by the generic connector. >> > > A gentle ping. Pushed, sorry for the delay. BR, Jani. > > Andrzej > >> Signed-off-by: Andrzej Pietrasiewicz >>

[PATCH 4/5] drm/msm: Pass mmu features to generic layers

2019-12-19 Thread Sharat Masetty
Allow different Adreno targets the ability to pass specific mmu features to the generic layers. This will help conditionally configure certain iommu features for certain Adreno targets. Also Add a few simple support functions to support a bitmask of features that a specific MMU implementation

[PATCH 5/5] drm/msm/a6xx: Add support for using system cache(LLC)

2019-12-19 Thread Sharat Masetty
The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffers and the other slice is used for caching the GPU SMMU pagetables. This patch talks to the core system cache driver to acquire the slice handles,

[PATCH 1/5] iommu/arm-smmu: Pass io_pgtable_cfg to impl specific init_context

2019-12-19 Thread Sharat Masetty
From: Jordan Crouse Pass the propposed io_pgtable_cfg to the implementation specific init_context() function to give the implementation an opportunity to to modify it before it gets passed to io-pgtable. Signed-off-by: Jordan Crouse Signed-off-by: Sai Prakash Ranjan ---

[PATCH 0/5] drm/msm/a6xx: System Cache Support

2019-12-19 Thread Sharat Masetty
Some hardware variants contain a system level cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved

[PATCH 3/5] drm/msm: rearrange the gpu_rmw() function

2019-12-19 Thread Sharat Masetty
The register read-modify-write construct is generic enough that it can be used by other subsystems as needed, create a more generic rmw() function and have the gpu_rmw() use this new function. Signed-off-by: Sharat Masetty Reviewed-by: Jordan Crouse --- drivers/gpu/drm/msm/msm_drv.c | 8

[PATCH 2/5] iommu/arm-smmu: Add domain attribute for QCOM system cache

2019-12-19 Thread Sharat Masetty
From: Vivek Gautam Add iommu domain attribute for using system cache aka last level cache on QCOM SoCs by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed-off-by: Vivek Gautam Co-developed-by: Sai Prakash Ranjan Signed-off-by:

Re: linux-next: Signed-off-by missing for commits in the drm-intel-fixes tree

2019-12-19 Thread Joonas Lahtinen
Quoting Jani Nikula (2019-12-19 14:37:02) > On Thu, 19 Dec 2019, Stephen Rothwell wrote: > > Hi all, > > > > Commits > > > > 987e379d7500 ("Revert "devtmpfs: use do_mount() instead of ksys_mount()"") > > 9bd5ba4fe25a ("Revert "initrd: use do_mount() instead of ksys_mount()"") > >

[PULL] drm-intel-fixes

2019-12-19 Thread Joonas Lahtinen
Hi Dave & Daniel, Another -rc, another CI fire due to regressions elsewhere. Our CI needed the following patches to get machines boot with -rc2: Revert "devtmpfs: use do_mount() instead of ksys_mount()" (commit 5e787dbf659fe77d56215be74044f85e01b3920f) Revert "initrd:

Re: Warnings in DRM code when removing/unbinding a driver

2019-12-19 Thread Daniel Vetter
On Thu, Dec 19, 2019 at 12:32 PM Gerd Hoffmann wrote: > > Hi, > > > > Like I said, for most drivers > > > > you can pretty much assume that their unload sequence has been broken > > > > since forever. It's not often tested, and especially the hotunbind > > > > from a device (as opposed to

Re: linux-next: Signed-off-by missing for commits in the drm-intel-fixes tree

2019-12-19 Thread Jani Nikula
On Thu, 19 Dec 2019, Stephen Rothwell wrote: > Hi all, > > Commits > > 987e379d7500 ("Revert "devtmpfs: use do_mount() instead of ksys_mount()"") > 9bd5ba4fe25a ("Revert "initrd: use do_mount() instead of ksys_mount()"") > fa31001c96ad ("Revert "init: use do_mount() instead of

Re: [PATCH v2 3/9] drm/i915/dp: Move vswing/pre-emphasis adjustment calculation

2019-12-19 Thread Ville Syrjälä
On Wed, Dec 18, 2019 at 08:43:44PM +0530, Animesh Manna wrote: > vswing/pre-emphasis adjustment calculation is needed in processing > of auto phy compliance request other than link training, so moved > the same function in intel_dp.c. > > No functional change. > > Signed-off-by: Animesh Manna >

Re: [PATCH v4 34/51] drm/omap: venc: Register a drm_bridge

2019-12-19 Thread Tomi Valkeinen
Hi Laurent, On 19/12/2019 12:45, Laurent Pinchart wrote: > In order to integrate with a chain of drm_bridge, the internal VENC > encoder has to expose the mode valid, fixup and set, the enable and > disable and the get modes operations through the drm_bridge API. > Register a bridge at

Patch "drm/mgag200: Store flags from PCI driver data in device structure" has been added to the 5.4-stable tree

2019-12-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/mgag200: Store flags from PCI driver data in device structure to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Patch "drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()" has been added to the 5.4-stable tree

2019-12-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/dp_mst: Correct the bug in drm_dp_update_payload_part1() to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

Patch "drm/mgag200: Extract device type from flags" has been added to the 5.4-stable tree

2019-12-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/mgag200: Extract device type from flags to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "drm/mgag200: Flag all G200 SE A machines as broken wrt " has been added to the 5.4-stable tree

2019-12-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/mgag200: Flag all G200 SE A machines as broken wrt to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "drm/mgag200: Add workaround for HW that does not support 'startadd'" has been added to the 5.4-stable tree

2019-12-19 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/mgag200: Add workaround for HW that does not support 'startadd' to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Re: Warnings in DRM code when removing/unbinding a driver

2019-12-19 Thread Gerd Hoffmann
Hi, > > Like I said, for most drivers > > > you can pretty much assume that their unload sequence has been broken > > > since forever. It's not often tested, and especially the hotunbind > > > from a device (as opposed to driver unload) stuff wasn't even possible > > > to get right until just

linux-next: Signed-off-by missing for commits in the drm-intel-fixes tree

2019-12-19 Thread Stephen Rothwell
Hi all, Commits 987e379d7500 ("Revert "devtmpfs: use do_mount() instead of ksys_mount()"") 9bd5ba4fe25a ("Revert "initrd: use do_mount() instead of ksys_mount()"") fa31001c96ad ("Revert "init: use do_mount() instead of ksys_mount()"") are missing a Signed-off-by from their author and

Re: [PATCH v2 3/9] drm/i915/dp: Move vswing/pre-emphasis adjustment calculation

2019-12-19 Thread Jani Nikula
On Wed, 18 Dec 2019, Animesh Manna wrote: > vswing/pre-emphasis adjustment calculation is needed in processing > of auto phy compliance request other than link training, so moved > the same function in intel_dp.c. > > No functional change. > > Signed-off-by: Animesh Manna > --- >

[PATCH v4 45/51] drm/omap: dpi: Register a drm_bridge

2019-12-19 Thread Laurent Pinchart
In order to integrate with a chain of drm_bridge, the internal DPI output has to expose its operations through the drm_bridge API. Register a bridge at initialisation time to do so and remove the omap_dss_device operations that are now unused. Signed-off-by: Laurent Pinchart --- Changes since

[PATCH v4 40/51] drm/omap: hdmi4: Simplify EDID read

2019-12-19 Thread Laurent Pinchart
Now that the omap_dss_device EDID read operation has been removed, simplify the bridge-based EDID access by merging multiple functions together. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 96 - 1 file

[PATCH v4 50/51] drm/omap: dss: Inline the omapdss_display_get() function

2019-12-19 Thread Laurent Pinchart
Inline the omapdss_display_get() in its only caller to simplify the code. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/display.c | 9 - drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 - drivers/gpu/drm/omapdrm/omap_drv.c| 7 --- 3 files

[PATCH v4 23/51] drm/omap: Add infrastructure to support drm_bridge local to DSS outputs

2019-12-19 Thread Laurent Pinchart
In order to support drm_bridge-based pipeline, the internal HDMI encoders will need to expose the EDID read operation through the drm_bridge API, and thus to expose a drm_bridge instance corresponding to the encoder. The HDMI encoders are however handled as omap_dss_device instances, which

[PATCH v4 47/51] drm/omap: sdi: Register a drm_bridge

2019-12-19 Thread Laurent Pinchart
In order to integrate with a chain of drm_bridge, the internal SDI output has to expose its operations through the drm_bridge API. Register a bridge at initialisation time to do so and remove the omap_dss_device operations that are now unused. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi

[PATCH v4 49/51] drm/omap: dss: Remove unused omap_dss_device operations

2019-12-19 Thread Laurent Pinchart
The omap_dss_device .pre_enable(), .post_disable() and .set_timings() are not used anymore. Remove them. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/base.c | 26 --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 6

[PATCH v4 39/51] drm/omap: venc: Remove omap_dss_device operations

2019-12-19 Thread Laurent Pinchart
Now that the VENC output is driven fully through the drm_bridge API its omap_dss_device operations are not used anymore. Remove them. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/venc.c | 45 -- 1 file changed, 45

[PATCH v4 36/51] drm/omap: Switch the HDMI and VENC outputs to drm_bridge

2019-12-19 Thread Laurent Pinchart
The TPD12S015, OPA362 and analog and HDMI connectors are now supported by DRM bridge drivers, and the omapdrm HDMI and VENC outputs can be handled through the drm_bridge API. Switch the outputs to drm_bridge by making the next bridge mandatory and removing the related omapdrm-specific display

[PATCH v4 43/51] drm/omap: dpi: Reorder functions in sections

2019-12-19 Thread Laurent Pinchart
Group functions based on their purpose and split them in sections to make the source code easier to navigate. No functional change is included. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dpi.c | 146 -- 1 file

[PATCH v4 25/51] drm/omap: hdmi: Allocate EDID in the .read_edid() operation

2019-12-19 Thread Laurent Pinchart
Bring the omapdss-specific .read_edid() operation in sync with the drm_bridge .get_edid() operation to ease code reuse. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- Changes since v1: - Keep MAX_EDID macro --- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 36

[PATCH v4 18/51] drm/omap: dss: Cleanup DSS ports on initialisation failure

2019-12-19 Thread Laurent Pinchart
When the DSS initialises its output DPI and SDI ports, failures don't clean up previous successfully initialised ports. This can lead to resource leak or memory corruption. Fix it. Reported-by: Hans Verkuil Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Acked-by: Sam Ravnborg ---

[PATCH v4 21/51] drm/omap: Use the drm_panel_bridge API

2019-12-19 Thread Laurent Pinchart
Replace the manual panel handling code by a drm_panel_bridge. This simplifies the driver and allows all components in the display pipeline to be treated as bridges, paving the way to generic connector handling. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- Changes since v1: -

[PATCH v4 33/51] drm/omap: dss: Remove .set_hdmi_mode() and .set_infoframe() operations

2019-12-19 Thread Laurent Pinchart
The omapdss_hdmi_ops .set_hdmi_mode() and .set_infoframe() operations operations are not used anymore, remove them. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 --- drivers/gpu/drm/omapdrm/omap_encoder.c | 26

[PATCH v4 16/51] drm: Add helper to create a connector for a chain of bridges

2019-12-19 Thread Laurent Pinchart
Most bridge drivers create a DRM connector to model the connector at the output of the bridge. This model is historical and has worked pretty well so far, but causes several issues: - It prevents supporting more complex display pipelines where DRM connector operations are split over multiple

[PATCH v4 12/51] drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter

2019-12-19 Thread Laurent Pinchart
The TI TPD12S015 is an HDMI level shifter and ESD protector controlled through GPIOs. Add a DRM bridge driver for the device. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Acked-by: Sam Ravnborg --- Changes since v2: - Control CT_CP_HPD GPIO from .hpd_enable() and .hpd_disable()

[PATCH v4 32/51] drm/omap: hdmi4: Implement drm_bridge .hpd_notify() operation

2019-12-19 Thread Laurent Pinchart
The HDMI4 encoder is transitioning to the drm_bridge API, implement the last missing operation. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v4 24/51] drm/omap: dss: Make omap_dss_device_ops optional

2019-12-19 Thread Laurent Pinchart
As part of the move to drm_bridge ops, the dssdev ops will become empty for some of the internal encoders. Make them optional in the driver to allow them to be removed completely, easing the transition. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen ---

[PATCH v4 41/51] drm/omap: hdmi5: Simplify EDID read

2019-12-19 Thread Laurent Pinchart
Now that the omap_dss_device EDID read operation has been removed, simplify the bridge-based EDID access by merging multiple functions together. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 86 - 1 file

[PATCH v4 27/51] drm/omap: hdmi5: Rework EDID read to isolate data read

2019-12-19 Thread Laurent Pinchart
In preparation of adding DRM bridge support to the hdmi5 encoder code, rework the EDID read to isolate data read. The hdmi_read_edid() function is the main entry point. It performs all initialisation steps required prior to reading the EDID (such as ensuring the device is powered on), as well as

[PATCH v4 29/51] drm/omap: hdmi5: Register a drm_bridge for EDID read

2019-12-19 Thread Laurent Pinchart
In order to integrate with a chain of drm_bridge, the internal HDMI5 encoder has to expose the EDID read operation through the drm_bridge API. Register a bridge at initialisation time to do so. For the time being make the next bridge in the chain optional as the HDMI output is still based on

[PATCH v4 34/51] drm/omap: venc: Register a drm_bridge

2019-12-19 Thread Laurent Pinchart
In order to integrate with a chain of drm_bridge, the internal VENC encoder has to expose the mode valid, fixup and set, the enable and disable and the get modes operations through the drm_bridge API. Register a bridge at initialisation time to do so. Most of those operations are removed from the

[PATCH v4 42/51] drm/omap: dpi: Sort includes alphabetically

2019-12-19 Thread Laurent Pinchart
This makes it easier to quickly locate duplicate includes. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dpi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c

[PATCH v4 17/51] drm/omap: Fix possible object reference leak

2019-12-19 Thread Laurent Pinchart
From: Wen Yang The call to of_find_matching_node returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c:212:2-8: ERROR: missing

[PATCH v4 38/51] drm/omap: hdmi: Remove omap_dss_device operations

2019-12-19 Thread Laurent Pinchart
Now that the HDMI outputs are driven fully through the drm_bridge API their omap_dss_device operations are not used anymore. Remove them. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi.h | 1 - drivers/gpu/drm/omapdrm/dss/hdmi4.c | 18

[PATCH v4 28/51] drm/omap: hdmi4: Register a drm_bridge for EDID read

2019-12-19 Thread Laurent Pinchart
In order to integrate with a chain of drm_bridge, the internal HDMI4 encoder has to expose the EDID read operation through the drm_bridge API. Register a bridge at initialisation time to do so. For the time being make the next bridge in the chain optional as the HDMI output is still based on

[PATCH v4 30/51] drm/omap: hdmi4: Move mode set, enable and disable operations to bridge

2019-12-19 Thread Laurent Pinchart
Move the omap_dss_device .set_timings(), .enable() and .disable() operations to the drm_bridge functions. As the drm_bridge for the HDMI encoder is unconditionally registered and attached, those operations will be called at the appropriate time. The omapdss device .set_infoframe() and

[PATCH v4 51/51] drm/omap: dss: Remove unused omapdss_of_find_connected_device() function

2019-12-19 Thread Laurent Pinchart
The omapdss_of_find_connected_device() function isn't used anymore, remove it. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/Makefile | 2 +- drivers/gpu/drm/omapdrm/dss/dss-of.c | 28 ---

[PATCH v4 48/51] drm/omap: Hardcode omap_connector type to DSI

2019-12-19 Thread Laurent Pinchart
The omap_connector implementation is now used for DSI only. Hardcode its type and drop unused code. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/base.c | 23 -- drivers/gpu/drm/omapdrm/dss/omapdss.h| 1 - drivers/gpu/drm/omapdrm/omap_connector.c |

[PATCH v4 13/51] drm/bridge: panel: Implement bridge connector operations

2019-12-19 Thread Laurent Pinchart
Implement the newly added bridge connector operations, allowing the usage of drm_bridge_panel with drm_bridge_connector. Signed-off-by: Laurent Pinchart Reviewed-by: Boris Brezillon Reviewed-by: Sam Ravnborg --- Changes since v2: - Use the connector type from the panel instead of hardcoding

[PATCH v4 44/51] drm/omap: dpi: Simplify clock setting API

2019-12-19 Thread Laurent Pinchart
The dpi_set_pll_clk() and dpi_set_dispc_clk() return various information through pointer arguments that are never used by the callers. Remove them to simplify the clock setting API. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dpi.c | 32

[PATCH v4 20/51] drm/omap: Factor out display type to connector type conversion

2019-12-19 Thread Laurent Pinchart
Move the code that computes the DRM connector type for the omapdss_device display type to a new omapdss_device_connector_type() function for later reuse. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Acked-by: Sam Ravnborg --- drivers/gpu/drm/omapdrm/dss/base.c | 23

[PATCH v4 46/51] drm/omap: sdi: Sort includes alphabetically

2019-12-19 Thread Laurent Pinchart
This makes it easier to quickly locate duplicate includes. Signed-off-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/sdi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/sdi.c

[PATCH v4 31/51] drm/omap: hdmi5: Move mode set, enable and disable operations to bridge

2019-12-19 Thread Laurent Pinchart
Move the omap_dss_device .set_timings(), .enable() and .disable() operations to the drm_bridge functions. As the drm_bridge for the HDMI encoder is unconditionally registered and attached, those operations will be called at the appropriate time. The omapdss device .set_infoframe() and

[PATCH v4 35/51] drm/omap: Create connector for bridges

2019-12-19 Thread Laurent Pinchart
Use the drm_bridge_connector helper to create a connector for pipelines that use drm_bridge. This allows splitting connector operations across multiple bridges when necessary, instead of having the last bridge in the chain creating the connector and handling all connector operations internally.

  1   2   >