Re: [PATCH 2/2] drm/format_helper: Dual licence the header in GPL-2 and MIT

2020-03-19 Thread Gerd Hoffmann
On Fri, Mar 20, 2020 at 03:21:14AM +0100, Emmanuel Vadot wrote: > Source file was dual licenced but the header was omitted, fix that. > Contributors for this file are: > Noralf Trønnes > Gerd Hoffmann > Thomas Gleixner Acked-by: Gerd Hoffmann > Signed-off-by: Emmanuel Vadot > --- >

[PATCH v6 0/2] msm/gpu/a6xx: use the DMA-API for GMU memory allocations

2020-03-19 Thread Jordan Crouse
When CONFIG_INIT_ON_ALLOC_DEFAULT_ON the GMU memory allocator runs afoul of cache coherency issues because it is mapped as write-combine without clearing the cache after it was zeroed. Rather than duplicate the hacky workaround we use in the GEM allocator for the same reason it turns out that

[PATCH v6 1/2] dt-bindings: display: msm: Convert GMU bindings to YAML

2020-03-19 Thread Jordan Crouse
Convert display/msm/gmu.txt to display/msm/gmu.yaml and remove the old text bindings. The 'sram' text from the old binding never applied to the GMU so it was not converted but all the other properties were correct. Acked-by: Sam Ravnborg Reviewed-by: Rob Herring Signed-off-by: Jordan Crouse

[PATCH v6 2/2] drm/msm/a6xx: Use the DMA API for GMU memory objects

2020-03-19 Thread Jordan Crouse
The GMU has very few memory allocations and uses a flat memory space so there is no good reason to go out of our way to bypass the DMA APIs which were basically designed for this exact scenario. v7: Check return value of dma_set_mask_and_coherent v4: Use dma_alloc_wc() v3: Set the dma mask

[git pull drm fixes for 5.6-rc7

2020-03-19 Thread Dave Airlie
Hey Linus, Hope you are well hiding out above the garage, a few amdgpu changes but nothing too major. I've had a wisdom tooth out this week so haven't been to on top of things, but all seems good. Dave. drm-fixes-2020-03-20: drm fixes for 5.6-rc7 core: - fix lease warning i915: - Track active

Re: linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2020-03-19 Thread Stephen Rothwell
Hi all, On Wed, 11 Mar 2020 13:36:35 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-intel tree got a conflict in: > > drivers/gpu/drm/i915/gvt/vgpu.c > > between commit: > > 04d6067f1f19 ("drm/i915/gvt: Fix unnecessary schedule timer when no vGPU > exits") > >

Re: [PATCH 3/4] mm: simplify device private page handling in hmm_range_fault

2020-03-19 Thread Ralph Campbell
On 3/19/20 5:14 PM, Jason Gunthorpe wrote: On Tue, Mar 17, 2020 at 04:14:31PM -0700, Ralph Campbell wrote: +static int dmirror_fault(struct dmirror *dmirror, unsigned long start, +unsigned long end, bool write) +{ + struct mm_struct *mm = dmirror->mm; +

Re: [PATCH v7 1/2] dt-bindings: display: add visionox rm69299 panel variant

2020-03-19 Thread Rob Herring
On Mon, Mar 16, 2020 at 09:46:46AM +0530, Harigovindan P wrote: > Add bindings for visionox rm69299 panel. > > Signed-off-by: Harigovindan P > --- > > Changes in v2: > - Removed unwanted properties from description. > - Creating source files without execute permissions(Rob Herring).

Re: [PATCH v7 2/3] dt-bindings: Add binding for IT6505.

2020-03-19 Thread Rob Herring
On Mon, Mar 09, 2020 at 02:26:48PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Acked-by: Sam Ravnborg > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.yaml| 96 > ++ > 1 file changed,

[PATCH libdrm] intel: sync i915_pciids.h with kernel

2020-03-19 Thread Swathi Dhanavanthri
Changes: 91b79fb35d67 ("drm/i915/tgl: Add new PCI IDs to TGL") Signed-off-by: Swathi Dhanavanthri --- intel/i915_pciids.h | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/intel/i915_pciids.h b/intel/i915_pciids.h index 1d2c1221..662d8351 100644 ---

linux-next: manual merge of the drm-msm tree with the drm tree

2020-03-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-msm tree got conflicts in: drivers/gpu/drm/msm/edp/edp.c drivers/gpu/drm/msm/hdmi/hdmi.c between commit: a25b988ff83f ("drm/bridge: Extend bridge API to disable connector creation") from the drm tree and commit: c479017faa3a ("drm/msm:

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread VMware
Hi, On 3/19/20 10:07 PM, Simon Ser wrote: Is that something that should be done? If the hotspot property also had a "disabled" value, then Weston could set the hotspot to disabled when it is using the cursor plane for non-cursor content and not lose the feature. And of course set hotspot

Re: [PATCH 3/4] mm: simplify device private page handling in hmm_range_fault

2020-03-19 Thread Ralph Campbell
Adding linux-kselft...@vger.kernel.org for the test config question. On 3/19/20 11:17 AM, Jason Gunthorpe wrote: On Tue, Mar 17, 2020 at 04:14:31PM -0700, Ralph Campbell wrote: On 3/17/20 5:59 AM, Christoph Hellwig wrote: On Tue, Mar 17, 2020 at 09:47:55AM -0300, Jason Gunthorpe wrote: I've

Re: [PATCH 1/3] drm/dp: DRM DP helper for reading Ignore MSA from DPCD

2020-03-19 Thread Manasi Navare
On Thu, Mar 19, 2020 at 11:59:38AM +0200, Jani Nikula wrote: > On Tue, 17 Mar 2020, Manasi Navare wrote: > > DP sink device sets the Ignore MSA bit in its > > DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to > > ignore the MSA video timing paramaters and its ability to support > >

Re: [PATCH 2/3] drm: Create a drm_connector_helper_funcs hook for Adaptive Sync support

2020-03-19 Thread Manasi Navare
On Thu, Mar 19, 2020 at 12:07:37PM +0200, Jani Nikula wrote: > On Tue, 17 Mar 2020, Manasi Navare wrote: > > This patch adds a hook in drm_connector_helper_funcs to get the > > support of the driver for adaptive sync functionality. > > > > This can be called in the connector probe helper function

Re: [PATCH 3/3] drm/i915/dp: intel_dp connector hook for VRR support

2020-03-19 Thread Manasi Navare
On Thu, Mar 19, 2020 at 12:14:28PM +0200, Jani Nikula wrote: > On Tue, 17 Mar 2020, Manasi Navare wrote: > > This defines the get_vrr_support hook for intel DP connector > > VRR support is set to true based on the DPCD ignore MSA and > > EDID monitor range > > Yeah... but what do you use it for?

Re: [DPU PATCH v4 4/5] drm/msm/dp: add support for DP PLL driver

2020-03-19 Thread Stephen Boyd
Quoting Vara Reddy (2020-03-04 16:10:27) > From: Chandan Uddaraju > > Add the needed DP PLL specific files to support > display port interface on msm targets. > > The DP driver calls the DP PLL driver registration. > The DP driver sets the link and pixel clock sources. > > Changes in v2: > --

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Simon Ser
> >>> Is that something that should be done? > >>> If the hotspot property also had a "disabled" value, then Weston could > >>> set the hotspot to disabled when it is using the cursor plane for > >>> non-cursor content and not lose the feature. And of course set hotspot > >>> correctly when it in

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 9:14 PM, Simon Ser wrote: On Thursday, March 19, 2020 7:18 PM, Hans de Goede wrote: The only way to fix that is to stop Weston from putting non-cursor content on the cursor plane. Correct. Is that something that should be done? If the hotspot property also had a "disabled"

[pull] amdgpu 5.6 fixes

2020-03-19 Thread Alex Deucher
Hi Dave, Daniel, This just adds Mario's pageflip fix on top of yesterday's 5.6 pull. The following changes since commit a3c33e7a4a116f8715c0ef0e668e6aeff009c762: drm/amdgpu: fix typo for vcn2.5/jpeg2.5 idle check (2020-03-18 18:21:57 -0400) are available in the Git repository at:

[PATCH 10/17] drm/vmwgfx: Add support for indirect and dispatch commands

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Validate indirect and dispatch commands in command buffer. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger (VMware) --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 70 + 1 file changed, 70

[PATCH 12/17] drm/vmwgfx: Add support for streamoutput with mob commands

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat With SM5 capability a new version of streamoutput is supported by device which need backing mob and a new field. With this change the new command is supported in command buffer. v2: Also track streamoutput context binding in binding manager. v3: Track only one streamoutput

[PATCH 14/17] drm/vmwgfx: Refactor surface_define to use vmw_surface_metadata

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Makes surface_define cleaner by sending vmw_surface_metadata instead of all the arguments individually. v2: fix uninitialized return value, error message Signed-off-by: Deepak Rawat Reviewed-by: Brian Paul Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland

[PATCH 17/17] drm/vmwgfx: Use vmwgfx version 2.18 to signal SM5 compatibility

2020-03-19 Thread rscheidegger . oss
From: Thomas Hellstrom Signed-off-by: Thomas Hellström (VMware) Reviewed-by: Charmaine Lee Reviewed-by: Brian Paul Signed-off-by: Roland Scheidegger (VMware) ___ v2: Use 2.18 instead of 2.17 --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 16/17] drm/vmwgfx: Add SM5 param for userspace

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Add a new param for user-space to determine if kernel module is SM5 capable. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger (VMware) --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 3 +++ include/uapi/drm/vmwgfx_drm.h

[PATCH 15/17] drm/vmwgfx: Add surface define v4 command

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Surface define v4 added new member buffer_byte_stride. With this patch add buffer_byte_stride in surface metadata and create surface using new command if support is available. Also with this patch replace device specific data types with kernel types. Signed-off-by: Deepak

[PATCH 13/17] drm/vmwgfx: Split surface metadata from struct vmw_surface

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Create a new structure vmw_surface_metadata representing the metadata used for creating surface. With this can make the surface_define_priv a bit cleaner. Signed-off-by: Deepak Rawat Reviewed-by: Brian Paul Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland

[PATCH 09/17] drm/vmwgfx: Add support for UA view commands

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Virtual device now support new commands to manage unordered access views. Allow them as part of user-space command buffer. This involves adding UA view cotable, binding tracker info, new view type and command verifier functions. v2: fix comment typo v3: style fixes (don't use

[PATCH 03/17] drm/vmwgfx: Deprecate logic ops commands

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Logic ops commands are marked as deprecated by virtual device and were never used by vmwgfx. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger (VMware) --- .../gpu/drm/vmwgfx/device_include/svga3d_cmd.h | 12 ++--

[PATCH 08/17] drm/vmwgfx: Support SM5 shader type in command buffer

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Virtual device now supports new shader types, allow them as valid shader type in command buffer. Also add per shader bind info in binding manager state for new shader type. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger

[PATCH 02/17] drm/vmwgfx: Sync legacy multisampling device capability

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat In favor of SM4.1 multisampling capability, virtual device deprecated old multisampling device capability. Mark legacy multisampling device capability as dead. Rename the function that masks legacy multisample capability to reflect that now it is masking a deprecated feature.

[PATCH 11/17] drm/vmwgfx: Rename stream output target binding tracker struct

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Previous name vmw_ctx_bindinfo_so is misleading because it actually represent so target and stream output is a new resource type that needs tracking for SM5 capable device. Also rename binding type enum and internal functions to reflect these belongs to so targets.

[PATCH 04/17] drm/vmwgfx: Use enum to represent graphics context capabilities

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Instead of having different bool in device private to represent incremental graphics context capabilities, add a new sm type enum. v2: Use enum instead of bit flag. v3: Incorporated review comments. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware)

[PATCH 00/17] drm/vmwgfx add support for GL4

2020-03-19 Thread rscheidegger . oss
From: "Roland Scheidegger (VMware)" This series updates vmwgfx to support newer vmware svga device protocol and expose new commands to userspace.. This is required for supporting newer GL4 features in the guest. This syncs up the device headers, adds support for the new commands, and also

[PATCH 06/17] drm/vmwgfx: Add a new enum for SM5 graphics context capability

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat A new enum to represent new SM5 graphics context capability in vmwgfx. v2: use new correct cap bits (merged several later commits into it). Signed-off-by: Deepak Rawat Signed-off-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger (VMware) ---

[PATCH 01/17] drm/vmwgfx: Also check for SVGA_CAP_DX before reading DX context support

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Virtual device consider SVGA_CAP_DX and SVGA3D_DEVCAP_DXCONTEXT independent of each other. Some of the commands in cmd_buf depends on SVGA_CAP_DX, so better to check for that as well. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland

[PATCH 07/17] drm/vmwgfx: Read new register for GB memory when available

2020-03-19 Thread rscheidegger . oss
From: Deepak Rawat Virtual device added new register for suggested GB memory, read the new register when available. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellström (VMware) Signed-off-by: Roland Scheidegger (VMware) --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 12 +--- 1 file

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Simon Ser
On Thursday, March 19, 2020 7:18 PM, Hans de Goede wrote: > > > > The only way to fix that is to stop Weston from putting non-cursor > > > > content on the cursor plane. > > > > > > Correct. > > > > Is that something that should be done? > > If the hotspot property also had a "disabled" value,

Re: [PATCH 1/9] drm/vblank: Add vblank works

2020-03-19 Thread Lyude Paul
On Wed, 2020-03-18 at 14:46 +0100, Daniel Vetter wrote: > On Tue, Mar 17, 2020 at 08:40:58PM -0400, Lyude Paul wrote: > > From: Ville Syrjälä > > > > Add some kind of vblank workers. The interface is similar to regular > > delayed works, and also allows for re-scheduling. > > > > Whatever

Re: Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Marek Olšák
On Thu., Mar. 19, 2020, 06:51 Daniel Vetter, wrote: > On Tue, Mar 17, 2020 at 11:01:57AM +0100, Michel Dänzer wrote: > > On 2020-03-16 7:33 p.m., Marek Olšák wrote: > > > On Mon, Mar 16, 2020 at 5:57 AM Michel Dänzer > wrote: > > >> On 2020-03-16 4:50 a.m., Marek Olšák wrote: > > >>> The

Re: [PATCH] Remove stable HAINAN board from max_sclk override check in radeon and amdgpu modules

2020-03-19 Thread Alex Deucher
On Tue, Mar 17, 2020 at 9:50 AM Yassine Oudjana wrote: > > Signed-off-by: Yassine Oudjana Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/si_dpm.c | 1 - > drivers/gpu/drm/radeon/si_dpm.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git

Re: [PATCH v13 4/6] dt-bindings: display: mediatek: convert the document format from txt to yaml

2020-03-19 Thread Rob Herring
On Wed, Mar 11, 2020 at 03:18:21PM +0800, Jitao Shi wrote: > Signed-off-by: Jitao Shi > --- > .../display/mediatek/mediatek,dpi.txt | 45 > .../display/mediatek/mediatek,dpi.yaml| 103 ++ > 2 files changed, 103 insertions(+), 45 deletions(-) > delete

Re: [PATCH v13 2/6] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage

2020-03-19 Thread Rob Herring
On Wed, Mar 11, 2020 at 03:18:19PM +0800, Jitao Shi wrote: > Add property "pinctrl-names" to swap pin mode between gpio and dpi mode. Set > the dpi pins to gpio mode and output-low to avoid leakage current when dpi > disabled. > > Signed-off-by: Jitao Shi > --- >

Re: [PATCH] drm/msm: Don't attempt to attach HDMI bridge twice

2020-03-19 Thread Rob Clark
On Wed, Mar 18, 2020 at 9:39 PM Bjorn Andersson wrote: > > With the introduction of '3ef2f119bd3e ("drm/msm: Use > drm_attach_bridge() to attach a bridge to an encoder")' the HDMI bridge > is attached both in msm_hdmi_bridge_init() and later in > msm_hdmi_modeset_init(). > > The second attempt

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 4:16 PM, Pekka Paalanen wrote: On Thu, 19 Mar 2020 15:30:03 +0100 Hans de Goede wrote: The only way to fix that is to stop Weston from putting non-cursor content on the cursor plane. Correct. Is that something that should be done? If the hotspot property also had a

Re: [PATCH RFC v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2020-03-19 Thread Emil Velikov
Hey Kevin, On Sun, 15 Mar 2020 at 23:19, Kevin Tang wrote: > > Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem. > It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. > > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Signed-off-by:

[pull] amdgpu, scheduler drm-next-5.7

2020-03-19 Thread Alex Deucher
Hi Dave, Daniel, Last round of stuff for 5.7. Mostly bug fixes. The following changes since commit 69ddce0970d9d1de63bed9c24eefa0814db29a5a: Merge tag 'amd-drm-next-5.7-2020-03-10' of git://people.freedesktop.org/~agd5f/linux into drm-next (2020-03-13 09:09:11 +1000) are available in the

Re: [PATCH v2 2/2] drm: error out with EBUSY when device has existing master

2020-03-19 Thread Adam Jackson
On Thu, 2020-03-19 at 17:29 +, Emil Velikov wrote: > From: Emil Velikov > > As requested by Adam, provide different error message for when the > device has an existing master. An audit of the following projects, shows > that the errno is used only for printf() purposes. > > xorg/xserver >

[PATCH v2 1/2] drm: rework SET_MASTER and DROP_MASTER perm handling

2020-03-19 Thread Emil Velikov
From: Emil Velikov This commit reworks the permission handling of the two ioctls. In particular it enforced the CAP_SYS_ADMIN check only, if: - we're issuing the ioctl from process other than the one which opened the node, and - we are, or were master in the past This ensures that we: - do

[PATCH v2 2/2] drm: error out with EBUSY when device has existing master

2020-03-19 Thread Emil Velikov
From: Emil Velikov As requested by Adam, provide different error message for when the device has an existing master. An audit of the following projects, shows that the errno is used only for printf() purposes. xorg/xserver xorg/drivers/xf86-video-ati xorg/drivers/xf86-video-amdgpu

Re: [PATCH v1 0/3] drm: drm_encoder_init() => drm_encoder_init_funcs()

2020-03-19 Thread Sam Ravnborg
On Thu, Mar 19, 2020 at 03:19:54PM +0100, Sam Ravnborg wrote: > On Fri, Mar 13, 2020 at 09:17:41PM +0100, Sam Ravnborg wrote: > > Thomas Zimmermann had made a nice patch-set that introduced > > drm_simple_encoder_init() which is already present in drm-misc-next. > > > > While looking at this it

Re: [Mesa-dev] Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Adam Jackson
On Tue, 2020-03-17 at 10:12 -0700, Jacob Lifshay wrote: > One related issue with explicit sync using sync_file is that combined > CPUs/GPUs (the CPU cores *are* the GPU cores) that do all the > rendering in userspace (like llvmpipe but for Vulkan and with extra > instructions for GPU tasks) but

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2020 15:30:03 +0100 Hans de Goede wrote: > Hi, > > On 3/19/20 1:58 PM, Pekka Paalanen wrote: > > On Thu, 19 Mar 2020 12:49:27 +0100 > > Hans de Goede wrote: > > > >> Hi, > >> > >> On 3/19/20 11:00 AM, Pekka Paalanen wrote: > >>> On Wed, 18 Mar 2020 15:28:02 +0100 > >>> Hans

Re: [PATCH] drm: rework SET_MASTER and DROP_MASTER perm handling

2020-03-19 Thread Adam Jackson
On Wed, 2020-02-19 at 13:27 +, Emil Velikov wrote: > + * As some point systemd-logind was introduced to orchestrate and delegate > + * master as applicable. It does so by opening the fd and passing it to users > + * while in itself logind a) does the set/drop master per users' request and > +

Re: [GIT PULL] Immutable branch between Backlight, Arm, Unicore32 and PWM due for the v5.7 merge window

2020-03-19 Thread Linus Walleij
On Wed, Mar 18, 2020 at 4:16 PM Lee Jones wrote: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git > ib-backlight-arm-unicore-pwm-v5.7 Thanks a lot for queueing this up and creating an immutable branch and all! Much appreciated. Yours, Linus Walleij

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 3:48 PM, Pekka Paalanen wrote: On Thu, 19 Mar 2020 14:51:41 +0100 Michel Dänzer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2020-03-19 1:54 p.m., Pekka Paalanen wrote: On Thu, 19 Mar 2020 12:52:14 +0100 Hans de Goede wrote: On 3/19/20 12:35 PM, Michel Dänzer

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2020 14:51:41 +0100 Michel Dänzer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2020-03-19 1:54 p.m., Pekka Paalanen wrote: > > On Thu, 19 Mar 2020 12:52:14 +0100 Hans de Goede > > wrote: > >> On 3/19/20 12:35 PM, Michel Dänzer wrote: > >>> On 2020-03-18

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 1:58 PM, Pekka Paalanen wrote: On Thu, 19 Mar 2020 12:49:27 +0100 Hans de Goede wrote: Hi, On 3/19/20 11:00 AM, Pekka Paalanen wrote: On Wed, 18 Mar 2020 15:28:02 +0100 Hans de Goede wrote: ATM the Atomic KMS API lacks the ability to set cursor hot-spot coordinates.

Re: [PATCH v1 0/3] drm: drm_encoder_init() => drm_encoder_init_funcs()

2020-03-19 Thread Sam Ravnborg
On Fri, Mar 13, 2020 at 09:17:41PM +0100, Sam Ravnborg wrote: > Thomas Zimmermann had made a nice patch-set that introduced > drm_simple_encoder_init() which is already present in drm-misc-next. > > While looking at this it was suddenly obvious to me that > this was functionalty that really

Re: [PATCH v2 2/5] dt-bindings: panel: add binding for Xingbangda XBD599 panel

2020-03-19 Thread Linus Walleij
Hi Icenowy, On Mon, Mar 16, 2020 at 2:37 PM Icenowy Zheng wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. > > Add its device tree binding. > > Signed-off-by: Icenowy Zheng (...) > +properties: > + compatible: > +const: xingbangda,xbd599 As noticed in the review of the

Re: [PATCH v2 3/5] drm: panel: add Xingbangda XBD599 panel

2020-03-19 Thread Linus Walleij
Hi Icenowy! Thanks for your patch. On Mon, Mar 16, 2020 at 2:37 PM Icenowy Zheng wrote: > Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by > Xingbangda, which is used on PinePhone final assembled phones. > > Add support for it. > > Signed-off-by: Icenowy Zheng (...) > +/*

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Michel Dänzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2020-03-19 1:54 p.m., Pekka Paalanen wrote: > On Thu, 19 Mar 2020 12:52:14 +0100 Hans de Goede > wrote: >> On 3/19/20 12:35 PM, Michel Dänzer wrote: >>> On 2020-03-18 4:22 p.m., Simon Ser wrote: > > On 3/18/20 3:38 PM, Simon Ser wrote:

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Simon Ser
On Thursday, March 19, 2020 2:16 PM, Daniel Vetter wrote: > On Thu, Mar 19, 2020 at 1:58 PM Pekka Paalanen ppaala...@gmail.com wrote: > > > On Thu, 19 Mar 2020 12:49:27 +0100 > > Hans de Goede hdego...@redhat.com wrote: > > > > > Hi, > > > On 3/19/20 11:00 AM, Pekka Paalanen wrote: > > > > > > >

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Daniel Vetter
On Thu, Mar 19, 2020 at 1:58 PM Pekka Paalanen wrote: > > On Thu, 19 Mar 2020 12:49:27 +0100 > Hans de Goede wrote: > > > Hi, > > > > On 3/19/20 11:00 AM, Pekka Paalanen wrote: > > > On Wed, 18 Mar 2020 15:28:02 +0100 > > > Hans de Goede wrote: > > > > > >> ATM the Atomic KMS API lacks the

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2020 12:49:27 +0100 Hans de Goede wrote: > Hi, > > On 3/19/20 11:00 AM, Pekka Paalanen wrote: > > On Wed, 18 Mar 2020 15:28:02 +0100 > > Hans de Goede wrote: > > > >> ATM the Atomic KMS API lacks the ability to set cursor hot-spot > >> coordinates. Mutter (and Weston) have

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2020 12:52:14 +0100 Hans de Goede wrote: > Hi, > > On 3/19/20 12:35 PM, Michel Dänzer wrote: > > On 2020-03-18 4:22 p.m., Simon Ser wrote: > >>> > >>> On 3/18/20 3:38 PM, Simon Ser wrote: > > > 1) Letting the VM-viewer window-system draw the cursor as it normally >

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 12:35 PM, Michel Dänzer wrote: On 2020-03-18 4:22 p.m., Simon Ser wrote: On 3/18/20 3:38 PM, Simon Ser wrote: 1) Letting the VM-viewer window-system draw the cursor as it normally would draw it. Why is this important? Can't the VM viewer hide the cursor and use a

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Hans de Goede
Hi, On 3/19/20 11:00 AM, Pekka Paalanen wrote: On Wed, 18 Mar 2020 15:28:02 +0100 Hans de Goede wrote: ATM the Atomic KMS API lacks the ability to set cursor hot-spot coordinates. Mutter (and Weston) have tried to emulate this by shifting the coordinates for where to draw the cursor by the

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Michel Dänzer
On 2020-03-18 4:22 p.m., Simon Ser wrote: >> >> On 3/18/20 3:38 PM, Simon Ser wrote: >>> 1) Letting the VM-viewer window-system draw the cursor as it normally would draw it. >>> >>> Why is this important? Can't the VM viewer hide the cursor and use a >>> sub-surface to manually draw the

Re: [PATCH] drm/virtio: fix OOB in virtio_gpu_object_create

2020-03-19 Thread Gerd Hoffmann
On Thu, Mar 19, 2020 at 11:04:21AM +0100, Jiri Slaby wrote: > After commit f651c8b05542, virtio_gpu_create_object allocates too small > space to fit everything in. It is because it allocates struct > virtio_gpu_object, but should allocate a newly added struct > virtio_gpu_object_shmem which has 2

Re: [PATCH v2 3/3] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML

2020-03-19 Thread Jagan Teki
Hi Sam, On Thu, Mar 19, 2020 at 4:02 PM Sam Ravnborg wrote: > > Hi Jagan. > On Thu, Mar 19, 2020 at 03:50:44PM +0530, Jagan Teki wrote: > > On Thu, Mar 19, 2020 at 12:28 AM Sam Ravnborg wrote: > > > > > > On Wed, Mar 18, 2020 at 10:40:03PM +0530, Jagan Teki wrote: > > > > The

Re: Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Daniel Vetter
On Tue, Mar 17, 2020 at 11:01:57AM +0100, Michel Dänzer wrote: > On 2020-03-16 7:33 p.m., Marek Olšák wrote: > > On Mon, Mar 16, 2020 at 5:57 AM Michel Dänzer wrote: > >> On 2020-03-16 4:50 a.m., Marek Olšák wrote: > >>> The synchronization works because the Mesa driver waits for idle (drains >

Re: Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Daniel Vetter
On Tue, Mar 17, 2020 at 11:27:28AM -0500, Jason Ekstrand wrote: > On Tue, Mar 17, 2020 at 10:33 AM Nicolas Dufresne > wrote: > > > > Le lundi 16 mars 2020 à 23:15 +0200, Laurent Pinchart a écrit : > > > Hi Jason, > > > > > > On Mon, Mar 16, 2020 at 10:06:07AM -0500, Jason Ekstrand wrote: > > > >

Re: [Mesa-dev] Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Daniel Vetter
On Wed, Mar 18, 2020 at 11:05:48AM +0100, Michel Dänzer wrote: > On 2020-03-17 6:21 p.m., Lucas Stach wrote: > > That's one of the issues with implicit sync that explicit may solve: > > a single client taking way too much time to render something can > > block the whole pipeline up until the

Re: [PATCH v2 1/3] dt-bindings: display: panel: Convert feiyang, fy07024di26a30d to DT schema

2020-03-19 Thread Jagan Teki
Hi Sam, On Thu, Mar 19, 2020 at 12:27 AM Sam Ravnborg wrote: > > Hi Jagan. > > On Wed, Mar 18, 2020 at 10:40:01PM +0530, Jagan Teki wrote: > > Convert the feiyang,fy07024di26a30d panel bindings to DT schema. > > > > Signed-off-by: Jagan Teki > > Thanks for the resend. > > Please fix so the two

Re: [Mesa-dev] Plumbing explicit synchronization through the Linux ecosystem

2020-03-19 Thread Daniel Vetter
On Tue, Mar 17, 2020 at 12:18:47PM -0500, Jason Ekstrand wrote: > On Tue, Mar 17, 2020 at 12:13 PM Jacob Lifshay > wrote: > > > > One related issue with explicit sync using sync_file is that combined > > CPUs/GPUs (the CPU cores *are* the GPU cores) that do all the > > rendering in userspace

Re: [PATCH v2 3/3] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML

2020-03-19 Thread Sam Ravnborg
Hi Jagan. On Thu, Mar 19, 2020 at 03:50:44PM +0530, Jagan Teki wrote: > On Thu, Mar 19, 2020 at 12:28 AM Sam Ravnborg wrote: > > > > On Wed, Mar 18, 2020 at 10:40:03PM +0530, Jagan Teki wrote: > > > The feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been > > > converted to YAML schemas,

[PATCH v2 5/5] drm/i915: Enable scaling filter for plane and CRTC

2020-03-19 Thread Pankaj Bharadiya
GEN >= 10 hardware supports the programmable scaler filter. Attach scaling filter property for CRTC and plane for GEN >= 10 hardwares and program scaler filter based on the selected filter type. changes since v1: * None Changes since RFC: * Enable properties for GEN >= 10 platforms (Ville) * Do

[PATCH v2 1/5] drm: Introduce plane and CRTC scaling filter properties

2020-03-19 Thread Pankaj Bharadiya
Introduce new plane and CRTC scaling filter properties to allow userspace to select the driver's default scaling filter or Nearest-neighbor(NN) filter for upscaling operations on CRTC and plane. Drivers can set up this property for a plane by calling drm_plane_enable_scaling_filter() and for a

[PATCH v2 4/5] drm/i915/display: Add Nearest-neighbor based integer scaling support

2020-03-19 Thread Pankaj Bharadiya
Integer scaling (IS) is a nearest-neighbor upscaling technique that simply scales up the existing pixels by an integer (i.e., whole number) multiplier.Nearest-neighbor (NN) interpolation works by filling in the missing color values in the upscaled image with that of the coordinate-mapped nearest

[PATCH v2 2/5] drm/drm-kms.rst: Add plane and CRTC scaling filter property documentation

2020-03-19 Thread Pankaj Bharadiya
Add documentation for newly introduced KMS plane and CRTC scaling filter properties. changes since v1: * None changes since RFC: * Add separate documentation for plane and CRTC. Signed-off-by: Pankaj Bharadiya --- Documentation/gpu/drm-kms.rst | 12 1 file changed, 12

[PATCH v2 3/5] drm/i915: Introduce scaling filter related registers and bit fields.

2020-03-19 Thread Pankaj Bharadiya
Introduce scaler registers and bit fields needed to configure the scaling filter in prgrammed mode and configure scaling filter coefficients. changes since v1: * None changes since RFC: * Parametrize scaler coeffient macros by 'set' (Ville) Signed-off-by: Shashank Sharma Signed-off-by: Ankit

[PATCH v2 0/5] Introduce drm scaling filter property

2020-03-19 Thread Pankaj Bharadiya
This series is the continuation for the RFC that I posted earlier [1] [1] RFC: https://patchwork.freedesktop.org/series/73884/ Integer scaling (IS) is a nearest-neighbor upscaling technique that simply scales up the existing pixels by an integer (i.e., whole number) multiplier. Nearest-neighbor

Re: Ack to merge through DRM? WAS [PATCH v6 0/9] Huge page-table entries for TTM

2020-03-19 Thread VMware
On 3/19/20 12:27 AM, Andrew Morton wrote: On Mon, 16 Mar 2020 13:32:08 +0100 Thomas Hellström (VMware) wrote: ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Andrew, would it be

Re: [PATCH v2 3/3] MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML

2020-03-19 Thread Jagan Teki
On Thu, Mar 19, 2020 at 12:28 AM Sam Ravnborg wrote: > > On Wed, Mar 18, 2020 at 10:40:03PM +0530, Jagan Teki wrote: > > The feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been > > converted to YAML schemas, update MAINTAINERS to match them again. > > > > Signed-off-by: Jagan Teki > >

Re: [PATCH v2 10/17] drm/vram-helper: make drm_vram_mm_debugfs_init() return 0

2020-03-19 Thread Daniel Vetter
On Thu, Mar 19, 2020 at 08:55:24AM +0100, Greg KH wrote: > On Wed, Mar 18, 2020 at 08:10:43PM +0100, Daniel Vetter wrote: > > On Wed, Mar 18, 2020 at 5:58 PM Greg KH wrote: > > > > > > On Wed, Mar 18, 2020 at 05:31:47PM +0100, Daniel Vetter wrote: > > > > On Wed, Mar 18, 2020 at 5:03 PM Wambui

Re: [PATCH 3/3] drm/i915/dp: intel_dp connector hook for VRR support

2020-03-19 Thread Jani Nikula
On Tue, 17 Mar 2020, Manasi Navare wrote: > This defines the get_vrr_support hook for intel DP connector > VRR support is set to true based on the DPCD ignore MSA and > EDID monitor range Yeah... but what do you use it for? > > Cc: Jani Nikula > Cc: Ville Syrjälä > Cc: Harry Wentland > Cc:

Re: [PATCH 2/3] drm: Create a drm_connector_helper_funcs hook for Adaptive Sync support

2020-03-19 Thread Jani Nikula
On Tue, 17 Mar 2020, Manasi Navare wrote: > This patch adds a hook in drm_connector_helper_funcs to get the > support of the driver for adaptive sync functionality. > > This can be called in the connector probe helper function after > the connector detect() and get_modes() hooks to also > query

[PATCH] drm/virtio: fix OOB in virtio_gpu_object_create

2020-03-19 Thread Jiri Slaby
After commit f651c8b05542, virtio_gpu_create_object allocates too small space to fit everything in. It is because it allocates struct virtio_gpu_object, but should allocate a newly added struct virtio_gpu_object_shmem which has 2 more members. So fix that by using correct type in

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Wed, 18 Mar 2020 15:28:02 +0100 Hans de Goede wrote: > ATM the Atomic KMS API lacks the ability to set cursor hot-spot > coordinates. Mutter (and Weston) have tried to emulate this by shifting > the coordinates for where to draw the cursor by the hotspot-coordinates > and always using 0x0 for

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Simon Ser
On Thursday, March 19, 2020 10:57 AM, Pekka Paalanen wrote: > On Wed, 18 Mar 2020 14:38:48 + > Simon Ser cont...@emersion.fr wrote: > > > Hi, > > > > > 1. Letting the VM-viewer window-system draw the cursor as it normally > > > would draw it. > > > > > > > Why is this important? Can't

Re: [PATCH 1/3] drm/dp: DRM DP helper for reading Ignore MSA from DPCD

2020-03-19 Thread Jani Nikula
On Tue, 17 Mar 2020, Manasi Navare wrote: > DP sink device sets the Ignore MSA bit in its > DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to > ignore the MSA video timing paramaters and its ability to support > seamless video timing change over a range of timing exposed by > DisplayID

Re: Atomic KMS API lacks the ability to set cursor hot-spot coordinates

2020-03-19 Thread Pekka Paalanen
On Wed, 18 Mar 2020 14:38:48 + Simon Ser wrote: > Hi, > > > 1) Letting the VM-viewer window-system draw the cursor as it normally > > would draw it. > > Why is this important? Can't the VM viewer hide the cursor and use a > sub-surface to manually draw the cursor plane configured by the

Re: [PATCH v3 1/2] drm/virtio: factor out the sg_table from virtio_gpu_object

2020-03-19 Thread Jiri Slaby
On 19. 03. 20, 10:47, Gerd Hoffmann wrote: > On Thu, Mar 19, 2020 at 10:32:25AM +0100, Jiri Slaby wrote: >> On 05. 03. 20, 2:32, Gurchetan Singh wrote: >>> A resource will be a shmem based resource or a (planned) >>> vram based resource, so it makes sense to factor out common fields >>> (resource

Re: [PATCHv7 6/6] drm/rockchip: Add support for afbc

2020-03-19 Thread Andrzej Pietrasiewicz
Hi Sandy, W dniu 19.03.2020 o 03:57, Sandy Huang pisze: Hi Emil, -- 2.17.1 Heiko, Sandy, being the maintainers of the Rockchip driver, can you review/ack this patch? I believe the intention is to merge the series via drm-misc. Andrzej already has commit access. -Emil Thanks for you

Re: [PATCH v3 1/2] drm/virtio: factor out the sg_table from virtio_gpu_object

2020-03-19 Thread Gerd Hoffmann
On Thu, Mar 19, 2020 at 10:32:25AM +0100, Jiri Slaby wrote: > On 05. 03. 20, 2:32, Gurchetan Singh wrote: > > A resource will be a shmem based resource or a (planned) > > vram based resource, so it makes sense to factor out common fields > > (resource handle, dumb). > > > > v2: move mapped field

Re: [PATCH v9 2/2] drm/bridge: Add NWL MIPI DSI host controller support

2020-03-19 Thread Guido Günther
Hi Sam, On Wed, Mar 18, 2020 at 10:46:39PM +0100, Sam Ravnborg wrote: > Hi Guido. > > Impressive and very detailed changelog in intro mail - nice. > > On Wed, Mar 18, 2020 at 04:09:08PM +0100, Guido Günther wrote: > > This adds initial support for the NWL MIPI DSI Host controller found on > >

Re: [PATCH 00/21] drm: mxsfb: Add i.MX7 support

2020-03-19 Thread Laurent Pinchart
Hello, Gentle ping. On Mon, Mar 09, 2020 at 09:51:55PM +0200, Laurent Pinchart wrote: > Hello, > > This patch series adds i.MX7 support to the mxsfb driver. The eLCDIF > instance found in the i.MX7 is backward-compatible with the already > supported LCDC v4, but has extended features amongst

Re: [PATCH v3 1/2] drm/virtio: factor out the sg_table from virtio_gpu_object

2020-03-19 Thread Jiri Slaby
On 05. 03. 20, 2:32, Gurchetan Singh wrote: > A resource will be a shmem based resource or a (planned) > vram based resource, so it makes sense to factor out common fields > (resource handle, dumb). > > v2: move mapped field to shmem object Hi, I bisected the slab-out-of-bounds below to this

Re: [PATCH v3] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-19 Thread Daniel Vetter
On Wed, Mar 18, 2020 at 7:49 AM Gerd Hoffmann wrote: > > On Tue, Mar 17, 2020 at 05:49:41PM +0100, Daniel Vetter wrote: > > On Fri, Mar 13, 2020 at 09:41:52AM +0100, Gerd Hoffmann wrote: > > > Shutdown of firmware framebuffer has a bunch of problems. Because > > > of this the framebuffer region

  1   2   >