Re: [PATCH] drm/doc: Make igts for cross-driver stuff strongly suggested

2019-01-28 Thread Jani Nikula
On Mon, 28 Jan 2019, Daniel Vetter wrote: > Compared to the RFC[1] no changes to the patch itself, but igt moved > forward a lot: This is no longer compatible with the v2 changelog below. ;) I'm biased so this doesn't carry so much value, but here goes anyway, Acked-by: Jani Nikula > > - gitl

[Bug 202445] New: amdgpu/dc: framerate dropping below adaptive sync range causes screen flickering

2019-01-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=202445 Bug ID: 202445 Summary: amdgpu/dc: framerate dropping below adaptive sync range causes screen flickering Product: Drivers Version: 2.5 Kernel Version: 5.0rc4 Hardware:

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #8 from e88z4 --- Hi, This bug still occurs with kernel 5.0-rc4 with Mesa 19.0-devel (commit 932ed9c00b99e6ec92146ec9e820f546cf3e6551). There are more error logs in dmesg like below. [ 1132.040752] amdgpu :23:00.0: GPU fault d

libdrm README rename

2019-01-28 Thread Dave Airlie
So libdrm README renamed to README.rst, however that means it no longer gets included in the dist tarball. I think autotools considers README special, so we might need to fix it, Dave. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://l

Re: [PATCH v4 RESEND] drm/panel: add Kingdisplay kd097d04 panel driver

2019-01-28 Thread Ezequiel Garcia
On Mon, 28 Jan 2019 at 12:59, Thierry Reding wrote: > > On Thu, Jan 24, 2019 at 12:51:36PM -0500, Sean Paul wrote: > > On Thu, Jan 24, 2019 at 05:18:12PM +0100, Thierry Reding wrote: > > > On Thu, Jan 24, 2019 at 12:01:55PM -0300, Ezequiel Garcia wrote: > > > > On Tue, 2018-10-30 at 10:15 +0100, H

Re: [PATCH] drm/amd/powerplay: Fix missing break in switch

2019-01-28 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: cd70f3d6e3fa drm/amd/powerplay: PP/DAL interface changes for dynamic clock switch. The bot has tested the following trees: v4.20.5, v4.19.18, v4.14.96. v4.20.5: Build OK! v4.19.18

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2019-01-28 Thread Eric Anholt
Noralf Trønnes writes: > Den 28.01.2019 21.57, skrev Rob Herring: >> On Sun, Dec 2, 2018 at 9:59 AM Noralf Trønnes wrote: >>> >>> >>> Den 30.11.2018 00.58, skrev Eric Anholt: Daniel Vetter writes: > On Wed, Nov 28, 2018 at 01:52:56PM -0800, Eric Anholt wrote: >> Daniel Vetter

Re: [PATCH v5 0/8] drm/msm/dsi: Get PHY ref clocks from the DT

2019-01-28 Thread Matthias Kaehlcke
Hi, this series has gone through multiple rounds of review and there are no outstanding comments. It seems it should be ready to land, or is there anything left that needs to be addressed? Thanks Matthias On Wed, Dec 19, 2018 at 03:55:20PM -0800, Matthias Kaehlcke wrote: > The MSM DSI PHY drive

[PATCH v2] drm: add definitions for DP Audio/Video compliance tests

2019-01-28 Thread Chandan Uddaraju
This change adds definitions needed for DP audio compliance testing. It also adds missing definition for DP video compliance. Changes in V2: -- Delete cover letter for this patch. -- Move the description from cover letter into patch commit message. -- Remove DPU from subject prefix Signed-off-by:

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2019-01-28 Thread Rob Herring
On Mon, Jan 28, 2019 at 3:26 PM Noralf Trønnes wrote: > > > > Den 28.01.2019 21.57, skrev Rob Herring: > > On Sun, Dec 2, 2018 at 9:59 AM Noralf Trønnes wrote: > >> > >> > >> Den 30.11.2018 00.58, skrev Eric Anholt: > >>> Daniel Vetter writes: > >>> > On Wed, Nov 28, 2018 at 01:52:56PM -080

[PATCH v2] staging: android: ion: Allocate from heap ID directly without mask

2019-01-28 Thread Andrew F. Davis
Previously the heap to allocate from was selected by a mask of allowed heap types. This may have been done as a primitive form of constraint solving, the first heap type that matched any set bit of the heap mask was allocated from, unless that heap was excluded by having its heap ID bit not set in

[Bug 109487] drm-next-5.1-wip broken as of 672c6238

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109487 --- Comment #3 from asavah --- No, sadly it doesn't help. Additional observations: If amdgpu is built as module the system boots without graphics, but networking and ssh are working, however it's impossible to reboot the system, it just hangs af

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2019-01-28 Thread Noralf Trønnes
Den 28.01.2019 21.57, skrev Rob Herring: > On Sun, Dec 2, 2018 at 9:59 AM Noralf Trønnes wrote: >> >> >> Den 30.11.2018 00.58, skrev Eric Anholt: >>> Daniel Vetter writes: >>> On Wed, Nov 28, 2018 at 01:52:56PM -0800, Eric Anholt wrote: > Daniel Vetter writes: > >> On Tue, Nov

Re: [PATCH 2/4] drm/msm: dpu: Simplify frame_done watchdog timeout calculation

2019-01-28 Thread Abhinav Kumar
On 2019-01-28 12:42, Sean Paul wrote: From: Sean Paul Instead of setting the timeout and then immediately reading it back (along with the hand-rolled msecs_to_jiffies calculation), just calculate it once and set it in both places at the same time. Signed-off-by: Sean Paul Reviewed-by: Abhina

Re: [PATCH 1/4] drm/msm: Use drm_mode_vrefresh instead of mode->vrefresh

2019-01-28 Thread Abhinav Kumar
On 2019-01-28 12:42, Sean Paul wrote: From: Sean Paul Use the drm_mode_vrefresh helper where we need refresh rate in case vrefresh is empty. Signed-off-by: Sean Paul Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 6 +++--- drivers/gpu/drm/msm/disp/dp

[PATCH] drm/nouveau: Don't WARN_ON VCPI allocation failures

2019-01-28 Thread Lyude Paul
This is much louder then we want. VCPI allocation failures are quite normal, since they will happen if any part of the modesetting process is interrupted by removing the DP MST topology in question. So just print a debugging message on VCPI failures instead. Signed-off-by: Lyude Paul Fixes: f479c

Re: [PATCH AUTOSEL 4.19 083/258] drm: Move drm_mode_setcrtc() local re-init to failure path

2019-01-28 Thread Sean Paul
On Mon, Jan 28, 2019 at 10:56:29AM -0500, Sasha Levin wrote: > From: Sean Paul > > [ Upstream commit c232e9f41b136c141df9938024e521191a7b910d ] > > Instead of always re-initializing the variables we need to clean up on > out, move the re-initialization into the branch that goes back to retry > l

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2019-01-28 Thread Rob Herring
On Sun, Dec 2, 2018 at 9:59 AM Noralf Trønnes wrote: > > > Den 30.11.2018 00.58, skrev Eric Anholt: > > Daniel Vetter writes: > > > >> On Wed, Nov 28, 2018 at 01:52:56PM -0800, Eric Anholt wrote: > >>> Daniel Vetter writes: > >>> > On Tue, Nov 27, 2018 at 12:38:44PM -0800, Eric Anholt wrote

[PATCH v2 0/3] drm/i915: MST and wakeref leak fixes

2019-01-28 Thread Lyude Paul
While trying to fix a problem with suspend/resume that I introduced in the atomic VCPI helpers for MST, I also ran into some issues with i915 varying from "not that bad" to "oh wow that's very bad". Here are the fixes for those issues. This series was originally just one patch, "drm/i915: Don't se

[PATCH v2 2/3] drm/i915: Don't send MST hotplugs during resume

2019-01-28 Thread Lyude Paul
We have a bad habit of calling drm_fb_helper_hotplug_event() far more then we actually need to. MST appears to be one of these cases, where we call drm_fb_helper_hotplug_event() if we fail to resume a connected MST topology in intel_dp_mst_resume(). We don't actually need to do this at all though s

[PATCH v2 1/3] drm/i915: Block fbdev HPD processing during suspend

2019-01-28 Thread Lyude Paul
When resuming, we check whether or not any previously connected MST topologies are still present and if so, attempt to resume them. If this fails, we disable said MST topologies and fire off a hotplug event so that userspace knows to reprobe. However, sending a hotplug event involves calling drm_f

[PATCH v2 3/3] drm/i915: Don't send hotplug in intel_dp_check_mst_status()

2019-01-28 Thread Lyude Paul
This hotplug also isn't needed: drm_dp_mst_topology_mgr_set_mst() already sends a hotplug on its own from drm_dp_destroy_connector_work() after destroying connectors in the MST topology. Signed-off-by: Lyude Paul Cc: Imre Deak Cc: Daniel Vetter --- drivers/gpu/drm/i915/intel_dp.c | 6 ++ 1

[PATCH 4/4] drm/msm: dpu: Don't queue the frame_done watchdog for cursor

2019-01-28 Thread Sean Paul
From: Sean Paul In the case of an async/cursor update, we don't wait for the frame_done event, which means handle_frame_done is never called, and the frame_done watchdog isn't canceled. Currently, this results in a frame_done timeout every time the cursor moves without a synchronous frame followi

[PATCH 3/4] drm/msm: dpu: Untangle frame_done timeout units

2019-01-28 Thread Sean Paul
From: Sean Paul There exists a bunch of confusion as to what the actual units of frame_done is: - The definition states it's in # of frames - CRTC treats it like it's ms - frame_done_timeout comment thinks it's Hz, but it stores ms - frame_done timer is setup such that it _should_ be in frames,

[PATCH 2/4] drm/msm: dpu: Simplify frame_done watchdog timeout calculation

2019-01-28 Thread Sean Paul
From: Sean Paul Instead of setting the timeout and then immediately reading it back (along with the hand-rolled msecs_to_jiffies calculation), just calculate it once and set it in both places at the same time. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 12 ++

[PATCH 1/4] drm/msm: Use drm_mode_vrefresh instead of mode->vrefresh

2019-01-28 Thread Sean Paul
From: Sean Paul Use the drm_mode_vrefresh helper where we need refresh rate in case vrefresh is empty. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 6 +++--- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 5 +++-- drivers/gpu/drm/msm/disp/dpu1/dpu

[Bug 109487] drm-next-5.1-wip broken as of 672c6238

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109487 --- Comment #2 from Alex Deucher --- Does reverting this commit help? https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.1-wip&id=12c51ee226c12933d0188b8f04804166a69f6f6e -- You are receiving this mail because: You are the assignee

[Bug 109487] drm-next-5.1-wip broken as of 672c6238

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109487 asavah changed: What|Removed |Added Attachment #143242|0 |1 is obsolete|

[Bug 109487] drm-next-5.1-wip broken as of 672c6238

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109487 Bug ID: 109487 Summary: drm-next-5.1-wip broken as of 672c6238 Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal

[PATCH v6 1/2] dt-bindings: panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-28 Thread Jagan Teki
Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. Add dt-bingings for it. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v6, v5, v4, v3: - none Changes for v2: - new patch, derived from another dsi series .../display/panel/feiyang,fy07024di26a30d.txt | 20 +

[PATCH v6 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-28 Thread Jagan Teki
Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. Add panel driver for it. Reviewed-by: Sam Ravnborg Tested-by: Bhushan Shah Signed-off-by: Jagan Teki --- Changes for v6: - add space b/w msleep and comment line - use multi comment line style - add sentinel - collect Sam Ravnborg

[PULL] drm-intel-next

2019-01-28 Thread Rodrigo Vivi
Hi Dave, This pull includes the tag as described below and the GVT stuff, which " includes Coffeelake support for GVT, making kvmgt as self load module to have better dependence with vfio/mdev, with some const treatment and kernel type change. " Also please notice that we have a drm color managem

[Bug 107978] [amdgpu] Switching to tty fails with DisplayPort 1.2 monitor going to sleep (REG_WAIT timeout / dce110_stream_encoder_dp_blank)

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107978 --- Comment #54 from Shmerl --- (In reply to Jerry Zuo from comment #53) > The fix should show up in the coming release. Great, thanks! -- You are receiving this mail because: You are the assignee for the bug._

[Bug 107978] [amdgpu] Switching to tty fails with DisplayPort 1.2 monitor going to sleep (REG_WAIT timeout / dce110_stream_encoder_dp_blank)

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107978 --- Comment #53 from Jerry Zuo --- The fix should show up in the coming release. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.fr

Re: [PATCH] drm/doc: Make igts for cross-driver stuff strongly suggested

2019-01-28 Thread Liviu Dudau
On Mon, Jan 28, 2019 at 06:22:58PM +0100, Daniel Vetter wrote: > Compared to the RFC[1] no changes to the patch itself, but igt moved > forward a lot: > > - gitlab CI builds with: reduced configs/libraries, arm cross build > and a sysroot build (should address all the build/cross platform > co

[PATCH] drm/doc: Make igts for cross-driver stuff strongly suggested

2019-01-28 Thread Daniel Vetter
Compared to the RFC[1] no changes to the patch itself, but igt moved forward a lot: - gitlab CI builds with: reduced configs/libraries, arm cross build and a sysroot build (should address all the build/cross platform concerns raised in the RFC discussions). - tests reorganized into subdirecto

Re: [PATCH] drm/doc: Make igts for cross-driver stuff mandatory

2019-01-28 Thread Daniel Vetter
Hi Liviu, On Mon, Jan 28, 2019 at 3:03 PM Liviu Dudau wrote: > > On Tue, Jan 22, 2019 at 05:28:19PM +0100, Daniel Vetter wrote: > > On Tue, Jan 22, 2019 at 5:11 PM Sean Paul wrote: > > > On Tue, Jan 22, 2019 at 04:17:25PM +0100, Daniel Vetter wrote: > > > > On Tue, Jan 22, 2019 at 4:08 PM Brian

Re: [PATCH v2] drm/meson: Fix atomic mode switching regression

2019-01-28 Thread Greg KH
On Mon, Jan 28, 2019 at 05:21:12PM +0100, Neil Armstrong wrote: > Hi Stable kernel team, > > On 14/01/2019 16:31, Neil Armstrong wrote: > > Since commit 2bcd3ecab773 when switching mode from X11 (ubuntu mate for > > example) the display gets blurry, looking like an invalid framebuffer width. > >

[PATCH v2] drm/msm/dpu: remove struct encoder_kickoff_params

2019-01-28 Thread Sean Paul
From: Bruce Wang The contents of struct encoder_kickoff_params are never used. Remove the structure and all remnants of it from function calls. Changes in v2 (seanpaul): - Actually remove the struct (Jeykumar) Cc: Jeykumar Sankaran Signed-off-by: Bruce Wang Signed-off-by: Sean Paul --- Send

[Bug 107978] [amdgpu] Switching to tty fails with DisplayPort 1.2 monitor going to sleep (REG_WAIT timeout / dce110_stream_encoder_dp_blank)

2019-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107978 --- Comment #52 from Shmerl --- (In reply to Jerry Zuo from comment #51) > Good to hear that the patch fixes your issue. The official patch will be > merged to the next kernel release. Thank you so much for your dedicated > testing and prompt fe

[PATCH AUTOSEL 3.18 45/61] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 3.18 43/61] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

[PATCH AUTOSEL 3.18 42/61] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.4 58/80] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

[PATCH AUTOSEL 4.4 57/80] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.4 60/80] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 4.4 01/80] drm/bufs: Fix Spectre v1 vulnerability

2019-01-28 Thread Sasha Levin
From: "Gustavo A. R. Silva" [ Upstream commit a37805098900a6e73a55b3a43b7d3bcd987bb3f4 ] idx can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_bufs.c

[PATCH AUTOSEL 4.9 079/107] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 4.9 075/107] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.9 076/107] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

Re: [PATCH v9 2/2] drm/panel: Add Sitronix ST7701 panel driver

2019-01-28 Thread Thierry Reding
On Fri, Jan 25, 2019 at 03:21:31AM +0530, Jagan Teki wrote: [...] > +static const struct of_device_id st7701_of_match[] = { > + { .compatible = "techstar,ts8550b", .data = &ts8550b_desc }, checkpatch flags techstar as being an undocumented vendor prefix. Can you please send a patch that adds i

Re: [PATCH v2] drm/meson: Fix atomic mode switching regression

2019-01-28 Thread Neil Armstrong
Hi Stable kernel team, On 14/01/2019 16:31, Neil Armstrong wrote: > Since commit 2bcd3ecab773 when switching mode from X11 (ubuntu mate for > example) the display gets blurry, looking like an invalid framebuffer width. > > This commit fixed atomic crtc modesetting in a totally wrong way and > int

[PATCH AUTOSEL 4.9 012/107] drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE

2019-01-28 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 0560054da5673b25d56bea6c57c8d069673af73b ] For the YUV conversion to work properly, ->x_scaling[1] should never be set to VC4_SCALING_NONE, but vc4_get_scaling_mode() might return VC4_SCALING_NONE if the horizontal scaling ratio exactly matches the horizon

Re: [PATCH] drm/amd/powerplay: Fix missing break in switch

2019-01-28 Thread Alex Deucher
On Fri, Jan 25, 2019 at 5:31 PM Gustavo A. R. Silva wrote: > > Add missing break statement in order to prevent the code from falling > through to the default case. > > The resoning for this is that pclk_vol_table is an automatic variable. > So, it makes no sense to update it just before falling th

[PATCH AUTOSEL 4.9 001/107] drm/bufs: Fix Spectre v1 vulnerability

2019-01-28 Thread Sasha Levin
From: "Gustavo A. R. Silva" [ Upstream commit a37805098900a6e73a55b3a43b7d3bcd987bb3f4 ] idx can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_bufs.c

[PATCH AUTOSEL 4.9 004/107] gpu: ipu-v3: image-convert: Prevent race between run and unprepare

2019-01-28 Thread Sasha Levin
From: Steve Longerbeam [ Upstream commit 819bec35c8c9706185498c9222bd244e0781ad35 ] Prevent possible race by parallel threads between ipu_image_convert_run() and ipu_image_convert_unprepare(). This involves setting ctx->aborting to true unconditionally so that no new job runs can be queued durin

Re: [PATCH v2 3/3] drm/panel: simple: add support for PDA 91-00156-A0 panel

2019-01-28 Thread Thierry Reding
On Mon, Jan 14, 2019 at 09:43:31AM +, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel. > This panel with backlight is found in PDA 5" LCD screen (TM5000 series or > AC320005-5). > > Signed-off-by: Eugen Hristev > --- > drivers/g

Re: [PATCH v2 2/3] dt-bindings: drm/panel: simple: add support for PDA 91-00156-A0

2019-01-28 Thread Thierry Reding
On Mon, Jan 14, 2019 at 09:43:28AM +, eugen.hris...@microchip.com wrote: > From: Cristian Birsan > > PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel. > This panel with backlight is found in PDA 5" LCD screen (TM5000 series or > AC320005-5). > Adding Device Tree bindings for this panel. > >

Re: [PATCH v2 1/3] dt-bindings: add vendor prefix for PDA Precision Design Associates, Inc.

2019-01-28 Thread Thierry Reding
On Mon, Jan 14, 2019 at 09:43:26AM +, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > Precision Design Associates, Inc. (PDA) manufactures standard and custom > capacitive touch screens, LCD's embedded controllers and custom embedded > software. They specialize in industrial, rug

[PATCH AUTOSEL 4.14 129/170] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

[PATCH AUTOSEL 4.14 133/170] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 4.14 127/170] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.14 054/170] drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()

2019-01-28 Thread Sasha Levin
From: Sean Paul [ Upstream commit aa394b0dd68cb00c483e151dcd84713d4d517ed1 ] drm_atomic_helper_commit_duplicated_state() sets state->acquire_ctx to the context given in the argument and leaves it in state after it quits. The lifetime of state and context are not guaranteed to be the same, so we

[PATCH AUTOSEL 4.14 030/170] drm/rockchip: fix for mailbox read size

2019-01-28 Thread Sasha Levin
From: Damian Kos [ Upstream commit fa68d4f8476bea4cdf441062b614b41bb85ef1da ] Some of the functions (like cdn_dp_dpcd_read, cdn_dp_get_edid_block) allow to read 64KiB, but the cdn_dp_mailbox_read_receive, that is used by them, can read only up to 255 bytes at once. Normally, it's not a big issue

[PATCH AUTOSEL 4.14 019/170] drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE

2019-01-28 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 0560054da5673b25d56bea6c57c8d069673af73b ] For the YUV conversion to work properly, ->x_scaling[1] should never be set to VC4_SCALING_NONE, but vc4_get_scaling_mode() might return VC4_SCALING_NONE if the horizontal scaling ratio exactly matches the horizon

[PATCH AUTOSEL 4.14 003/170] drm/vgem: Fix vgem_init to get drm device available.

2019-01-28 Thread Sasha Levin
From: Deepak Sharma [ Upstream commit d5c04dff24870ef07ce6453a3f4e1ffd9cf88d27 ] Modify vgem_init to take platform dev as parent in drm_dev_init. This will make drm device available at "/sys/devices/platform/vgem" in x86 chromebook. v2: rebase, address checkpatch typo and line over 80 character

[PATCH AUTOSEL 4.14 006/170] gpu: ipu-v3: image-convert: Prevent race between run and unprepare

2019-01-28 Thread Sasha Levin
From: Steve Longerbeam [ Upstream commit 819bec35c8c9706185498c9222bd244e0781ad35 ] Prevent possible race by parallel threads between ipu_image_convert_run() and ipu_image_convert_unprepare(). This involves setting ctx->aborting to true unconditionally so that no new job runs can be queued durin

[PATCH AUTOSEL 4.14 001/170] drm/bufs: Fix Spectre v1 vulnerability

2019-01-28 Thread Sasha Levin
From: "Gustavo A. R. Silva" [ Upstream commit a37805098900a6e73a55b3a43b7d3bcd987bb3f4 ] idx can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_bufs.c

[PATCH AUTOSEL 4.19 211/258] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 4.19 206/258] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

[PATCH AUTOSEL 4.19 204/258] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.19 203/258] drm/amd/display: validate extended dongle caps

2019-01-28 Thread Sasha Levin
From: Wenjing Liu [ Upstream commit 99b922f9ed6a6313c0d2247cde8aa1e4a0bd67e4 ] [why] Some dongle doesn't have a valid extended dongle caps, but we still set the extended dongle caps to be valid. This causes validation fails for all timing. [how] If no dp_hdmi_max_pixel_clk is provided, don't us

[PATCH AUTOSEL 4.19 185/258] drm/amd/display: fix YCbCr420 blank color

2019-01-28 Thread Sasha Levin
From: Eric Yang [ Upstream commit 12750d1647f118496f1da727146f255f5e44d500 ] [Why] YCbCr420 packing format uses two chanels for luma, and 1 channel for both chroma component. Our previous implementation did not account for this and results in every other pixel having very high luma value, showin

[PATCH AUTOSEL 4.19 183/258] drm/amd/display: Add retry to read ddc_clock pin

2019-01-28 Thread Sasha Levin
From: Paul Hsieh [ Upstream commit bd4905a9583c760da31ded7256dca6f71483c3dc ] [WHY] On customer board, there is one pluse (1v , < 1ms) on DDC_CLK pin when plug / unplug DP cable. Driver will read it and config DP to HDMI/DVI dongle. [HOW] If there is a real dongle, DDC_CLK should be always pull

[PATCH AUTOSEL 4.19 138/258] drm/msm: dpu: Only check flush register against pending flushes

2019-01-28 Thread Sasha Levin
From: Sean Paul [ Upstream commit 5f79e03b1f7c1b2cf0019ce6365fe5d52629813d ] There exists a case where a flush of a plane/dma may have been triggered & started from an async commit. If that plane/dma is subsequently disabled by the next commit, the flush register will continue to hold the flush

[PATCH AUTOSEL 4.19 137/258] drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver

2019-01-28 Thread Sasha Levin
From: Abhinav Kumar [ Upstream commit c1866d44d149a1ea5c303632114fb6aa08cfd263 ] Fix the dsi clock names in the DSI 10nm PLL driver to match the names in the dispcc driver as those are according to the clock plan of the chipset. Changes in v2: - Update the clock diagram with the new clock name

[PATCH AUTOSEL 4.19 109/258] drm/amdgpu/powerplay: fix clock stretcher limits on polaris (v2)

2019-01-28 Thread Sasha Levin
From: Alex Deucher [ Upstream commit de4aaab5cc9770a8c4dc13d9bfb6a83b06bba57e ] Adjust limits for newer polaris variants. v2: fix polaris11 kicker (Jerry) Reviewed-by: Junwei Zhang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- .../drm/amd/powerplay/smumgr/polaris10_smumgr.c |

[PATCH AUTOSEL 4.19 092/258] drm/v3d: Fix prime imports of buffers from other drivers.

2019-01-28 Thread Sasha Levin
From: Eric Anholt [ Upstream commit 62d1a752874962f072de8a779e960fcd2ab4847b ] v3d_bo_get_pages() checks this to decide to map the imported buffer instead of the backing shmem file. The caller was about to set this value anyway, and there's no error path in between. Ideally we wouldn't even al

[PATCH AUTOSEL 4.19 082/258] drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()

2019-01-28 Thread Sasha Levin
From: Sean Paul [ Upstream commit aa394b0dd68cb00c483e151dcd84713d4d517ed1 ] drm_atomic_helper_commit_duplicated_state() sets state->acquire_ctx to the context given in the argument and leaves it in state after it quits. The lifetime of state and context are not guaranteed to be the same, so we

[PATCH AUTOSEL 4.19 083/258] drm: Move drm_mode_setcrtc() local re-init to failure path

2019-01-28 Thread Sasha Levin
From: Sean Paul [ Upstream commit c232e9f41b136c141df9938024e521191a7b910d ] Instead of always re-initializing the variables we need to clean up on out, move the re-initialization into the branch that goes back to retry label. This is a lateral move right now, but will allow us to pull out the

[PATCH AUTOSEL 4.19 049/258] drm/amd/display: calculate stream->phy_pix_clk before clock mapping

2019-01-28 Thread Sasha Levin
From: Yogesh Mohan Marimuthu [ Upstream commit 08e1c28dd521c7b08d1b0af0bae9fb22ccc012a4 ] [why] phy_pix_clk is one of the variable used to check if one PLL can be shared with displays having common mode set configuration. As of now phy_pix_clock varialbe is calculated in function dc_validate_str

[PATCH AUTOSEL 4.19 048/258] drm/amd/display: fix gamma not being applied correctly

2019-01-28 Thread Sasha Levin
From: Murton Liu [ Upstream commit 8ce504b9389be846bcdf512ed5be8f661b3bf097 ] [why] Gamma was always being set as identity on SDR monitor, leading to no changes in gamma. This caused nightlight to not apply correctly. [how] Added a default gamma structure to compare against in the sdr case. Si

[PATCH AUTOSEL 4.19 046/258] drm/rockchip: fix for mailbox read size

2019-01-28 Thread Sasha Levin
From: Damian Kos [ Upstream commit fa68d4f8476bea4cdf441062b614b41bb85ef1da ] Some of the functions (like cdn_dp_dpcd_read, cdn_dp_get_edid_block) allow to read 64KiB, but the cdn_dp_mailbox_read_receive, that is used by them, can read only up to 255 bytes at once. Normally, it's not a big issue

Re: [PATCH v3 6/8] drm/panel: simple: Add support for the LeMaker BL035-RGB-002 3.5" LCD

2019-01-28 Thread Thierry Reding
On Wed, Nov 07, 2018 at 07:18:41PM +0100, Paul Kocialkowski wrote: > This adds support for the 3.5" LCD panel from LeMaker, sold for use with > BananaPi boards. It comes with a 24-bit RGB888 parallel interface and > requires an active-low DE signal > > Signed-off-by: Paul Kocialkowski > --- > dr

Re: [PATCH v3 5/8] dt-bindings: Add bindings for the LeMaker BL035-RGB-002 LCD panel

2019-01-28 Thread Thierry Reding
On Wed, Nov 07, 2018 at 07:18:40PM +0100, Paul Kocialkowski wrote: > This adds the device-tree bindings for the LeMaker BL035-RGB-002 3.5" > QVGA TFT LCD panel, compatible with simple-panel. > > Signed-off-by: Paul Kocialkowski > --- > .../bindings/display/panel/lemaker,bl035-rgb-002.txt | 12 ++

[PATCH AUTOSEL 4.19 027/258] drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE

2019-01-28 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 0560054da5673b25d56bea6c57c8d069673af73b ] For the YUV conversion to work properly, ->x_scaling[1] should never be set to VC4_SCALING_NONE, but vc4_get_scaling_mode() might return VC4_SCALING_NONE if the horizontal scaling ratio exactly matches the horizon

Re: [PATCH v3 4/8] dt-bindings: Add vendor prefix for LeMaker

2019-01-28 Thread Thierry Reding
On Wed, Nov 07, 2018 at 07:18:39PM +0100, Paul Kocialkowski wrote: > This introduces a new device-tree binding vendor prefix for Shenzhen > LeMaker Technology Co., Ltd. > > This vendor was already in use but it was not documented until now. > > Signed-off-by: Paul Kocialkowski > Reviewed-by: Rob

[PATCH AUTOSEL 4.19 007/258] drm/sun4i: Initialize registers in tcon-top driver

2019-01-28 Thread Sasha Levin
From: Jernej Skrabec [ Upstream commit c96d62215fb540e2ae61de44cb7caf4db50958e3 ] It turns out that TCON TOP registers in H6 SoC have non-zero reset value. This may cause issues if bits are not changed during configuration. To prevent that, initialize registers to 0. Signed-off-by: Jernej Skra

[PATCH AUTOSEL 4.19 009/258] gpu: ipu-v3: image-convert: Prevent race between run and unprepare

2019-01-28 Thread Sasha Levin
From: Steve Longerbeam [ Upstream commit 819bec35c8c9706185498c9222bd244e0781ad35 ] Prevent possible race by parallel threads between ipu_image_convert_run() and ipu_image_convert_unprepare(). This involves setting ctx->aborting to true unconditionally so that no new job runs can be queued durin

[PATCH AUTOSEL 4.19 003/258] drm/vgem: Fix vgem_init to get drm device available.

2019-01-28 Thread Sasha Levin
From: Deepak Sharma [ Upstream commit d5c04dff24870ef07ce6453a3f4e1ffd9cf88d27 ] Modify vgem_init to take platform dev as parent in drm_dev_init. This will make drm device available at "/sys/devices/platform/vgem" in x86 chromebook. v2: rebase, address checkpatch typo and line over 80 character

Re: [PATCH v4 RESEND] drm/panel: add Kingdisplay kd097d04 panel driver

2019-01-28 Thread Thierry Reding
On Thu, Jan 24, 2019 at 12:51:36PM -0500, Sean Paul wrote: > On Thu, Jan 24, 2019 at 05:18:12PM +0100, Thierry Reding wrote: > > On Thu, Jan 24, 2019 at 12:01:55PM -0300, Ezequiel Garcia wrote: > > > On Tue, 2018-10-30 at 10:15 +0100, Heiko Stuebner wrote: > > > > From: Nickey Yang > > > > > > >

[PATCH AUTOSEL 4.19 001/258] drm/bufs: Fix Spectre v1 vulnerability

2019-01-28 Thread Sasha Levin
From: "Gustavo A. R. Silva" [ Upstream commit a37805098900a6e73a55b3a43b7d3bcd987bb3f4 ] idx can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_bufs.c

Re: [PATCH v4 RESEND] drm/panel: add Kingdisplay kd097d04 panel driver

2019-01-28 Thread Thierry Reding
On Tue, Oct 30, 2018 at 10:15:28AM +0100, Heiko Stuebner wrote: > From: Nickey Yang > > Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, > it is a MIPI dual-DSI panel. > > v4-resend: > - Thierry noted missing dt-bindings for v4 but forgot that he > already had applied them one kernel

Re: [PATCH v9 1/2] dt-bindings: panel: Add Sitronix ST7701 panel documentation

2019-01-28 Thread Thierry Reding
On Fri, Jan 25, 2019 at 03:21:30AM +0530, Jagan Teki wrote: > Techstar TS8550B MIPI DSI panel is 480x854, 2-lane MIPI DSI LCD panel > with inbuilt ST7701 chip. > > The default regulator names in ST7701 chip is renamed in Techstar TS8550B > so, add specific binding names for them. > > Signed-off-b

Re: [PATCH 1/2] drm/ttm: Implement and export ttm_dma_page_alloc_enabled

2019-01-28 Thread Koenig, Christian
Am 28.01.19 um 15:21 schrieb Thomas Hellstrom: > On Mon, 2019-01-28 at 14:29 +0100, Thomas Hellström wrote: >> Hi, >> >> On Mon, 2019-01-28 at 12:21 +, Koenig, Christian wrote: >>> Am 25.01.19 um 14:05 schrieb Thomas Hellstrom: The vmwgfx driver needs to know whether the dma page pool is >

[PATCH AUTOSEL 4.20 251/304] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2019-01-28 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 2122b40580dd9d0620398739c773d07a7b7939d0 ] When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if the

[PATCH AUTOSEL 4.20 243/304] drm/amd/display: validate extended dongle caps

2019-01-28 Thread Sasha Levin
From: Wenjing Liu [ Upstream commit 99b922f9ed6a6313c0d2247cde8aa1e4a0bd67e4 ] [why] Some dongle doesn't have a valid extended dongle caps, but we still set the extended dongle caps to be valid. This causes validation fails for all timing. [how] If no dp_hdmi_max_pixel_clk is provided, don't us

[PATCH AUTOSEL 4.20 244/304] video: clps711x-fb: release disp device node in probe()

2019-01-28 Thread Sasha Levin
From: Alexey Khoroshilov [ Upstream commit fdac751355cd76e049f628afe6acb8ff4b1399f7 ] clps711x_fb_probe() increments refcnt of disp device node by of_parse_phandle() and leaves it undecremented on both successful and error paths. Found by Linux Driver Verification project (linuxtesting.org). S

[PATCH AUTOSEL 4.20 246/304] fbdev: fbmem: behave better with small rotated displays and many CPUs

2019-01-28 Thread Sasha Levin
From: Peter Rosin [ Upstream commit f75df8d4b4fabfad7e3cba2debfad12741c6fde7 ] Blitting an image with "negative" offsets is not working since there is no clipping. It hopefully just crashes. For the bootup logo, there is protection so that blitting does not happen as the image is drawn further a

[PATCH AUTOSEL 4.20 221/304] drm/amd/display: fix YCbCr420 blank color

2019-01-28 Thread Sasha Levin
From: Eric Yang [ Upstream commit 12750d1647f118496f1da727146f255f5e44d500 ] [Why] YCbCr420 packing format uses two chanels for luma, and 1 channel for both chroma component. Our previous implementation did not account for this and results in every other pixel having very high luma value, showin

  1   2   >