Re: [PATCH 0/2] Lima DRM driver

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 2:44 AM Rob Herring wrote: > > On Tue, Feb 12, 2019 at 7:00 PM Eric Anholt wrote: > > > > Rob Herring writes: > > > > > On Thu, Feb 7, 2019 at 9:51 AM Daniel Vetter wrote: > > >> > > >> On Thu, Feb 07, 2019 at 11:21:52PM +0800, Qiang Yu wrote: > > >> > On Thu, Feb 7, 201

Re: [PATCH 0/2] Lima DRM driver

2019-02-13 Thread Christian König via dri-devel
Am 13.02.19 um 08:59 schrieb Daniel Vetter: On Wed, Feb 13, 2019 at 2:44 AM Rob Herring wrote: On Tue, Feb 12, 2019 at 7:00 PM Eric Anholt wrote: Rob Herring writes: On Thu, Feb 7, 2019 at 9:51 AM Daniel Vetter wrote: On Thu, Feb 07, 2019 at 11:21:52PM +0800, Qiang Yu wrote: On Thu, Feb

[PATCH i-g-t] i915/gem_exec_big: Add a single shot test

2019-02-13 Thread Chris Wilson
CI complains that the exhaustive test of trying every size up to the limit is too slow, so add a simple test that tries to submit one extreme batch buffer and check all the relocations land. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=10 Signed-off-by: Chris Wilson --- tests/i915/

Re: [PATCH v7 00/23] drm/sun4i: Allwinner A64 MIPI-DSI support

2019-02-13 Thread Maxime Ripard
On Tue, Feb 12, 2019 at 03:16:02PM +0530, Jagan Teki wrote: > On Fri, Feb 1, 2019 at 9:12 PM Jagan Teki wrote: > > > > Here is next version changes for Allwinner A64 MIPI-DSI support > > > > This series grouped the changes like previous version[1] with different > > sets to support three different

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #6 from Henri Valta --- (In reply to Timothy Arceri from comment #5) > I just tried a build of 18.3.3 and it didn't crash for me either. Just to be > clear, does the trace actually crash for you? Or does it only happen when > your ru

Re: [PATCH v7 00/23] drm/sun4i: Allwinner A64 MIPI-DSI support

2019-02-13 Thread Jagan Teki
On Wed, Feb 13, 2019 at 2:33 PM Maxime Ripard wrote: > > On Tue, Feb 12, 2019 at 03:16:02PM +0530, Jagan Teki wrote: > > On Fri, Feb 1, 2019 at 9:12 PM Jagan Teki > > wrote: > > > > > > Here is next version changes for Allwinner A64 MIPI-DSI support > > > > > > This series grouped the changes li

Re: [PATCH 0/2] Lima DRM driver

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 09:35:30AM +0100, Christian König wrote: > Am 13.02.19 um 08:59 schrieb Daniel Vetter: > > On Wed, Feb 13, 2019 at 2:44 AM Rob Herring wrote: > > > On Tue, Feb 12, 2019 at 7:00 PM Eric Anholt wrote: > > > > Rob Herring writes: > > > > > > > > > On Thu, Feb 7, 2019 at 9:5

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Daniel Vetter
On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > On Mon, Feb 11, 2019 at 6:04 PM Daniel Vetter wrote: > > > > On Mon, Feb 11, 2019 at 4:01 PM Kazlauskas, Nicholas > > wrote: > > > > > > On 2/11/19 3:35 AM, Daniel Vetter wrote: > > > > On Mon, Feb 11, 2019 at 04:22:24AM +0100, Mari

Re: [PATCH] drm/amd/display: Use vrr friendly pageflip throttling in DC.

2019-02-13 Thread Daniel Vetter
On Mon, Feb 11, 2019 at 04:01:12PM +0100, Michel Dänzer wrote: > On 2019-02-09 7:52 a.m., Mario Kleiner wrote: > > In VRR mode, keep track of the vblank count of the last > > completed pageflip in amdgpu_crtc->last_flip_vblank, as > > recorded in the pageflip completion handler after each > > compl

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #7 from Timothy Arceri --- Maybe you could try attaching a save game near a tnt barrel instead as I have the game and could try reproduce that way. Or you could try bisecting mesa if you know how to do that? -- You are receiving t

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Chris Wilson
Quoting Daniel Vetter (2019-02-13 09:50:55) > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > > I think all kms drivers try to call drm_crtc_handle_vblank() at start > > of vblank to give Mesa the most time for frontbuffer rendering for > > classic X. But vblank events are also use

[PULL] drm-misc-fixes

2019-02-13 Thread Maarten Lankhorst via dri-devel
Hi Dave, Daniel, Just a single fix to a license inconsistency in vkms. :) drm-misc-fixes-2019-02-13: drm-misc-fixes for v5.0: - Fix license inconsistency in vkms. The following changes since commit 6297388e1eddd2f1345cea5892156223995bcf2d: drm/omap: dsi: Hack-fix DSI bus flags (2019-02-06 13:3

Re: [PATCH 0/2] Lima DRM driver

2019-02-13 Thread Christian König via dri-devel
Am 13.02.19 um 10:38 schrieb Daniel Vetter: On Wed, Feb 13, 2019 at 09:35:30AM +0100, Christian König wrote: Am 13.02.19 um 08:59 schrieb Daniel Vetter: On Wed, Feb 13, 2019 at 2:44 AM Rob Herring wrote: On Tue, Feb 12, 2019 at 7:00 PM Eric Anholt wrote: Rob Herring writes: On Thu, Feb 7

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #8 from Henri Valta --- (In reply to Timothy Arceri from comment #7) > Maybe you could try attaching a save game near a tnt barrel instead as I > have the game and could try reproduce that way. > > Or you could try bisecting mesa if

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #9 from Henri Valta --- Created attachment 143371 --> https://bugs.freedesktop.org/attachment.cgi?id=143371&action=edit Savegame ready to explode -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 109239] Polaris10: Periodic random black screens for 1-2 seconds

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109239 --- Comment #10 from Samuel Pitoiset --- I don't think it's a cable issue because it works fine with NVIDIA. echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level echo "0" > /sys/class/drm/card0/device/pp_dpm_mclk Doing

Re: [PATCH v4 1/4] gpu: ipu-v3: ipu-ic: Rename yuv2rgb encoding matrices

2019-02-13 Thread Philipp Zabel
On Tue, 2019-02-12 at 09:42 -0800, Steve Longerbeam wrote: [...] > > > But what about this "SAT_MODE" field in the IC task parameter memory? > > > > That just controls the saturation. The result after the matrix > > multiplication is either saturated to [0..255] or to [16..235]/[16..240] > > when

linux-next: Fixes tags need some work in the drm-fixes tree

2019-02-13 Thread Stephen Rothwell
Hi all, In commit bb867d219fda ("gpu: ipu-v3: Fix CSI offsets for imx53") Fixes tag Fixes: 2ffd48f2e7 ("gpu: ipu-v3: Add Camera Sensor Interface unit") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.1

Re: [PATCH] drm/amd/display: Use vrr friendly pageflip throttling in DC.

2019-02-13 Thread Michel Dänzer
On 2019-02-13 10:53 a.m., Daniel Vetter wrote: > On Mon, Feb 11, 2019 at 04:01:12PM +0100, Michel Dänzer wrote: >> On 2019-02-09 7:52 a.m., Mario Kleiner wrote: >>> In VRR mode, keep track of the vblank count of the last >>> completed pageflip in amdgpu_crtc->last_flip_vblank, as >>> recorded in th

Re: [v15 3/4] drm: Add colorspace info to AVI Infoframe

2019-02-13 Thread Ville Syrjälä via dri-devel
On Tue, Feb 12, 2019 at 09:30:50PM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Tuesday, February 12, 2019 10:35 PM > >To: Shankar, Uma > >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org;

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Mario Kleiner via dri-devel
On Wed, Feb 13, 2019 at 10:56 AM Chris Wilson wrote: > > Quoting Daniel Vetter (2019-02-13 09:50:55) > > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > > > I think all kms drivers try to call drm_crtc_handle_vblank() at start > > > of vblank to give Mesa the most time for frontbu

RE: [v15 3/4] drm: Add colorspace info to AVI Infoframe

2019-02-13 Thread Shankar, Uma via dri-devel
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Wednesday, February 13, 2019 4:34 PM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Syrjala, >Ville >; emil.l.veli...@gmail.com; Lankhorst, Maarten > >Subject

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Mario Kleiner via dri-devel
On Wed, Feb 13, 2019 at 10:50 AM Daniel Vetter wrote: > > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > > On Mon, Feb 11, 2019 at 6:04 PM Daniel Vetter wrote: > > > > > > On Mon, Feb 11, 2019 at 4:01 PM Kazlauskas, Nicholas > > > wrote: > > > > > > > > On 2/11/19 3:35 AM, Dani

Re: Fwd: [PATCH] drm: panel-orientation-quirks: Get rid of superfluous (void *) casting

2019-02-13 Thread Thierry Reding via dri-devel
On Wed, Feb 13, 2019 at 11:13:23AM +0100, David Santamaría Rogado wrote: > Sorry previous one wasn't signed off by. And now you've got this comment in the commit message that's going to confuse people looking at the log. It's usually to put this kind of comment below the --- line... > The (void

[PULL] drm-intel-fixes

2019-02-13 Thread Jani Nikula via dri-devel
Hi Dave and Daniel, perhaps slightly more than I'd like at this stage, but didn't really want to drop anything either... BR, Jani. The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9: Linux 5.0-rc6 (2019-02-10 14:42:20 -0800) are available in the Git repository at:

Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad D330

2019-02-13 Thread Thierry Reding via dri-devel
On Wed, Feb 13, 2019 at 11:14:51AM +0100, David Santamaría Rogado wrote: > Lenovo Ideapad D330 Pentium CPU version has 1920x1200 LCD. Console > ouput gets rotated at boot as Miix 310. > > Signed-off-by: David Santamaría Rogado Is something obfuscating your email address here? > --- > drivers/g

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 12:05 PM Mario Kleiner wrote: > > On Wed, Feb 13, 2019 at 10:56 AM Chris Wilson > wrote: > > > > Quoting Daniel Vetter (2019-02-13 09:50:55) > > > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > > > > I think all kms drivers try to call drm_crtc_handle_vb

Re: [PATCH] drm/amd/display: Use vrr friendly pageflip throttling in DC.

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 11:54 AM Michel Dänzer wrote: > > On 2019-02-13 10:53 a.m., Daniel Vetter wrote: > > On Mon, Feb 11, 2019 at 04:01:12PM +0100, Michel Dänzer wrote: > >> On 2019-02-09 7:52 a.m., Mario Kleiner wrote: > >>> In VRR mode, keep track of the vblank count of the last > >>> complet

[PATCH i-g-t] i915/gem_exec_big: Add a single shot test

2019-02-13 Thread Chris Wilson
CI complains that the exhaustive test of trying every size up to the limit is too slow, so add a simple test that tries to submit one extreme batch buffer and check all the relocations land. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=10 Signed-off-by: Chris Wilson --- Continue the

Re: [PATCH v3 3/3] phy: Add driver for mixel dphy found on imx8

2019-02-13 Thread kbuild test robot via dri-devel
Hi Guido, Thank you for the patch! Yet something to improve: [auto build test ERROR on phy/next] [also build test ERROR on next-20190212] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

[PATCH 1/6] drm/i915: Add P010, P012, P016 plane control definitions

2019-02-13 Thread Swati Sharma via dri-devel
From: Juha-Pekka Heikkila Add needed plane control flag definitions for P010, P012 and P016 formats. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driver

[PATCH 2/6] drm/i915: Preparations for enabling P010, P012, P016 formats

2019-02-13 Thread Swati Sharma via dri-devel
From: Juha-Pekka Heikkila Preparations for enabling P010, P012 and P016 formats. These formats will extend NV12 for larger bit depths. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_atomic_plane.c | 2 +- drivers/

[PATCH 3/6] drm/i915: Enable P010, P012, P016 formats for primary and sprite planes

2019-02-13 Thread Swati Sharma via dri-devel
From: Juha-Pekka Heikkila Enabling of P010, P012 and P016 formats. These formats will extend NV12 for larger bit depths. Signed-off-by: Juha-Pekka Heikkila Signed-off-by: Swati Sharma Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_sprite.c | 28 ++-- 1

[PATCH 0/6] Enable P0xx (planar), Y2xx/Y4xx (packed) pixel formats

2019-02-13 Thread Swati Sharma via dri-devel
This patch series is for enabling P0xx, Y2xx and Y4xx pixel formats for intel's i915 driver. In this patch series, Juha Pekka's patch series Gen10+ P0xx formats https://patchwork.freedesktop.org/series/56053/ is combined with Swati's https://patchwork.freedesktop.org/series/55035/ for Gen11+ pixel

[PATCH 5/6] drm/i915/icl: Add Y2xx and Y4xx (xx:10/12/16) plane control definitions

2019-02-13 Thread Swati Sharma via dri-devel
Added needed plane control flag definitions for Y2xx and Y4xx (10, 12 and 16 bits) Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas Reviewed-by: Juha-Pekka Heikkila Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/i915_reg.h | 6 ++ 1 file changed, 6 insertions(+) diff --

[PATCH 4/6] drm: Add Y2xx and Y4xx (xx:10/12/16) format definitions and fourcc

2019-02-13 Thread Swati Sharma via dri-devel
The following pixel formats are packed format that follows 4:2:2 chroma sampling. For memory represenation each component is allocated 16 bits each. Thus each pixel occupies 32bit. Y210: For each component, valid data occupies MSB 10 bits. LSB 6 bits are filled with zeroes. Y212: For e

[PATCH 6/6] drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal planes

2019-02-13 Thread Swati Sharma via dri-devel
Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas Reviewed-by: Juha-Pekka Heikkila Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 30 ++ drivers/gpu/drm/i915/intel_sprite.c | 60 +++- 2 files changed, 89 insert

Re: drm bridge control from another driver

2019-02-13 Thread Andrzej Hajda via dri-devel
On 13.02.2019 14:40, Vinay Simha B N wrote: > Andrzej/Daniel, > > please suggest any input on the scenario for temperature control and > dsi bridge enable/disable. > > On Mon, Feb 11, 2019 at 2:41 PM Vinay Simha B N > wrote: > > dsi2hdmi(adv7511) chip operating tempe

Re: [PATCH v3 8/8] drm/panel: Add Ronbo RB070D30 panel

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-11 at 15:41 +0100, Maxime Ripard wrote: > From: Konstantin Sudakov > > The Ronbo RB070D30 panel is a MIPI-DSI panel based on a Fitipower EK79007 > controller and a 1024x600 panel. > > Reviewed-by: Sam Ravnborg > Signed-off-by: Konstantin Sudakov > Signed-off-by: Maxime Rip

Re: [PATCH v2 3/5] drm: msm: Switch to use drm_gem_object reservation_object

2019-02-13 Thread Rob Clark via dri-devel
On Sat, Feb 2, 2019 at 10:42 AM Rob Herring wrote: > > Now that the base struct drm_gem_object has a reservation_object, use it > and remove the private BO one. > > We can't use the drm_gem_reservation_object_wait() helper for MSM > because (in theory) msm_gem_cpu_prep() will also do some cache >

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Kazlauskas, Nicholas
On 2/13/19 4:50 AM, Daniel Vetter wrote: > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: >> On Mon, Feb 11, 2019 at 6:04 PM Daniel Vetter wrote: >>> >>> On Mon, Feb 11, 2019 at 4:01 PM Kazlauskas, Nicholas >>> wrote: On 2/11/19 3:35 AM, Daniel Vetter wrote: > On Mon

Re: [PATCH v3 5/8] drm/sun4i: dsi: Fix DRQ calculation

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-11 at 15:41 +0100, Maxime Ripard wrote: > The DRQ calculation code in the Allwinner BSP uses the vertical front > porch value as the condition, but we're using the video back porch. > > Since I always confuse the two, and I'm the original author of that code, I > guess I deser

Re: [PATCH v3 7/8] drm/sun4i: dsi: Add burst support

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-11 at 15:41 +0100, Maxime Ripard wrote: > From: Konstantin Sudakov > > The current driver doesn't support the DSI burst operation mode. > > Let's add the needed quirks to make it work. > > Signed-off-by: Konstantin Sudakov > Signed-off-by: Maxime Ripard > --- > drivers/g

Re: [PATCH v3 6/8] drm/sun4i: dsi: Rework a bit the hblk calculation

2019-02-13 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-11 at 15:41 +0100, Maxime Ripard wrote: > It turns out that the hblk calculation actually follows a similar pattern > than the other packets. Rework a bit the calculation and add a comment. This looks consistent with what the BSP is doing for video mode. Reviewed-by: Paul Koc

[PATCH 0/3] Make DRM DSC helpers more generally usable

2019-02-13 Thread David Francis
drm_dsc could use some work so that drm drivers other than i915 can make use of it their own DSC implementations Move rc compute, a function that forms part of the DSC spec, into drm. Update it to DSC 1.2. Also change the packing function to operate only on the packing struct, to allow for drivers

[PATCH 1/3] drm/i915: Move dsc rate params compute into drm

2019-02-13 Thread David Francis
The function intel_compute_rc_parameters is part of the dsc spec and is not driver-specific. Other drm drivers might like to use it. The function is not changed; just moved and renamed. Signed-off-by: David Francis --- drivers/gpu/drm/drm_dsc.c | 133 ++ driv

[PATCH 2/3] drm/dsc: Add native 420 and 422 support to compute_rc_params

2019-02-13 Thread David Francis
Native 420 and 422 transfer modes are new in DSC1.2 In these modes, each two pixels of a slice are treated as one pixel, so the slice width is half as large (round down) for the purposes of calucating the groups per line and chunk size in bytes In native 422 mode, each pixel has four components,

[PATCH 3/3] drm/dsc: Change infoframe_pack to payload_pack

2019-02-13 Thread David Francis
The function drm_dsc_pps_infoframe_pack only packed the payload portion of the infoframe. Change the input struct to the PPS payload to clarify the function's purpose and allow for drivers with their own handling of sdp. (e.g. drivers with their own struct for all SDP transactions) Signed-off-by:

Re: [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol

2019-02-13 Thread Bartlomiej Zolnierkiewicz via dri-devel
On 02/12/2019 09:42 AM, Lee Jones wrote: > On Fri, 08 Feb 2019, Bartlomiej Zolnierkiewicz wrote: > >> >> On 01/17/2019 05:19 PM, Daniel Thompson wrote: >>> On Thu, Jan 17, 2019 at 04:33:35PM +0300, Alexander Shiyan wrote: We have two *_CLASS_DEVICE kernel config options (LCD_CLASS_DEVICE >>>

[PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Rob Clark via dri-devel
We've moved the tree to a shared gitlab tree, so that Sean can help out with maintainer duties. Cc: Sean Paul Signed-off-by: Rob Clark --- I can include this patch in msm-next for v5.1, but wanted to get it ack'd on list MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, Nicholas wrote: > > On 2/13/19 4:50 AM, Daniel Vetter wrote: > > On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > >> On Mon, Feb 11, 2019 at 6:04 PM Daniel Vetter wrote: > >>> > >>> On Mon, Feb 11, 2019 at 4:01 PM Kazlauskas, Nicholas >

Re: [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 4:04 PM Bartlomiej Zolnierkiewicz via dri-devel wrote: > > > On 02/12/2019 09:42 AM, Lee Jones wrote: > > On Fri, 08 Feb 2019, Bartlomiej Zolnierkiewicz wrote: > > > >> > >> On 01/17/2019 05:19 PM, Daniel Thompson wrote: > >>> On Thu, Jan 17, 2019 at 04:33:35PM +0300, Alexa

[Bug 109526] [CARRIZO] amdgpu fails to resume from S3, atombios stuck executing C554 (len 629, WS 0, PS 0)

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109526 --- Comment #1 from Johannes Hirte --- Still an issue with linux-5.0.0-rc6 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesk

Re: [PATCH 1/3] drm/i915: Move dsc rate params compute into drm

2019-02-13 Thread Wentland, Harry
On 2019-02-13 9:45 a.m., David Francis wrote: > The function intel_compute_rc_parameters is part of the dsc spec > and is not driver-specific. Other drm drivers might like to use > it. The function is not changed; just moved and renamed. > > Signed-off-by: David Francis Reviewed-by: Harry Wentl

Re: [PATCH 2/3] drm/dsc: Add native 420 and 422 support to compute_rc_params

2019-02-13 Thread Wentland, Harry
On 2019-02-13 9:45 a.m., David Francis wrote: > Native 420 and 422 transfer modes are new in DSC1.2 > > In these modes, each two pixels of a slice are treated as one > pixel, so the slice width is half as large (round down) for > the purposes of calucating the groups per line and chunk size > in b

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 10:10:44AM -0500, Rob Clark via dri-devel wrote: > We've moved the tree to a shared gitlab tree, so that Sean can help out > with maintainer duties. > > Cc: Sean Paul > Signed-off-by: Rob Clark > --- > I can include this patch in msm-next for v5.1, but wanted to get it >

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Sean Paul
On Wed, Feb 13, 2019 at 10:10:44AM -0500, Rob Clark via dri-devel wrote: > We've moved the tree to a shared gitlab tree, so that Sean can help out > with maintainer duties. > > Cc: Sean Paul Acked-by: Sean Paul > Signed-off-by: Rob Clark > --- > I can include this patch in msm-next for v5.1,

Re: [PATCH v2] drm: Merge __drm_atomic_helper_disable_all() into drm_atomic_helper_disable_all()

2019-02-13 Thread Ville Syrjälä via dri-devel
On Tue, Feb 12, 2019 at 12:32:41PM -0500, Sean Paul wrote: > From: Sean Paul > > The only difference between the functions is the clean_old_fbs argument, whose > use was removed in the patch referenced below. So remove the internal > copy and drop the guts back into drm_atomic_helper_disable_all(

Re: [PATCH 3/3] drm/dsc: Change infoframe_pack to payload_pack

2019-02-13 Thread Wentland, Harry
On 2019-02-13 9:45 a.m., David Francis wrote: > The function drm_dsc_pps_infoframe_pack only > packed the payload portion of the infoframe. > Change the input struct to the PPS payload > to clarify the function's purpose and allow > for drivers with their own handling of sdp. > (e.g. drivers with t

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Kazlauskas, Nicholas
On 2/13/19 10:14 AM, Daniel Vetter wrote: > On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, Nicholas > wrote: >> >> On 2/13/19 4:50 AM, Daniel Vetter wrote: >>> On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: On Mon, Feb 11, 2019 at 6:04 PM Daniel Vetter wrote: > > On Mon,

Re: [PATCH v3 5/7] drm/sun4i: Rely on dma interconnect for our RAM offset

2019-02-13 Thread Maxime Ripard
Hi Robin, Thanks for your feedback! On Tue, Feb 12, 2019 at 06:46:40PM +, Robin Murphy wrote: > On 11/02/2019 15:02, Maxime Ripard wrote: > > Now that we can express our DMA topology, rely on those property instead of > > hardcoding an offset from the dma_addr_t which wasn't really great. > >

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Rob Clark via dri-devel
On Wed, Feb 13, 2019 at 10:28 AM Daniel Vetter wrote: > > On Wed, Feb 13, 2019 at 10:10:44AM -0500, Rob Clark via dri-devel wrote: > > We've moved the tree to a shared gitlab tree, so that Sean can help out > > with maintainer duties. > > > > Cc: Sean Paul > > Signed-off-by: Rob Clark > > --- >

Re: [PATCH v5 0/3] Support 64 bpp half float formats

2019-02-13 Thread Ville Syrjälä via dri-devel
On Fri, Feb 08, 2019 at 01:49:40PM -0800, Kevin Strasser wrote: > This series defines new formats and adds implementation to the i915 driver. > Since posting v1 I have removed the pixel normalize property, as it's not > needed > for basic functionality. Also, I have been working on adding support

Re: [PATCH v5 0/3] Support 64 bpp half float formats

2019-02-13 Thread Maarten Lankhorst via dri-devel
Op 13-02-2019 om 16:53 schreef Ville Syrjälä: > On Fri, Feb 08, 2019 at 01:49:40PM -0800, Kevin Strasser wrote: >> This series defines new formats and adds implementation to the i915 driver. >> Since posting v1 I have removed the pixel normalize property, as it's not >> needed >> for basic functio

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 4:46 PM Kazlauskas, Nicholas wrote: > > On 2/13/19 10:14 AM, Daniel Vetter wrote: > > On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, Nicholas > > wrote: > >> > >> On 2/13/19 4:50 AM, Daniel Vetter wrote: > >>> On Tue, Feb 12, 2019 at 10:32:31PM +0100, Mario Kleiner wrote: > >

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 4:43 PM Rob Clark via dri-devel wrote: > > On Wed, Feb 13, 2019 at 10:28 AM Daniel Vetter wrote: > > > > On Wed, Feb 13, 2019 at 10:10:44AM -0500, Rob Clark via dri-devel wrote: > > > We've moved the tree to a shared gitlab tree, so that Sean can help out > > > with mainta

[GIT PULL] drm/imx: pending update handling, plane zpos property

2019-02-13 Thread Philipp Zabel
Hi Dave, Daniel, please consider merging these imx-drm updates for v5.1. The branch sits on top of yesterday's drm/imx fixes and adds support for pending update handling, plane zpos property, builds under COMPILE_TEST on all platforms. regards Philipp The following changes since commit eb0200a4

Re: [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol

2019-02-13 Thread Bartlomiej Zolnierkiewicz via dri-devel
On 02/13/2019 04:19 PM, Daniel Vetter wrote: > On Wed, Feb 13, 2019 at 4:04 PM Bartlomiej Zolnierkiewicz via > dri-devel wrote: >> >> >> On 02/12/2019 09:42 AM, Lee Jones wrote: >>> On Fri, 08 Feb 2019, Bartlomiej Zolnierkiewicz wrote: >>> On 01/17/2019 05:19 PM, Daniel Thompson wrote:

Re: [PATCH] MAINTAINERS: update entry for drm/msm

2019-02-13 Thread Sean Paul
On Wed, Feb 13, 2019 at 05:04:59PM +0100, Daniel Vetter wrote: > On Wed, Feb 13, 2019 at 4:43 PM Rob Clark via dri-devel > wrote: > > > > On Wed, Feb 13, 2019 at 10:28 AM Daniel Vetter wrote: > > > > > > On Wed, Feb 13, 2019 at 10:10:44AM -0500, Rob Clark via dri-devel wrote: > > > > We've moved

Re: [PATCH v2] drm: Merge __drm_atomic_helper_disable_all() into drm_atomic_helper_disable_all()

2019-02-13 Thread Sean Paul
On Wed, Feb 13, 2019 at 05:35:05PM +0200, Ville Syrjälä wrote: > On Tue, Feb 12, 2019 at 12:32:41PM -0500, Sean Paul wrote: > > From: Sean Paul > > > > The only difference between the functions is the clean_old_fbs argument, > > whose > > use was removed in the patch referenced below. So remove

Re: [PATCH v3 5/7] drm/sun4i: Rely on dma interconnect for our RAM offset

2019-02-13 Thread Robin Murphy
On 13/02/2019 15:41, Maxime Ripard wrote: Hi Robin, Thanks for your feedback! On Tue, Feb 12, 2019 at 06:46:40PM +, Robin Murphy wrote: On 11/02/2019 15:02, Maxime Ripard wrote: Now that we can express our DMA topology, rely on those property instead of hardcoding an offset from the dma_a

Re: [PATCH] drm: imx: Use of_node_name_eq for node name comparisons

2019-02-13 Thread Rob Herring via dri-devel
On Wed, Dec 5, 2018 at 1:50 PM Rob Herring wrote: > > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > For instances using of_node_cmp, this has the side effect of now using > case sensitive comparisons. This

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Mario Kleiner via dri-devel
On Wed, Feb 13, 2019 at 5:03 PM Daniel Vetter wrote: > > On Wed, Feb 13, 2019 at 4:46 PM Kazlauskas, Nicholas > wrote: > > > > On 2/13/19 10:14 AM, Daniel Vetter wrote: > > > On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, Nicholas > > > wrote: > > >> > > >> On 2/13/19 4:50 AM, Daniel Vetter wrote:

Re: [PATCH] staging: android: ion: Use low_order_gfp_flags for smaller allocations

2019-02-13 Thread Laura Abbott via dri-devel
On 2/11/19 11:09 PM, Jing Xia wrote: gfp_flags is always set high_order_gfp_flags even if allocations of order 0 are made.But for smaller allocations, the system should be able to reclaim some memory. Signed-off-by: Jing Xia Reviewed-by: Yuming Han Reviewed-by: Zhaoyang Huang Reviewed-by: Ors

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Kazlauskas, Nicholas
On 2/13/19 1:10 PM, Mario Kleiner wrote: > On Wed, Feb 13, 2019 at 5:03 PM Daniel Vetter wrote: >> >> On Wed, Feb 13, 2019 at 4:46 PM Kazlauskas, Nicholas >> wrote: >>> >>> On 2/13/19 10:14 AM, Daniel Vetter wrote: On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, Nicholas wrote: > >

Re: [PATCH 1/3] drm/i915: Move dsc rate params compute into drm

2019-02-13 Thread Manasi Navare via dri-devel
On Wed, Feb 13, 2019 at 09:45:34AM -0500, David Francis wrote: > The function intel_compute_rc_parameters is part of the dsc spec > and is not driver-specific. Other drm drivers might like to use > it. The function is not changed; just moved and renamed. > Yes this sounds fair since its DSC spec

Re: [PATCH 2/2] staging/vboxvideo: Add TODO

2019-02-13 Thread Sam Ravnborg
Hi Hans > > > >>Which bring me back to a question asked a week ago or so. > >>What is missing before we can move vboxvideo out of staging/ > > > >I think it boils down to someone needs to submit it and we'll take a look. > > Right, I have this on my TODO, but I did not manage to find time for this

Re: [PATCH 2/3] drm/dsc: Add native 420 and 422 support to compute_rc_params

2019-02-13 Thread Manasi Navare via dri-devel
On Wed, Feb 13, 2019 at 09:45:35AM -0500, David Francis wrote: > Native 420 and 422 transfer modes are new in DSC1.2 > > In these modes, each two pixels of a slice are treated as one > pixel, so the slice width is half as large (round down) for > the purposes of calucating the groups per line and

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #10 from Henri Valta --- Looking to start the bisect run now. It took a bit of time to reproduce the crash with plain git build. It seems that the crash only happens when mesa is built with CFLAGS="-O2" If I omit the O2, then the g

[pull] amdgpu, sched drm-fixes-5.0

2019-02-13 Thread Alex Deucher via dri-devel
Hi Dave, Daniel, A few small fixes for 5.0. amdgpu: - Vega20 psp fix - Add vrr range to debugfs for freesync debugging sched: - Scheduler race fix The following changes since commit 78eb1ca47589f0cd9db2ceb28b60434e8d512131: Merge branch 'vmwgfx-fixes-5.0-2' of git://people.freedesktop.org/~

[Bug 109048] [amdgpu] [apitrace] Penumbra Overture crash in radeonsi_dri.so on RX580

2019-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109048 --- Comment #11 from Henri Valta --- The bisection did not help much. The earliest commits I could test were somewhere between 18.1.9 and 18.2.0-rc1 and they also had the same issue. Earlier commits had problems with LLVM compiling shaders and

Re: [PATCH] drm/amd/display: Fix reference counting for struct dc_sink.

2019-02-13 Thread Alex Deucher via dri-devel
Add amd-gfx and some DC people. Alex On Sun, Feb 10, 2019 at 5:13 AM wrote: > > From: Mathias Fröhlich > > Reference counting in amdgpu_dm_connector for amdgpu_dm_connector::dc_sink > and amdgpu_dm_connector::dc_em_sink as well as in dc_link::local_sink seems > to be out of shape. Thus make ref

Re: [PATCH 2/3] drm: Add basic helper to allow precise pageflip timestamps in vrr.

2019-02-13 Thread Daniel Vetter
On Wed, Feb 13, 2019 at 07:10:00PM +0100, Mario Kleiner wrote: > On Wed, Feb 13, 2019 at 5:03 PM Daniel Vetter wrote: > > > > On Wed, Feb 13, 2019 at 4:46 PM Kazlauskas, Nicholas > > wrote: > > > > > > On 2/13/19 10:14 AM, Daniel Vetter wrote: > > > > On Wed, Feb 13, 2019 at 3:33 PM Kazlauskas, N

Re: [PATCH v2 1/4] drm/sched: Fix entities with 0 rqs.

2019-02-13 Thread Alex Deucher via dri-devel
On Wed, Jan 30, 2019 at 5:43 AM Christian König wrote: > > Am 30.01.19 um 02:53 schrieb Bas Nieuwenhuizen: > > Some blocks in amdgpu can have 0 rqs. > > > > Job creation already fails with -ENOENT when entity->rq is NULL, > > so jobs cannot be pushed. Without a rq there is no scheduler to > > pop

Re: [PATCH 3/3] drm/dsc: Change infoframe_pack to payload_pack

2019-02-13 Thread Manasi Navare via dri-devel
On Wed, Feb 13, 2019 at 09:45:36AM -0500, David Francis wrote: > The function drm_dsc_pps_infoframe_pack only > packed the payload portion of the infoframe. > Change the input struct to the PPS payload > to clarify the function's purpose and allow > for drivers with their own handling of sdp. > (e.

Re: [PATCH v2] drm: Block fb changes for async plane updates

2019-02-13 Thread Helen Koike via dri-devel
On 2/13/19 5:18 PM, Nicholas Kazlauskas wrote: > The prepare_fb call always happens on new_plane_state. > > The drm_atomic_helper_cleanup_planes checks to see if > plane state pointer has changed when deciding to call cleanup_fb on > either the new_plane_state or the old_plane_state. > > For a

Re: [RFC v3 14/19] Documentation: kunit: add documentation for KUnit

2019-02-13 Thread Kieran Bingham
Hi Brendan, On 12/02/2019 22:10, Brendan Higgins wrote: > On Mon, Feb 11, 2019 at 4:16 AM Kieran Bingham > wrote: >> >> Hi Brendan, >> >> On 09/02/2019 00:56, Brendan Higgins wrote: >>> On Thu, Dec 6, 2018 at 4:16 AM Kieran Bingham >>> wrote: Hi Brendan, On 03/12/2018 23:53,

Re: [PATCH 2/2] staging/vboxvideo: Add TODO

2019-02-13 Thread Hans de Goede via dri-devel
Hi, On 13-02-19 19:46, Sam Ravnborg wrote: Hi Hans Which bring me back to a question asked a week ago or so. What is missing before we can move vboxvideo out of staging/ I think it boils down to someone needs to submit it and we'll take a look. Right, I have this on my TODO, but I did not

[PATCH V2 2/7] mm/gup: Change write parameter to flags in fast walk

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny In order to support more options in the GUP fast walk, change the write parameter to flags throughout the call stack. This patch does not change functionality and passes FOLL_WRITE where write was previously used. Signed-off-by: Ira Weiny --- mm/gup.c | 52

[PATCH V2 3/7] mm/gup: Change GUP fast to use flags rather than a write 'bool'

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny To facilitate additional options to get_user_pages_fast() change the singular write parameter to be gup_flags. This patch does not change any functionality. New functionality will follow in subsequent patches. Some of the get_user_pages_fast() call sites were unchanged because

[PATCH V2 1/7] mm/gup: Replace get_user_pages_longterm() with FOLL_LONGTERM

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny Rather than have a separate get_user_pages_longterm() call, introduce FOLL_LONGTERM and change the longterm callers to use it. This patch does not change any functionality. FOLL_LONGTERM can only be supported with get_user_pages() as it requires vmas to determine if DAX is in us

[PATCH V2 4/7] mm/gup: Add FOLL_LONGTERM capability to GUP fast

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny DAX pages were previously unprotected from longterm pins when users called get_user_pages_fast(). Use the new FOLL_LONGTERM flag to check for DEVMAP pages and fall back to regular GUP processing if a DEVMAP page is encountered. Signed-off-by: Ira Weiny --- mm/gup.c | 24 ++

[PATCH V2 5/7] IB/hfi1: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/hfi1/user_pages.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/hfi1/user_pages.

[PATCH V2 7/7] IB/mthca: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/mthca/mthca_memfree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mthca/mthca_memf

[PATCH V2 6/7] IB/qib: Use the new FOLL_LONGTERM flag to get_user_pages_fast()

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny Use the new FOLL_LONGTERM to get_user_pages_fast() to protect against FS DAX pages being mapped. Signed-off-by: Ira Weiny --- drivers/infiniband/hw/qib/qib_user_sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qib/qib_user_sdma.c

[PATCH V2 0/7] Add FOLL_LONGTERM to GUP fast and use it

2019-02-13 Thread ira.weiny--- via dri-devel
From: Ira Weiny NOTE: This series depends on my clean up patch to remove the write parameter from gup_fast_permitted()[1] HFI1, qib, and mthca, use get_user_pages_fast() due to it performance advantages. These pages can be held for a significant time. But get_user_pages_fast() does not protect

Re: [PATCH v2] drm: Block fb changes for async plane updates

2019-02-13 Thread Helen Koike via dri-devel
On 2/13/19 7:21 PM, Helen Koike wrote: > > > On 2/13/19 5:18 PM, Nicholas Kazlauskas wrote: >> The prepare_fb call always happens on new_plane_state. >> >> The drm_atomic_helper_cleanup_planes checks to see if >> plane state pointer has changed when deciding to call cleanup_fb on >> either the

Re: [PATCH V2 3/7] mm/gup: Change GUP fast to use flags rather than a write 'bool'

2019-02-13 Thread Ira Weiny via dri-devel
On Wed, Feb 13, 2019 at 04:11:10PM -0700, Jason Gunthorpe wrote: > On Wed, Feb 13, 2019 at 03:04:51PM -0800, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > To facilitate additional options to get_user_pages_fast() change the > > singular write parameter to be gup_flags. > > So now we hav

[PATCH 1/1] staging: android: ion: Add the GPL exception for syscalls

2019-02-13 Thread Hyun Kwon
Add "WITH Linux-syscall-note" to the license to not put GPL restrictions on user space programs using this header. Signed-off-by: Hyun Kwon --- drivers/staging/android/uapi/ion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/uapi/ion.h b/drivers/sta

[PATCH 0/1] staging: android: ion: add the GPL exception note to header

2019-02-13 Thread Hyun Kwon
Hi, I wonder if the exception, "WITH Linux-syscall-note", can be added to the ion header license, to allow user source code with different license to include it without being derivative of GPL. More specifically, we want to use this ion header in a BSD license module [1], without enforcing the GP

  1   2   >