[PATCH 06/11] drm/bridge: ti-tfp410: switch to using fwnode_gpiod_get_index()

2019-09-12 Thread Dmitry Torokhov
Instead of fwnode_get_named_gpiod() that I plan to hide away, let's use the new fwnode_gpiod_get_index() that mimics gpiod_get_index(), bit works with arbitrary firmware node. Signed-off-by: Dmitry Torokhov --- drivers/gpu/drm/bridge/ti-tfp410.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[Regression] 5.3-rc8 suspending from X broken with amdgpu

2019-09-12 Thread Gabriel C
Hello, I am testing latest rc8/Linus git tree on my new Acer Nitro 5 (AN515-43-R8BF) Laptop. The box has an Ryzen7 3750H APU+RX 560x hybrid GPU(s). Suspending ( closing the Lid ) from tty without X up is working fine, however with X running doing the same does not work. The display remains

Re: [RFC PATCH] gpu: no need to compile drm/ if CONFIG_DRM=n

2019-09-12 Thread Maxime Ripard
Hi, Le mer. 11 sept. 2019 à 19:35, Qian Cai a écrit : > The commit c0e09200dc08 ("drm: reorganise drm tree to be more future > proof.") changed the behavior from only compiling drm/ if CONFIG_DRM=y > to always compiling drm/. This restores the behavior, so people don't > need to waste time

[PULL] drm-misc-fixes

2019-09-12 Thread Maarten Lankhorst
drm-misc-fixes-2019-09-12: drm-misc-fixes for v5.3 final: - Constify modes whitelist harder. - Fix lima driver gem_wait ioctl. The following changes since commit 424c38a4e32509ae82dc9d7300432295806cb911: drm/selftests: modes: Add more unit tests for the cmdline parser (2019-08-30 10:21:56

[Bug 111667] gem_render_copy failing on CCS subtests

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111667 Bug ID: 111667 Summary: gem_render_copy failing on CCS subtests Product: DRI Version: DRI git Hardware: Other OS: Linux (All) Status: NEW Severity:

[PATCH v2 3/3] drm/mgag200: Add vblank support

2019-09-12 Thread Thomas Zimmermann
There's no VBLANK interrupt on Matrox chipsets. The workaround that is being used here and in other free Matrox drivers is to program to the value of and enable the VLINE interrupt. This triggers an interrupt at the time when VBLANK begins. VLINE uses separate registers for enabling and

[PATCH v2 0/3] Rate-limit shadow-FB-to-console-update to screen refresh

2019-09-12 Thread Thomas Zimmermann
A full-screen memcpy() moves the console's shadow buffer to hardware; with possibly significant runtime overhead. [1] The console's dirty worker now waits for the vblank to rate limit the output frequency. Screen output can pile up while waiting and there's a chance that multiple screen updates

[PATCH v2 1/3] drm/fb-helper: Synchronize dirty worker with vblank

2019-09-12 Thread Thomas Zimmermann
Before updating the display from the console's shadow buffer, the dirty worker now waits for vblank. This allows several screen updates to pile up and acts as a rate limiter. v2: * don't hold helper->lock while waiting for vblank Signed-off-by: Thomas Zimmermann ---

[PATCH v2 2/3] drm/mgag200: Rename constant MGAREG_Status to MGAREG_STATUS

2019-09-12 Thread Thomas Zimmermann
Register constants are upper case. Fix MGAREG_Status accordingly. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_mode.c | 6 +++--- drivers/gpu/drm/mgag200/mgag200_reg.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[Bug 103769] Unity based games do not start

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103769 --- Comment #17 from DillanWatsica --- This is the main thing that if we want to get education then we should do everything for this. I can say that of you are willing to get education then you can go beyond

RE: [Intel-gfx] [PATCH v6 3/7] drm: Add DisplayPort colorspace property

2019-09-12 Thread Saarinen, Jani
Hi, > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Gwan-gyeong Mun > Sent: torstai 12. syyskuuta 2019 6.25 > To: intel-...@lists.freedesktop.org > Cc: imir...@alum.mit.edu; dri-devel@lists.freedesktop.org > Subject: [Intel-gfx]

Re: [PATCH v7 04/11] drm: revocation check at drm subsystem

2019-09-12 Thread Ramalingam C
On 2019-09-12 at 00:15:32 +, Harry Wentland wrote: > Adding a couple AMD guys. > > I know this is already merged but I have a few questions after some > internal discussions. > > On 2019-05-07 12:27 p.m., Ramalingam C wrote: > > On every hdcp revocation check request SRM is read from fw file

[PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-12 Thread Iago Toral Quiroga
Extends the user space ioctl for CL submissions so it can include a request to flush the cache once the CL execution has completed. Fixes memory write violation messages reported by the kernel in workloads involving shader memory writes (SSBOs, shader images, scratch, etc) which sometimes also

[PATCH] drm/stm: dsi: higher pll out only in video burst mode

2019-09-12 Thread Yannick Fertré
In order to better support video non-burst modes, the +20% on pll out is added only in burst mode. Signed-off-by: Philippe Cornu Reviewed-by: Yannick FERTRE --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4 5/9] drm: rcar-du: kms: Initialize CMM instances

2019-09-12 Thread Kieran Bingham
Hi Jacopo, On 06/09/2019 14:54, Jacopo Mondi wrote: > Implement device tree parsing to collect the available CMM instances > described by the 'renesas,cmms' property. Associate CMMs with CRTCs and > store a mask of active CMMs in the DU group for later enablement. > > Enforce the probe and

Re: [PATCH v3 2/2] backlight: lm3630a: add an enable gpio for the HWEN pin

2019-09-12 Thread Daniel Thompson
On Wed, Sep 11, 2019 at 07:21:06PM +0200, Andreas Kemnade wrote: > For now just enable it in the probe function to allow i2c > access. Disabling also means resetting the register values > to default and according to the datasheet does not give > power savings. > > Tested on Kobo Clara HD. > >

[Bug 107296] WARNING: CPU: 0 PID: 370 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107296 --- Comment #18 from woodr...@posteo.de --- Similar here on a Asrock B450M Pro4 with Athlon 200GE (Raven Ridge): Screen blanks on boot a few seconds, aswell on wakeups. [0.849231] Linux agpgart interface v0.103 [0.927246] [drm] amdgpu

[Bug 111669] Navi GPU hang in Minecraft

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111669 Bug ID: 111669 Summary: Navi GPU hang in Minecraft Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major

Re: [RESEND PATCH] drm/panfrost: Reduce the amount of logs on deferred probe

2019-09-12 Thread Steven Price
On 09/09/2019 16:51, Krzysztof Kozlowski wrote: > There is no point to print deferred probe (and its failures to get > resources) as an error. > > In case of multiple probe tries this would pollute the dmesg. > > Signed-off-by: Krzysztof Kozlowski Looks like a good idea, however from what I

Re: [PATCH v4 3/9] drm: rcar-du: Add support for CMM

2019-09-12 Thread Kieran Bingham
Hi Jacopo, On 12/09/2019 08:59, Jacopo Mondi wrote: > Hi Kiernan, >thanks for review > > On Wed, Sep 11, 2019 at 04:54:58PM +0100, Kieran Bingham wrote: >> Hi Jacopo, >> >> >> >> On 06/09/2019 14:43, Jacopo Mondi wrote: >>> Add a driver for the R-Car Display Unit Color Correction Module.

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-12 Thread Huang, Ray
On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: > Am 11.09.19 um 13:50 schrieb Huang, Ray: > > From: Alex Deucher > > > > If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ > > bits of > > PTEs that belongs that bo should be set. Then psp is able to

Re: [PATCH] drm: rcar-du: Add r8a77980 support

2019-09-12 Thread Kieran Bingham
Hi Sergei, (pulling in +Geert for his opinion on compatible string usages) On 12/09/2019 11:00, Sergei Shtylyov wrote:> Hello! > > On 11.09.2019 22:25, Kieran Bingham wrote: > >> Add direct support for the r8a77980 (V3H). >> >> The V3H shares a common, compatible configuration with the

[Bug 111667] gem_render_copy failing on CCS subtests

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111667 --- Comment #2 from Chris Wilson --- There is no render copyfunc for gen12. This should have bailed out at data.render_copy = igt_get_render_copyfunc(data.devid); igt_require_f(data.render_copy,

[PATCH v7 1/7] drm/i915/dp: Extend program of VSC Header and DB for Colorimetry Format

2019-09-12 Thread Gwan-gyeong Mun
It refactors and renames a function which handled vsc sdp header and data block setup for supporting colorimetry format. Function intel_dp_setup_vsc_sdp handles vsc sdp header and data block setup for pixel encoding / colorimetry format. In order to use colorspace information of a connector, it

[PATCH v7 2/7] drm/i915/dp: Add support of BT.2020 Colorimetry to DP MSA

2019-09-12 Thread Gwan-gyeong Mun
When BT.2020 Colorimetry output is used for DP, we should program BT.2020 Colorimetry to MSA and VSC SDP. It adds output_colorspace to intel_crtc_state struct as a place holder of pipe's output colorspace. In order to distinguish needed colorimetry for VSC SDP, it adds intel_dp_needs_vsc_sdp

[PATCH v7 3/7] drm: Add DisplayPort colorspace property

2019-09-12 Thread Gwan-gyeong Mun
Because between HDMI and DP have different colorspaces, it renames drm_mode_create_colorspace_property() function to drm_mode_create_hdmi_colorspace_property() function for HDMI connector. And it adds drm_mode_create_dp_colorspace_property() function for creating of DP colorspace property. In

[PATCH v7 5/7] drm/i915: Add new GMP register size for GEN11

2019-09-12 Thread Gwan-gyeong Mun
According to Bspec, GEN11 and prior GEN11 have different register size for HDR Metadata Infoframe SDP packet. It adds new VIDEO_DIP_GMP_DATA_SIZE for GEN11. And it makes handle different register size for HDMI_PACKET_TYPE_GAMUT_METADATA on hsw_dip_data_size() for each GEN platforms. It addresses

[PATCH v7 7/7] drm/i915/dp: Attach HDR metadata property to DP connector

2019-09-12 Thread Gwan-gyeong Mun
It attaches HDR metadata property to DP connector on GLK+. It enables HDR metadata infoframe sdp on GLK+ to be used to send HDR metadata to DP sink. v2: Minor style fix Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_dp.c | 5 + 1 file

[PATCH v7 6/7] drm/i915/dp: Program an Infoframe SDP Header and DB for HDR Static Metadata

2019-09-12 Thread Gwan-gyeong Mun
Function intel_dp_setup_hdr_metadata_infoframe_sdp handles Infoframe SDP header and data block setup for HDR Static Metadata. It enables writing of HDR metadata infoframe SDP to panel. Support for HDR video was introduced in DisplayPort 1.4. It implements the CTA-861-G standard for transport of

[PATCH v7 4/7] drm/i915/dp: Attach colorspace property

2019-09-12 Thread Gwan-gyeong Mun
It attaches the colorspace connector property to a DisplayPort connector. Based on colorspace change, modeset will be triggered to switch to a new colorspace. Based on colorspace property value create a VSC SDP packet with appropriate colorspace. This would help to enable wider color gamut like

Re: HDCP Content Type Interface

2019-09-12 Thread Ramalingam C
On 2019-09-09 at 15:54:50 +, Lakha, Bhawanpreet wrote: > Hi all, > > This is regarding the recent hdcp content type patch that was merged into > drm-misc. > (https://patchwork.freedesktop.org/patch/320958/?series=57233=11) > > There are displays on the market that advertise HDCP 2.2

Re: [PATCH v4 3/9] drm: rcar-du: Add support for CMM

2019-09-12 Thread Jacopo Mondi
Hi Kiernan, thanks for review On Wed, Sep 11, 2019 at 04:54:58PM +0100, Kieran Bingham wrote: > Hi Jacopo, > > > > On 06/09/2019 14:43, Jacopo Mondi wrote: > > Add a driver for the R-Car Display Unit Color Correction Module. > > > > In most of Gen3 SoCs, each DU output channel is provided

Re: [PATCH v2 1/3] drm/fb-helper: Synchronize dirty worker with vblank

2019-09-12 Thread Gerd Hoffmann
On Thu, Sep 12, 2019 at 08:42:28AM +0200, Thomas Zimmermann wrote: > Before updating the display from the console's shadow buffer, the dirty > worker now waits for vblank. This allows several screen updates to pile > up and acts as a rate limiter. > > v2: > * don't hold helper->lock while

Re: [PATCH v2 3/3] drm/mgag200: Add vblank support

2019-09-12 Thread Gerd Hoffmann
On Thu, Sep 12, 2019 at 08:42:30AM +0200, Thomas Zimmermann wrote: > There's no VBLANK interrupt on Matrox chipsets. The workaround that is > being used here and in other free Matrox drivers is to program > to the value of and enable the VLINE interrupt. This triggers > an interrupt at the time

Re: [PATCH v2 2/3] drm/mgag200: Rename constant MGAREG_Status to MGAREG_STATUS

2019-09-12 Thread Gerd Hoffmann
On Thu, Sep 12, 2019 at 08:42:29AM +0200, Thomas Zimmermann wrote: > Register constants are upper case. Fix MGAREG_Status accordingly. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Gerd Hoffmann > --- > drivers/gpu/drm/mgag200/mgag200_mode.c | 6 +++--- >

[PATCH 1/3] drm/panel: panel-innolux: Allow 2 reset pins for panel

2019-09-12 Thread Jitao Shi
This is useful when there is a bridge between the SoC and the panel. Signed-off-by: Jitao Shi --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 39 --- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c

[PATCH 2/3] dt-bindings: display: Add documentation for innolux, p097pfg_ssd2858 panel

2019-09-12 Thread Jitao Shi
This adds documentation for innolux,p097pfg panel with bridge chip ssd2858. Signed-off-by: Jitao Shi --- .../display/panel/innolux,p097pfg_ssd2858.txt | 39 +++ 1 file changed, 39 insertions(+) create mode 100644

[PATCH 0/3] add panel driver for innolux,p097pfg with ssd2825 bridge

2019-09-12 Thread Jitao Shi
Add driver to support panel innolux,p097pfg with bridge ssd2858. SSD2858 can spilt dsi 4 lanes to 8 lanes. Jitao Shi (3): drm/panel: panel-innolux: Allow 2 reset pins for panel dt-bindings: display: Add documentation for innolux,p097pfg_ssd2858 panel drm/panel: panel-innolux: Add

[PATCH 3/3] drm/panel: panel-innolux: Add support for P097PFZ behind SSD2858

2019-09-12 Thread Jitao Shi
Add driver to setup P097PFZ behing SSD2858 (4 to 8 lanes bridge). Signed-off-by: Jitao Shi --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 103 +- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c

[RFC PATCH 1/2] mdev: device id support

2019-09-12 Thread Jason Wang
Mdev bus only support vfio driver right now, so it doesn't implement match method. But in the future, we may add drivers other than vfio, one example is virtio-mdev[1] driver. This means we need to add device id support in bus match method to pair the mdev device and mdev driver correctly. So

Re: [PATCH] drm: rcar-du: Add r8a77980 support

2019-09-12 Thread Sergei Shtylyov
Hello! On 11.09.2019 22:25, Kieran Bingham wrote: Add direct support for the r8a77980 (V3H). The V3H shares a common, compatible configuration with the r8a77970 (V3M) so that device info structure is reused. Do we really need to add yet another compatible in this case? I just added

Re: [PATCH] backlight: ipaq_micro: Make structure micro_bl_props constant

2019-09-12 Thread Daniel Thompson
On Tue, Aug 13, 2019 at 02:28:55PM +0530, Nishka Dasgupta wrote: > Static structure micro_bl_props, having type backlight_properties, is > used only once, when it is passed as the last argument to function > devm_backlight_device_register(). devm_backlight_device_register() is > defined with its

Re: [PATCH] drm: rcar-du: Add r8a77980 support

2019-09-12 Thread Kieran Bingham
Hi Sergei, On 12/09/2019 11:26, Kieran Bingham wrote: > Hi Sergei, > > (pulling in +Geert for his opinion on compatible string usages) > > On 12/09/2019 11:00, Sergei Shtylyov wrote:> Hello! >> >> On 11.09.2019 22:25, Kieran Bingham wrote: >> >>> Add direct support for the r8a77980 (V3H). >>>

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-12 Thread Koenig, Christian
Am 12.09.19 um 12:27 schrieb Huang, Ray: > On Wed, Sep 11, 2019 at 08:13:19PM +0800, Koenig, Christian wrote: >> Am 11.09.19 um 13:50 schrieb Huang, Ray: >>> From: Alex Deucher >>> >>> If one bo is secure (created with AMDGPU_GEM_CREATE_ENCRYPTED), the TMZ >>> bits of >>> PTEs that belongs that

Re: [PATCH v4 2/2] drm/virtio: Use vmalloc for command buffer allocations.

2019-09-12 Thread Gerd Hoffmann
On Wed, Sep 11, 2019 at 11:14:03AM -0700, David Riley wrote: > Userspace requested command buffer allocations could be too large > to make as a contiguous allocation. Use vmalloc if necessary to > satisfy those allocations. Both applied to drm-misc-next. thanks, Gerd

Re: [RFC PATCH 2/2] mdev: introduce device specific ops

2019-09-12 Thread Michael S. Tsirkin
On Thu, Sep 12, 2019 at 05:40:12PM +0800, Jason Wang wrote: > Currently, except for the crate and remove. The rest fields of better: Currently, except for create and remove, the rest of the field in ... > mdev_parent_ops is just designed for vfio-mdev driver and may not help > for kernel mdev

Re: [PATCH v4 8/9] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-09-12 Thread Kieran Bingham
Hi Jacopo, On 06/09/2019 14:54, Jacopo Mondi wrote: > Update CMM settings at in the atomic commit tail helper method. > The CMM is updated with new gamma values provided to the driver > in the GAMMA_LUT blob property. > > When resuming from system suspend, the DU driver is responsible for >

[Bug 111667] gem_render_copy failing on CCS subtests

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111667 --- Comment #1 from Mika Kahola --- Test results show as ./tests/gem_render_copy IGT-Version: 1.24-g07f67caf (x86_64) (Linux: 5.3.0-rc8-CI-CI_DIS_719+ x86_64) Starting subtest: linear Subtest linear: SUCCESS (0,255s) Starting subtest: x-tiled

Re: [PATCH 1/2] drm/panfrost: Use generic code for devfreq

2019-09-12 Thread Mark Brown
On Thu, Sep 12, 2019 at 12:28:03PM +0100, Steven Price wrote: > Use dev_pm_opp_set_rate() instead of open coding the devfreq > integration, simplifying the code. Reviewed-by: Mark Brown signature.asc Description: PGP signature ___ dri-devel mailing

Re: [PATCH v4 6/9] drm: rcar-du: crtc: Enable and disable CMMs

2019-09-12 Thread Jacopo Mondi
Hi Kieran, On Wed, Sep 11, 2019 at 07:40:27PM +0100, Kieran Bingham wrote: > Hi Jacopo, > > On 06/09/2019 14:54, Jacopo Mondi wrote: > > Enable/disable the CMM associated with a CRTC at CRTC start and stop > > time and enable the CMM unit through the Display Extensional Functions > > register at

Re: [PATCH v4 6/9] drm: rcar-du: crtc: Enable and disable CMMs

2019-09-12 Thread Kieran Bingham
Hi Jacopo, On 12/09/2019 09:07, Jacopo Mondi wrote: > Hi Kieran, > > On Wed, Sep 11, 2019 at 07:40:27PM +0100, Kieran Bingham wrote: >> Hi Jacopo, >> >> On 06/09/2019 14:54, Jacopo Mondi wrote: >>> Enable/disable the CMM associated with a CRTC at CRTC start and stop >>> time and enable the CMM

[PATCH 2/2] drm/panfrost: Simplify devfreq utilisation tracking

2019-09-12 Thread Steven Price
Instead of tracking per-slot utilisation track a single value for the entire GPU. Ultimately it doesn't matter if the GPU is busy with only vertex or a combination of vertex and fragment processing - if it's busy then it's busy and devfreq should be scaling appropriately. This also makes way for

[PATCH 0/2] drm/panfrost: Tidy up the devfreq implementation

2019-09-12 Thread Steven Price
The devfreq implementation in panfrost is unnecessarily open coded. It also tracks utilisation metrics per slot which isn't very useful. Let's tidy it up! This should be picked up along with Mark's change[1] to fix regulator_get_optional() misuse. This also deletes the code changes from

[PATCH 1/2] drm/panfrost: Use generic code for devfreq

2019-09-12 Thread Steven Price
Use dev_pm_opp_set_rate() instead of open coding the devfreq integration, simplifying the code. Signed-off-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 62 - drivers/gpu/drm/panfrost/panfrost_device.h | 2 - 2 files changed, 10 insertions(+), 54

Re: [PATCH 00/11] Add support for software nodes to gpiolib

2019-09-12 Thread Linus Walleij
On Wed, Sep 11, 2019 at 8:52 AM Dmitry Torokhov wrote: > If we agree in principle, I would like to have the very first 3 patches > in an immutable branch off maybe -rc8 so that it can be pulled into > individual subsystems so that patches switching various drivers to > fwnode_gpiod_get_index()

Re: [PATCH v3 2/2] backlight: lm3630a: add an enable gpio for the HWEN pin

2019-09-12 Thread Dan Murphy
Andreas On 9/11/19 12:21 PM, Andreas Kemnade wrote: For now just enable it in the probe function to allow i2c access. Disabling also means resetting the register values to default and according to the datasheet does not give power savings. Tested on Kobo Clara HD. Signed-off-by: Andreas

Re: [PATCH v3 1/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-09-12 Thread Dan Murphy
Andreas On 9/11/19 12:21 PM, Andreas Kemnade wrote: add enable-gpios to describe HWEN pin Signed-off-by: Andreas Kemnade Acked-by: Daniel Thompson --- changes in v2: added example changes in v3: added Acked-by .../bindings/leds/backlight/lm3630a-backlight.yaml | 5 + 1 file

Re: [PATCH] drm: rcar-du: Add r8a77980 support

2019-09-12 Thread Geert Uytterhoeven
Hi Kieran, On Thu, Sep 12, 2019 at 12:26 PM Kieran Bingham wrote: > (pulling in +Geert for his opinion on compatible string usages) > > On 12/09/2019 11:00, Sergei Shtylyov wrote:> Hello! > > On 11.09.2019 22:25, Kieran Bingham wrote: > >> Add direct support for the r8a77980 (V3H). > >> > >> The

Re: [PATCH v2 2/2] backlight: lm3630a: add an enable gpio for the HWEN pin

2019-09-12 Thread Daniel Thompson
On Wed, Sep 11, 2019 at 01:48:36PM -0500, Dan Murphy wrote: > > On 9/11/19 5:25 AM, Daniel Thompson wrote: > > On Tue, Sep 10, 2019 at 11:29:09PM +0200, Andreas Kemnade wrote: > > > For now just enable it in the probe function to allow i2c > > > access. Disabling also means resetting the register

[RFC PATCH 2/2] mdev: introduce device specific ops

2019-09-12 Thread Jason Wang
Currently, except for the crate and remove. The rest fields of mdev_parent_ops is just designed for vfio-mdev driver and may not help for kernel mdev driver. So follow the device id support by previous patch, this patch introduces device specific ops which points to device specific ops (e.g vfio

[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API

2019-09-12 Thread Tomasz Figa
This patch is an early RFC to judge the direction we are following in our virtualization efforts in Chrome OS. The purpose is to start a discussion on how to handle buffer sharing between multiple virtio devices. On a side note, we are also working on a virtio video decoder interface and

[RFC PATCH 0/2] Mdev: support mutiple kinds of devices

2019-09-12 Thread Jason Wang
Hi all: During the development of virtio-mdev[1]. I find that mdev needs to be extended to support devices other than vfio mdev device. So this series tries to extend the mdev to be able to differ from different devices by: - device id and matching for mdev bus - device speicfic callbacks and

[PATCH v7 0/7] drm/i915/dp: Support for DP HDR outputs

2019-09-12 Thread Gwan-gyeong Mun
Support for HDR10 video was introduced in DisplayPort 1.4. On GLK+ platform, in order to use DisplayPort HDR10, we need to support BT.2020 colorimetry and HDR Static metadata. It implements the CTA-861-G standard for transport of static HDR metadata. It enables writing of HDR metadata infoframe

[PATCH] drm/virtio: enable prime mmap support

2019-09-12 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index 0c9553ea9f3f..96c240dbf452 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++

Re: [PATCH] drm: rcar-du: Add r8a77980 support

2019-09-12 Thread Kieran Bingham
On 12/09/2019 13:03, Geert Uytterhoeven wrote: > Hi Kieran, > > On Thu, Sep 12, 2019 at 12:26 PM Kieran Bingham > wrote: >> (pulling in +Geert for his opinion on compatible string usages) >> >> On 12/09/2019 11:00, Sergei Shtylyov wrote:> Hello! >>> On 11.09.2019 22:25, Kieran Bingham wrote:

Re: [RFC][PATCH] drm: kirin: Fix dsi probe/attach logic

2019-09-12 Thread Andrzej Hajda
On 12.09.2019 04:38, John Stultz wrote: > On Wed, Sep 4, 2019 at 3:26 AM Andrzej Hajda wrote: >> On 03.09.2019 18:18, John Stultz wrote: >>> On Mon, Sep 2, 2019 at 6:22 AM Andrzej Hajda wrote: On 30.08.2019 19:00, Rob Clark wrote: > On Thu, Aug 29, 2019 at 11:52 PM Andrzej Hajda >

Re: [Intel-gfx] [PATCH v3 00/37] Introduce memory region concept (including device local memory)

2019-09-12 Thread Joonas Lahtinen
Quoting Dave Airlie (2019-08-13 22:20:52) > On Sat, 10 Aug 2019 at 08:26, Matthew Auld wrote: > > > > In preparation for upcoming devices with device local memory, introduce the > > concept of different memory regions, and a simple buddy allocator to manage > > them in i915. > > > > One of the

[Bug 111669] Navi GPU hang in Minecraft

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111669 --- Comment #1 from Pierre-Eric Pelloux-Prayer --- Thanks for the bug report and the trace. I can reproduce the hang. There's always a page fault before, e.g: amdgpu :0b:00.0: [gfxhub] page fault (src_id:0 ring:24 vmid:3 pasid:32772, for

Re: [v5 2/2] drm/arm/mali-dp: Add display QoS interface configuration for Mali DP500

2019-09-12 Thread Liviu Dudau
On Tue, Sep 10, 2019 at 03:59:13PM +0800, Wen He wrote: > Configure the display Quality of service (QoS) levels priority if the > optional property node "arm,malidp-aqros-value" is defined in DTS file. > > QoS signaling using AQROS and AWQOS AXI interface signals, the AQROS is > driven from the

Re: [PATCH v3 1/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-09-12 Thread Andreas Kemnade
On Thu, 12 Sep 2019 06:39:50 -0500 Dan Murphy wrote: > Andreas > > On 9/11/19 12:21 PM, Andreas Kemnade wrote: > > add enable-gpios to describe HWEN pin > > > > Signed-off-by: Andreas Kemnade > > Acked-by: Daniel Thompson > > --- > > changes in v2: added example > > changes in v3: added

Re: [PATCH v3] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-12 Thread Jernej Škrabec
Dne sreda, 11. september 2019 ob 19:02:38 CEST je Cheng-yi Chiang napisal(a): > On Thu, Sep 12, 2019 at 12:54 AM Jernej Škrabec wrote: > > Dne sreda, 11. september 2019 ob 18:23:59 CEST je Neil Armstrong napisal(a): > > > On 11/09/2019 10:26, Cheng-Yi Chiang wrote: > > > > From: Yakir Yang > >

[Bug 204683] amdgpu: ring sdma0 timeout

2019-09-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204683 --- Comment #9 from Matthias Heinz (m...@familie-heinz.name) --- A small update. I managed to go down even further. I'm currently at e6d2421343a7 in drm-next and I see the following error: Sep 12 14:32:44 egalite kernel:

Re: [RFC PATCH] drm/virtio: Export resource handles via DMA-buf API

2019-09-12 Thread Tomasz Figa
Hi Gerd, On Thu, Sep 12, 2019 at 9:38 PM Gerd Hoffmann wrote: > > Hi, > > > To seamlessly enable buffer sharing with drivers using such frameworks, > > make the virtio-gpu driver expose the resource handle as the DMA address > > of the buffer returned from the DMA-buf mapping operation.

Re: HDCP Content Type Interface

2019-09-12 Thread Ramalingam C
On 2019-09-12 at 14:23:05 +, Harry Wentland wrote: > On 2019-09-12 3:47 a.m., Ramalingam C wrote: > > On 2019-09-09 at 15:54:50 +, Lakha, Bhawanpreet wrote: > >> Hi all, > >> > >> This is regarding the recent hdcp content type patch that was merged into > >> drm-misc. > >>

Re: HDCP Content Type Interface

2019-09-12 Thread Jani Nikula
On Thu, 12 Sep 2019, Harry Wentland wrote: > On 2019-09-12 3:47 a.m., Ramalingam C wrote: >> On 2019-09-09 at 15:54:50 +, Lakha, Bhawanpreet wrote: >>> Hi all, >>> >>> This is regarding the recent hdcp content type patch that was merged into >>> drm-misc. >>>

[Bug 111527] obs-studio + latest mesa on amdgpu/vega64 leaks kernel memory rapidly

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111527 tele4...@hotmail.com changed: What|Removed |Added Blocks||111444 Referenced Bugs:

[Bug 111667] gem_render_copy failing on CCS subtests

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111667 --- Comment #3 from Mika Kahola --- You're right. I had a patch in my tree which, for some reason, hasn't been upstreamed yet. But the bug is real, we are missing rendercopy function for GEN12. -- You are receiving this mail because: You are

[PATCH v4] video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver

2019-09-12 Thread Wei Hu
Without deferred IO support, hyperv_fb driver informs the host to refresh the entire guest frame buffer at fixed rate, e.g. at 20Hz, no matter there is screen update or not. This patch supports deferred IO for screens in graphics mode and also enables the frame buffer on-demand refresh. The

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #37 from Jeremy Silliman --- I purchased a 5700XT the other day, and what I've noticed is that anything that tries getting statistics from the GPU (radeontop, lm_sensors) induces a page fault hang within a couple of minutes. In my

Re: [RFC][PATCH] drm: kirin: Fix dsi probe/attach logic

2019-09-12 Thread Matt Redfearn
On 12/09/2019 14:21, Andrzej Hajda wrote: > On 12.09.2019 04:38, John Stultz wrote: >> On Wed, Sep 4, 2019 at 3:26 AM Andrzej Hajda wrote: >>> On 03.09.2019 18:18, John Stultz wrote: On Mon, Sep 2, 2019 at 6:22 AM Andrzej Hajda wrote: > On 30.08.2019 19:00, Rob Clark wrote: >> On

Re: HDCP Content Type Interface

2019-09-12 Thread Harry Wentland
On 2019-09-12 3:47 a.m., Ramalingam C wrote: > On 2019-09-09 at 15:54:50 +, Lakha, Bhawanpreet wrote: >> Hi all, >> >> This is regarding the recent hdcp content type patch that was merged into >> drm-misc. >> (https://patchwork.freedesktop.org/patch/320958/?series=57233=11) >> >> There are

Re: [RFC PATCH] drm/virtio: Export resource handles via DMA-buf API

2019-09-12 Thread Gerd Hoffmann
Hi, > To seamlessly enable buffer sharing with drivers using such frameworks, > make the virtio-gpu driver expose the resource handle as the DMA address > of the buffer returned from the DMA-buf mapping operation. Arguably, the > resource handle is a kind of DMA address already, as it is the

Re: [PATCH v3 1/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-09-12 Thread Dan Murphy
Andreas On 9/12/19 9:58 AM, Andreas Kemnade wrote: On Thu, 12 Sep 2019 06:39:50 -0500 Dan Murphy wrote: Andreas On 9/11/19 12:21 PM, Andreas Kemnade wrote: add enable-gpios to describe HWEN pin Signed-off-by: Andreas Kemnade Acked-by: Daniel Thompson --- changes in v2: added example

Re: [PATCH v7 04/11] drm: revocation check at drm subsystem

2019-09-12 Thread Harry Wentland
On 2019-09-12 2:54 a.m., Ramalingam C wrote: > On 2019-09-12 at 00:15:32 +, Harry Wentland wrote: >> Adding a couple AMD guys. >> >> I know this is already merged but I have a few questions after some >> internal discussions. >> >> On 2019-05-07 12:27 p.m., Ramalingam C wrote: >>> On every

[PATCH] drm/virtio: Fix warning in virtio_gpu_queue_fenced_ctrl_buffer.

2019-09-12 Thread David Riley
Fix warning introduced with commit e1218b8c0cc1 ("drm/virtio: Use vmalloc for command buffer allocations.") from drm-misc-next. Signed-off-by: David Riley --- drivers/gpu/drm/virtio/virtgpu_vq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Intel-gfx] [PATCH 1/2] drm/connector: Share with non-atomic drivers the function to get the single encoder

2019-09-12 Thread kbuild test robot
mmits/Jos-Roberto-de-Souza/drm-connector-Share-with-non-atomic-drivers-the-function-to-get-the-single-encoder/20190912-213415 config: x86_64-randconfig-g003-201936 (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree

Re: RFC: IOCTL to label BO in DRM Core

2019-09-12 Thread Eric Anholt
Rohan Garg writes: > [ Unknown signature status ] > Hi > I'm investigating a way to label BO's in panfrost, similar to how VC4 does it > and realised that this could be something that's might be useful to all > drivers. > > With that in mind, would anyone be opposed to add a

drm fixes for 5.3-rc9

2019-09-12 Thread Dave Airlie
Hey Linus, >From the maintainer summit, just some last minute fixes for final, details in the tag. Dave. drm-fixes-2019-09-13: drm fixes for 5.3-rc9 lima: - fix gem_wait ioctl core: - constify modes list i915: - DP MST high color depth regression - GPU hangs on vulkan compute workloads The

Re: [PATCH 2/4] mm/hmm: allow snapshot of the special zero page

2019-09-12 Thread Ralph Campbell
On 9/12/19 1:26 AM, Christoph Hellwig wrote: On Wed, Sep 11, 2019 at 03:28:27PM -0700, Ralph Campbell wrote: Allow hmm_range_fault() to return success (0) when the CPU pagetable entry points to the special shared zero page. The caller can then handle the zero page by possibly clearing device

[PATCH v2] dt-bindings: gpu: Convert Samsung Image Rotator to dt-schema

2019-09-12 Thread Maciej Falkowski
Convert Samsung Image Rotator to newer dt-schema format. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v2: - add required properties - add proper commit recipients --- .../bindings/gpu/samsung-rotator.txt | 28 -- .../bindings/gpu/samsung-rotator.yaml

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #38 from rol...@rptd.ch --- Could it be that your patch is not for version "mesa-19.0.8" as I'm using? (newer ones are keyworded) -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 1/4] mm/hmm: make full use of walk_page_range()

2019-09-12 Thread Ralph Campbell
On 9/12/19 1:26 AM, Christoph Hellwig wrote: +static int hmm_pfns_fill(unsigned long addr, +unsigned long end, +struct hmm_range *range, +enum hmm_pfn_value_e value) Nit: can we use the space a little more efficient,

[PATCH] drm/ttm: Restore ttm prefaulting

2019-09-12 Thread VMware
From: Thomas Hellstrom Commit 4daa4fba3a38 ("gpu: drm: ttm: Adding new return type vm_fault_t") broke TTM prefaulting. Since vmf_insert_mixed() typically always returns VM_FAULT_NOPAGE, prefaulting stops after the second PTE. Restore (almost) the original behaviour. Unfortunately we can no

Re: [PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-12 Thread Eric Anholt
Iago Toral Quiroga writes: > Extends the user space ioctl for CL submissions so it can include a request > to flush the cache once the CL execution has completed. Fixes memory > write violation messages reported by the kernel in workloads involving > shader memory writes (SSBOs, shader images,

Re: HDCP Content Type Interface

2019-09-12 Thread Harry Wentland
On 2019-09-12 10:49 a.m., Ramalingam C wrote: > On 2019-09-12 at 14:23:05 +, Harry Wentland wrote: >> On 2019-09-12 3:47 a.m., Ramalingam C wrote: >>> On 2019-09-09 at 15:54:50 +, Lakha, Bhawanpreet wrote: Hi all, This is regarding the recent hdcp content type patch that was

[PATCH 1/2] drm/connector: Share with non-atomic drivers the function to get the single encoder

2019-09-12 Thread José Roberto de Souza
This 3 non-atomic drivers all have the same function getting the only encoder available in the connector, also atomic drivers have this fallback. So moving it a common place and sharing between atomic and non-atomic drivers. While at it I also removed the mention of

[PATCH 2/2] drm/connector: Allow max possible encoders to attach to a connector

2019-09-12 Thread José Roberto de Souza
Currently we restrict the number of encoders that can be linked to a connector to 3, increase it to match the maximum number of encoders that can be initialized(32). To more effiently do that lets switch from an array of encoder ids to bitmask. v2: Fixing missed return on

[Bug 204683] amdgpu: ring sdma0 timeout

2019-09-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204683 --- Comment #10 from Matthias Heinz (m...@familie-heinz.name) --- Created attachment 284945 --> https://bugzilla.kernel.org/attachment.cgi?id=284945=edit Kernel trace Update 2 for today. With de00d253bc85, which is the predecessor of

Re: [PATCH] drm/virtio: enable prime mmap support

2019-09-12 Thread Chia-I Wu
On Thu, Sep 12, 2019 at 4:46 AM Gerd Hoffmann wrote: > > Signed-off-by: Gerd Hoffmann Reviewed-by: Chia-I Wu > --- > drivers/gpu/drm/virtio/virtgpu_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c > b/drivers/gpu/drm/virtio/virtgpu_drv.c >

Re: RFC: IOCTL to label BO in DRM Core

2019-09-12 Thread Daniel Vetter
On Thu, Sep 12, 2019 at 7:57 PM Eric Anholt wrote: > > Rohan Garg writes: > > > [ Unknown signature status ] > > Hi > > I'm investigating a way to label BO's in panfrost, similar to how VC4 does > > it > > and realised that this could be something that's might be useful to all > > drivers. > >

  1   2   >