[PATCH v1 2/2] drm/panel: simple: add LOGIC Technologies LTTD800480070-L6WH-RT

2021-08-04 Thread Oleksij Rempel
From: Søren Andersen Add support for the LOGIC Technologies, Inc LTTD800480070-L6WH-RT Co-Developed-by: Søren Andersen Co-Developed-by: Sam Ravnborg Signed-off-by: Søren Andersen Signed-off-by: Sam Ravnborg Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c | 34

[PATCH v1 1/2] drm/panel: simple: add Multi-Innotechnology MI1010AIT-1CP1

2021-08-04 Thread Oleksij Rempel
From: Sam Ravnborg The Multi Innotechnology is a 10.1" 1280x800 panel. The datasheet did not specify specific values for sync, back, front porch. The values are a best guess based on values for similar panels. Co-Developed-by: Sam Ravnborg Co-Developed-by: Ulrich Ölmann Signed-off-by: Sam

Re: [PATCH] drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate()

2021-08-04 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Aug 4, 2021 at 2:49 AM Christian König wrote: > > Am 04.08.21 um 03:51 schrieb Tuo Li: > > The varialbe gtt in the function amdgpu_ttm_tt_populate() and > > amdgpu_ttm_tt_unpopulate() is guaranteed to be not NULL in the context. > > Thus the null-pointer checks

Re: [PATCH v2] drm/radeon: Update pitch for page flip

2021-08-04 Thread Alex Deucher
On Tue, Aug 3, 2021 at 10:39 PM Zhenneng Li wrote: > > > When primary bo is updated, crtc's pitch may > have not been updated, this will lead to show > disorder content when user changes display mode, > we update crtc's pitch in page flip to avoid > this bug. > This refers to amdgpu's pageflip. >

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-04 Thread Kasireddy, Vivek
Hi Daniel, > > >>> The solution: > > >>> - To ensure full framerate, the Guest compositor has to start it's > > >>> repaint cycle > (including > > >>> the 9 ms wait) when the Host compositor sends the frame callback event > > >>> to its > clients. > > >>> In order for this to happen, the

[pull] amdgpu drm-fixes-5.14

2021-08-04 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.14. The following changes since commit d28e2568ac26fff351c846bf74ba6ca5dded733e: Merge tag 'amd-drm-fixes-5.14-2021-07-28' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2021-07-29 17:20:29 +1000) are available in the Git repository at:

Re: [PATCH 2/2] drm/i915: delete gpu reloc code

2021-08-04 Thread Daniel Vetter
On Tue, Aug 03, 2021 at 10:47:10AM -0500, Jason Ekstrand wrote: > Both are > > Reviewed-by: Jason Ekstrand CI is happy, I guess you got all the igt changes indeed. Both pushed thanks for reviewing. -Daniel > > On Tue, Aug 3, 2021 at 7:49 AM Daniel Vetter wrote: > > > > It's already removed,

Re: [Intel-gfx] [PATCH] fbdev/efifb: Release PCI device's runtime PM ref during FB destroy

2021-08-04 Thread Daniel Vetter
On Mon, Aug 02, 2021 at 04:35:51PM +0300, Imre Deak wrote: > Atm the EFI FB driver gets a runtime PM reference for the associated GFX > PCI device during driver probing and releases it only when removing the > driver. > > When fbcon switches to the FB provided by the PCI device's driver (for >

Re: [PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Karol Herbst
On Wed, Aug 4, 2021 at 11:10 PM Arnd Bergmann wrote: > > On Wed, Aug 4, 2021 at 8:59 PM Karol Herbst wrote: > > On Wed, Aug 4, 2021 at 4:43 PM Karol Herbst wrote: > > > On Wed, Aug 4, 2021 at 4:19 PM Arnd Bergmann wrote: > > > > On Wed, Aug 4, 2021 at 4:10 PM Karol Herbst wrote: > > > > > > >

Re: [PATCH] docs/drm: Add a new bullet to the uAPI requirements (v2)

2021-08-04 Thread Daniel Stone
On Wed, 4 Aug 2021 at 19:57, Jason Ekstrand wrote: > While tracking down various bits of i915 uAPI, it's been difficult to > find the userspace much of the time because no one bothers to mention it > in commit messages. Require the kernel patch to be a one-stop shop for > finding the various

Re: [PATCH v4 1/3] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-08-04 Thread Sam Ravnborg
Hi Chenyang, some feedback in the following. I will try to find more time for review during the week. Hi Thomas, please see my question near drm_gem_vram_of_gem(). Sam On Fri, Jul 30, 2021 at 05:41:46PM +0800, lichenyang wrote: > From: Chenyang Li > > This patch adds an initial DRM

Re: [PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Arnd Bergmann
On Wed, Aug 4, 2021 at 8:59 PM Karol Herbst wrote: > On Wed, Aug 4, 2021 at 4:43 PM Karol Herbst wrote: > > On Wed, Aug 4, 2021 at 4:19 PM Arnd Bergmann wrote: > > > On Wed, Aug 4, 2021 at 4:10 PM Karol Herbst wrote: > > > > > > > > playing around a little bit with this, I think the original

Re: [PATCH -next] drm/i915: fix i915_globals_exit() section mismatch error

2021-08-04 Thread Jason Ekstrand
On Wed, Aug 4, 2021 at 3:41 PM Randy Dunlap wrote: > > Fix modpost Section mismatch error in i915_globals_exit(). > Since both an __init function and an __exit function can call > i915_globals_exit(), any function that i915_globals_exit() calls > should not be marked as __init or __exit. I.e., it

[PATCH -next] drm/i915: fix i915_globals_exit() section mismatch error

2021-08-04 Thread Randy Dunlap
Fix modpost Section mismatch error in i915_globals_exit(). Since both an __init function and an __exit function can call i915_globals_exit(), any function that i915_globals_exit() calls should not be marked as __init or __exit. I.e., it needs to be available for either of them. WARNING: modpost:

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Do not define vma on stack

2021-08-04 Thread Matthew Brost
On Mon, Aug 02, 2021 at 10:11:18PM -0700, Matthew Brost wrote: > From: Venkata Sandeep Dhanalakota > > Defining vma on stack can cause stack overflow, if > vma gets populated with new fields. > > Cc: Daniele Ceraolo Spurio > Cc: Tvrtko Ursulin > Signed-off-by: Venkata Sandeep Dhanalakota >

Re: [PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Karol Herbst
On Wed, Aug 4, 2021 at 4:43 PM Karol Herbst wrote: > > On Wed, Aug 4, 2021 at 4:19 PM Arnd Bergmann wrote: > > > > On Wed, Aug 4, 2021 at 4:10 PM Karol Herbst wrote: > > > > > > playing around a little bit with this, I think the original "select > > > BACKLIGHT_CLASS_DEVICE" is fine. Atm we

[PATCH] docs/drm: Add a new bullet to the uAPI requirements (v2)

2021-08-04 Thread Jason Ekstrand
While tracking down various bits of i915 uAPI, it's been difficult to find the userspace much of the time because no one bothers to mention it in commit messages. Require the kernel patch to be a one-stop shop for finding the various bits which were used to justify the new uAPI. v2 (Daniel

Re: [PATCH] docs/drm: Add a new bullet to the uAPI requirements

2021-08-04 Thread Daniel Vetter
On Wed, Aug 4, 2021 at 8:50 PM Jason Ekstrand wrote: > > On Wed, Aug 4, 2021 at 1:48 PM Jason Ekstrand wrote: > > > > While tracking down various bits of i915 uAPI, it's been difficult to > > find the userspace much of the time because no one bothers to mention it > > in commit messages.

Re: [PATCH] docs/drm: Add a new bullet to the uAPI requirements

2021-08-04 Thread Jason Ekstrand
On Wed, Aug 4, 2021 at 1:48 PM Jason Ekstrand wrote: > > While tracking down various bits of i915 uAPI, it's been difficult to > find the userspace much of the time because no one bothers to mention it > in commit messages. Require the kernel patch to be a one-stop shop for > finding the various

[PATCH] docs/drm: Add a new bullet to the uAPI requirements

2021-08-04 Thread Jason Ekstrand
While tracking down various bits of i915 uAPI, it's been difficult to find the userspace much of the time because no one bothers to mention it in commit messages. Require the kernel patch to be a one-stop shop for finding the various bits which were used to justify the new uAPI. Signed-off-by:

Re: [PATCH v2 11/14] drm/tilcdc: Convert to Linux IRQ interfaces

2021-08-04 Thread Sam Ravnborg
Hi Thomas, On Wed, Aug 04, 2021 at 08:30:41PM +0200, Thomas Zimmermann wrote: > Hi > > Am 03.08.21 um 17:00 schrieb Sam Ravnborg: > > Hi Thomas, > > > > On Tue, Aug 03, 2021 at 11:07:01AM +0200, Thomas Zimmermann wrote: > > > Drop the DRM IRQ midlayer in favor of Linux IRQ interfaces. DRM's > >

[PULL] drm-intel-fixes

2021-08-04 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-fixes-2021-08-04: - Call i915_globals_exit if pci_register_device fails (Jason) - Correct SFC_DONE register offset (Matt) Thanks, Rodrigo. The following changes since commit c500bee1c5b2f1d59b1081ac879d73268ab0ff17: Linux 5.14-rc4 (2021-08-01 17:04:17

Re: [PATCH v2 11/14] drm/tilcdc: Convert to Linux IRQ interfaces

2021-08-04 Thread Thomas Zimmermann
Hi Am 03.08.21 um 17:00 schrieb Sam Ravnborg: Hi Thomas, On Tue, Aug 03, 2021 at 11:07:01AM +0200, Thomas Zimmermann wrote: Drop the DRM IRQ midlayer in favor of Linux IRQ interfaces. DRM's IRQ helpers are mostly useful for UMS drivers. Modern KMS drivers don't benefit from using it. DRM IRQ

Re: [PATCH v4 3/3] drm/panel-simple: add Gopher 2b LCD panel

2021-08-04 Thread Sam Ravnborg
Hi Artjom, On Wed, Aug 04, 2021 at 03:23:53AM +0300, Artjom Vejsel wrote: > The Gopher 2b LCD panel is used in Gopher 2b handhelds. > It's simple panel with NewVision NV3047 driver, but SPI lines are not > connected. > It has no specific name, since it's unique to that handhelds. > lot name at

Re: [PATCH v4 2/3] dt-bindings: Add DT bindings for QiShenglong Gopher 2b panel

2021-08-04 Thread Sam Ravnborg
On Wed, Aug 04, 2021 at 03:23:52AM +0300, Artjom Vejsel wrote: > Add DT bindings for QiShenglong Gopher 2b 4.3" 480(RGB)x272 TFT LCD panel. > > Signed-off-by: Artjom Vejsel Reviewed-by: Sam Ravnborg Paul, I assume you will apply when you are happy with the driver. Sam

Re: [PATCH v4 1/3] dt-bindings: Add QiShenglong vendor prefix

2021-08-04 Thread Sam Ravnborg
On Wed, Aug 04, 2021 at 03:23:51AM +0300, Artjom Vejsel wrote: > Add vendor prefix for Shenzhen QiShenglong Industrialist Co., Ltd. > QiShenglong is a Chinese manufacturer of handheld gaming consoles, most of > which run (very old) versions of Linux. > QiShenglong is known as Hamy. > >

Re: [PATCH 00/11] Provide offset-adjusted framebuffer mappings

2021-08-04 Thread Thomas Zimmermann
Hi Sam Am 03.08.21 um 18:21 schrieb Sam Ravnborg: Hi Thomas, On Tue, Aug 03, 2021 at 02:59:17PM +0200, Thomas Zimmermann wrote: A framebuffer's offsets field might be non-zero to make the BO data start at the specified offset within the BO's memory. Handle this case in drm_gem_fb_vmap() and

Re: [PATCH 02/14] drm/kmb: Define driver date and major/minor version

2021-08-04 Thread Thomas Zimmermann
Hi, just a friendly reminder that branches that end with -fixes are for fixes that are required in upstream ASAP. I found this patch in drm-misc-fixes. It's not important, so it should have gone into drm-misc-next instead. Best regards Thomas Am 28.07.21 um 02:31 schrieb Anitha

[PULL] drm-misc-fixes

2021-08-04 Thread Thomas Zimmermann
Hi Dave and Daniel, here's the weekly PR for drm-misc-fixes. I cherry-picked the vmwgfx fix from drm-misc-next-fixes where it accidentally landed first. Best regards Thomas drm-misc-fixes-2021-08-04: Short summary of fixes pull: * kmb: DMA fix; Add macros for driver date/version * vmwgfx:

Re: [PATCH v4] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-04 08:51:01) > Currently at dp_pm_resume() is_connected state is decided base on hpd > connection > status only. This will put is_connected in wrongly "true" state at the > scenario > that dongle attached to DUT but without hmdi cable connecting to it. Fix this >

Re: [PATCH v3] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2021-08-04 08:48:04) > On 2021-08-03 12:05, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2021-08-03 09:25:13) > >> @@ -1327,14 +1327,26 @@ static int dp_pm_resume(struct device *dev) > >> > >> dp_catalog_ctrl_hpd_config(dp->catalog); > >> > >> - status

Re: [PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-04 Thread Sam Ravnborg
Hi Shawn, see a few comments in the following. Sam On Wed, Aug 04, 2021 at 04:13:52PM +0800, Shawn Guo wrote: > It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which > can be found on Sony Xperia M4 Aqua phone. The panel backlight is > managed through DSI link. > >

Re: [PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-04 Thread Sam Ravnborg
Hi Shawn, On Wed, Aug 04, 2021 at 04:13:51PM +0800, Shawn Guo wrote: > The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is > managed through DSI link. > > Signed-off-by: Shawn Guo Please consider adding an optional port node, so we can use this panels in a setup using a

[PATCH v4] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread Kuogee Hsieh
Currently at dp_pm_resume() is_connected state is decided base on hpd connection status only. This will put is_connected in wrongly "true" state at the scenario that dongle attached to DUT but without hmdi cable connecting to it. Fix this problem by adding read sink count from dongle and decided

Re: [PATCH v3] drm/msm/dp: update is_connected status base on sink count at dp_pm_resume()

2021-08-04 Thread khsieh
On 2021-08-03 12:05, Stephen Boyd wrote: Quoting Kuogee Hsieh (2021-08-03 09:25:13) Currently at dp_pm_resume() is_connected state is decided base on hpd connection status only. This will put is_connected in wrongly "true" state at the scenario that dongle attached to DUT but without hmdi

Re: [PATCH] drm/radeon: Update pitch for page flip

2021-08-04 Thread Daniel Vetter
On Tue, Aug 03, 2021 at 10:49:39AM -0400, Alex Deucher wrote: > On Tue, Aug 3, 2021 at 4:34 AM Michel Dänzer wrote: > > > > On 2021-08-02 4:51 p.m., Alex Deucher wrote: > > > On Mon, Aug 2, 2021 at 4:31 AM Daniel Vetter wrote: > > >> > > >> On Mon, Aug 02, 2021 at 10:12:47AM +0200, Christian

[PATCH] drm/i915/dp: Use max params for older panels

2021-08-04 Thread Kai-Heng Feng
Users reported that after commit 2bbd6dba84d4 ("drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure"), the screen starts to have wobbly effect. Commit a5c936add6a2 ("drm/i915/dp: Use slow and wide link training for everything") doesn't help either,

[RFC PATCH 3/3] drm/v3d: add multiple syncobjs support

2021-08-04 Thread Melissa Wen
Using the generic extension support set in the previous patch, this patch enables more than one in/out binary syncobj per job submission. Arrays of syncobjs are set in a specific extension type (multisync) that also cares of determining the stage for sync (bin/render) through a flag - when this is

[RFC PATCH 2/3] drm/v3d: add generic ioctl extension

2021-08-04 Thread Melissa Wen
Add support to attach generic extensions on job submission. This patch is a second prep work to enable multiple syncobjs on job submission. With this work, when the job submission interface needs to be extended to accomodate a new feature, we will use a generic extension struct where an id

[RFC PATCH 1/3] drm/v3d: decouple adding job dependencies from job init

2021-08-04 Thread Melissa Wen
Prep work to enable multiple syncobj as job dependency. Also get rid of old checkpatch warnings in the v3d_gem file. No functional changes. Signed-off-by: Melissa Wen --- drivers/gpu/drm/v3d/v3d_gem.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff

[RFC PATCH 0/3] drm/v3d: add multiple in/out syncobjs support

2021-08-04 Thread Melissa Wen
Hi, Currently, v3d only supports single in/out syncobj per submission (in v3d_submit_cl we have two in_sync, one for bin and another for render job); however, Vulkan queue submit operations expect multiples wait and signal semaphores. This series extending v3d interface and job dependency

Re: [PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Karol Herbst
On Wed, Aug 4, 2021 at 4:19 PM Arnd Bergmann wrote: > > On Wed, Aug 4, 2021 at 4:10 PM Karol Herbst wrote: > > > > playing around a little bit with this, I think the original "select > > BACKLIGHT_CLASS_DEVICE" is fine. Atm we kind of have this weird mix of > > drivers selecting and others

Re: [PATCH 5/7] drm/i915/gem/ttm: Respect the objection region in placement_from_obj

2021-08-04 Thread Daniel Vetter
On Wed, Aug 4, 2021 at 10:00 AM Thomas Hellström wrote: > > Hi, > > On 7/22/21 11:59 AM, Matthew Auld wrote: > > On Thu, 22 Jul 2021 at 10:49, Matthew Auld > > wrote: > >> On Wed, 21 Jul 2021 at 21:11, Jason Ekstrand wrote: > >>> On Mon, Jul 19, 2021 at 8:35 AM Matthew Auld > >>> wrote: >

[PATCH v2 9/9] drm/i915: Split out intel_context_create_user

2021-08-04 Thread Daniel Vetter
There's quite a fundamental difference between userspace contexts, and kernel contexts. Latter all share intel_gt->vm, former get their vm from gem_ctx->vm (on full ppgtt at least). By splitting context creation for userspace from kernel-internal ones we can make this all a bit more strict and

[PATCH v2 5/9] drm/i915: Use i915_gem_context_get_eb_vm in intel_context_set_gem

2021-08-04 Thread Daniel Vetter
Since commit ccbc1b97948ab671335e950271e39766729736c3 Author: Jason Ekstrand Date: Thu Jul 8 10:48:30 2021 -0500 drm/i915/gem: Don't allow changing the VM on running contexts (v4) the gem_ctx->vm can't change anymore. Plus we always set the intel_context->vm, so might as well use the

[PATCH v2 7/9] drm/i915: use xa_lock/unlock for fpriv->vm_xa lookups

2021-08-04 Thread Daniel Vetter
We don't need the absolute speed of rcu for this. And i915_address_space in general dont need rcu protection anywhere else, after we've made gem contexts and engines a lot more immutable. Note that this semantically reverts commit aabbe344dc3ca5f7d8263a02608ba6179e8a4499 Author: Chris Wilson

[PATCH v2 3/9] drm/i915: Use i915_gem_context_get_eb_vm in ctx_getparam

2021-08-04 Thread Daniel Vetter
Consolidates the "which is the vm my execbuf runs in" code a bit. We do some get/put which isn't really required, but all the other users want the refcounting, and I figured doing a function just for this getparam to avoid 2 atomis is a bit much. Signed-off-by: Daniel Vetter Cc: Jon Bloomfield

[PATCH v2 8/9] drm/i915: Stop rcu support for i915_address_space

2021-08-04 Thread Daniel Vetter
The full audit is quite a bit of work: - i915_dpt has very simple lifetime (somehow we create a display pagetable vm per object, so its _very_ simple, there's only ever a single vma in there), and uses i915_vm_close(), which internally does a i915_vm_put(). No rcu. Aside: wtf is i915_dpt

[PATCH v2 6/9] drm/i915: Drop __rcu from gem_context->vm

2021-08-04 Thread Daniel Vetter
It's been invariant since commit ccbc1b97948ab671335e950271e39766729736c3 Author: Jason Ekstrand Date: Thu Jul 8 10:48:30 2021 -0500 drm/i915/gem: Don't allow changing the VM on running contexts (v4) this just completes the deed. I've tried to split out prep work for more

[PATCH v2 4/9] drm/i915: Add i915_gem_context_is_full_ppgtt

2021-08-04 Thread Daniel Vetter
And use it anywhere we have open-coded checks for ctx->vm that really only check for full ppgtt. Plus for paranoia add a GEM_BUG_ON that checks it's really only set when we have full ppgtt, just in case. gem_context->vm is different since it's NULL in ggtt mode, unlike intel_context->vm or

[PATCH 0/9] remove rcu support from i915_address_space

2021-08-04 Thread Daniel Vetter
Hi all, Next round with some fixes: - missed a conversion, 0day spotted it running sparse - missed virtual engines in the last patch, intel-gfx-ci spotted that too (except it was mostly filtered out by a bogus cibuglog entry, so took a while to realize what's going on). Old version:

[PATCH v2 2/9] drm/i915: Rename i915_gem_context_get_vm_rcu to i915_gem_context_get_eb_vm

2021-08-04 Thread Daniel Vetter
The important part isn't so much that this does an rcu lookup - that's more an implementation detail, which will also be removed. The thing that makes this different from other functions is that it's gettting you the vm that batchbuffers will run in for that gem context, which is either a full

[PATCH v2 1/9] drm/i915: Drop code to handle set-vm races from execbuf

2021-08-04 Thread Daniel Vetter
Changing the vm from a finalized gem ctx is no longer possible, which means we don't have to check for that anymore. I was pondering whether to keep the check as a WARN_ON, but things go boom real bad real fast if the vm of a vma is wrong. Plus we'd need to also get the ggtt vm for !full-ppgtt

Re: [PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Arnd Bergmann
On Wed, Aug 4, 2021 at 4:10 PM Karol Herbst wrote: > > playing around a little bit with this, I think the original "select > BACKLIGHT_CLASS_DEVICE" is fine. Atm we kind of have this weird mix of > drivers selecting and others depending on it. We could of course convert > everything over to

Re: [PATCH v2 0/8] drm/bridge: Make panel and bridge probe order consistent

2021-08-04 Thread a.hajda
Hi Maxime, I have been busy with other tasks, and I did not follow the list last time, so sorry for my late response. On 28.07.2021 15:32, Maxime Ripard wrote: > Hi, > > We've encountered an issue with the RaspberryPi DSI panel that prevented the > whole display driver from probing. > > The

[PATCH] depend on BACKLIGHT_CLASS_DEVICE for more devices

2021-08-04 Thread Karol Herbst
playing around a little bit with this, I think the original "select BACKLIGHT_CLASS_DEVICE" is fine. Atm we kind of have this weird mix of drivers selecting and others depending on it. We could of course convert everything over to depend, and break those cycling dependency issues with this.

Re: [PATCH v34 0/3] Mainline imx6 based SKOV boards

2021-08-04 Thread Arnd Bergmann
On Wed, Aug 4, 2021 at 6:36 AM Oleksij Rempel wrote: > > changes v4: > - add vref-supply to adc@0 > - split gpio assignment for the mdio node Hi Oleksij, I've dropped the series from the soc patchwork, since this looks like something that should go through the i.MX tree. Please make it clear

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-08-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #36 from Jerome C (m...@jeromec.com) --- I've been watching linux-next and noticed that this commit

[Bug 208981] trace with B550I AORUS PRO AX and AMD Ryzen 5 PRO 4650G

2021-08-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208981 --- Comment #10 from Florian La Roche (florian.laro...@gmail.com) --- This seems to be fixed after updating to BIOS F12 from 2021-01-18, BIOS Revision: 5.17. There are even newer BIOS revisions available, but they only work with RAM at 2133 MT/s

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-08-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #35 from kolAflash (kolafl...@kolahilft.de) --- Created attachment 298193 --> https://bugzilla.kernel.org/attachment.cgi?id=298193=edit /var/log/kern.log running amd-drm-next-5.14-2021-05-12 (ae30d41eb) with Xorg Sorry for the long

Re: [PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-04 Thread Stephan Gerhold
Hi Shawn, Thanks for the patch! On Wed, Aug 04, 2021 at 04:13:52PM +0800, Shawn Guo wrote: > It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which > can be found on Sony Xperia M4 Aqua phone. The panel backlight is > managed through DSI link. > > Signed-off-by: Shawn Guo >

Re: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-04 Thread Daniel Vetter
On Tue, Aug 3, 2021 at 9:34 AM Michel Dänzer wrote: > On 2021-08-03 8:11 a.m., Kasireddy, Vivek wrote: > >>> The goal: > >>> - Maintain full framerate even when the Guest scanout FB is flipped onto > >>> a hardware > >> plane > >>> on the Host -- regardless of either compositor's scheduling

[Resend v3] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-04 Thread Kalyan Thota
Add safe lut configuration for all the targets in dpu driver as per QOS recommendation. Issue reported on SC7280: With wait-for-safe feature in smmu enabled, RT client buffer levels are checked to be safe before smmu invalidation. Since display was always set to unsafe it was delaying the

Re: [Resend v3] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-04 Thread Greg KH
On Wed, Aug 04, 2021 at 01:38:33AM -0700, Kalyan Thota wrote: > Add safe lut configuration for all the targets in dpu > driver as per QOS recommendation. > > Issue reported on SC7280: > > With wait-for-safe feature in smmu enabled, RT client > buffer levels are checked to be safe before smmu

Re: [v3] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-04 Thread Greg KH
On Wed, Aug 04, 2021 at 01:16:30AM -0700, Kalyan Thota wrote: > Add safe lut configuration for all the targets in dpu > driver as per QOS recommendation. > > Issue reported on SC7280: > > With wait-for-safe feature in smmu enabled, RT client > buffer levels are checked to be safe before smmu

[Resend v3] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-04 Thread Kalyan Thota
Add safe lut configuration for all the targets in dpu driver as per QOS recommendation. Issue reported on SC7280: With wait-for-safe feature in smmu enabled, RT client buffer levels are checked to be safe before smmu invalidation. Since display was always set to unsafe it was delaying the

[v3] drm/msm/disp/dpu1: add safe lut config in dpu driver

2021-08-04 Thread Kalyan Thota
Add safe lut configuration for all the targets in dpu driver as per QOS recommendation. Issue reported on SC7280: With wait-for-safe feature in smmu enabled, RT client buffer levels are checked to be safe before smmu invalidation. Since display was always set to unsafe it was delaying the

[PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-04 Thread Shawn Guo
It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. The panel backlight is managed through DSI link. Signed-off-by: Shawn Guo --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1

[PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-04 Thread Shawn Guo
The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is managed through DSI link. Signed-off-by: Shawn Guo --- .../bindings/display/panel/truly,nt35521.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644

[PATCH 0/2] Add Truly NT35521 panel driver support

2021-08-04 Thread Shawn Guo
It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. Shawn Guo (2): dt-bindings: display: panel: Add Truly NT35521 panel support drm/panel: Add Truly NT35521 panel driver .../bindings/display/panel/truly,nt35521.yaml | 62 +++

Re: [PATCH 5/7] drm/i915/gem/ttm: Respect the objection region in placement_from_obj

2021-08-04 Thread Thomas Hellström
Hi, On 7/22/21 11:59 AM, Matthew Auld wrote: On Thu, 22 Jul 2021 at 10:49, Matthew Auld wrote: On Wed, 21 Jul 2021 at 21:11, Jason Ekstrand wrote: On Mon, Jul 19, 2021 at 8:35 AM Matthew Auld wrote: On Fri, 16 Jul 2021 at 20:49, Jason Ekstrand wrote: On Fri, Jul 16, 2021 at 1:45 PM

Re: [PATCH] drm/msm/gpu: fix link failure with QCOM_SCM=m

2021-08-04 Thread Arnd Bergmann
On Mon, Aug 2, 2021 at 4:53 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Another missed dependency when SCM is a loadable module > and adreno is built-in: > > drivers/gpu/drm/msm/adreno/adreno_gpu.o: In function `adreno_zap_shader_load': > adreno_gpu.c:(.text+0x1e8): undefined reference

Aw: [PATCH v8, 2/2] soc: mediatek: mmsys: Add mt8192 mmsys routing table

2021-08-04 Thread Frank Wunderlich
Hi can you please test if your device still work after applying this https://patchwork.kernel.org/project/linux-mediatek/patch/20210729070549.5514-1-li...@fw-web.de/ and duplicate value constants in your routes? e.g. changing + DDP_COMPONENT_OVL_2L0, DDP_COMPONENT_RDMA0, +

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-04 Thread Kasireddy, Vivek
Hi Gerd, > > > > virtio_gpu_primary_plane_update() will send RESOURCE_FLUSH only for > > > DIRTYFB and both SET_SCANOUT + RESOURCE_FLUSH for page-flip, and I > > > think for the page-flip case the host (aka qemu) doesn't get the > > > "wait until old framebuffer is not in use any more" right

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-04 Thread Kasireddy, Vivek
Hi Michel, > > > >>> The goal: > >>> - Maintain full framerate even when the Guest scanout FB is flipped onto > >>> a hardware > >> plane > >>> on the Host -- regardless of either compositor's scheduling policy -- > >>> without making > any > >>> copies and ensuring that both Host and Guest are

Re: [PATCH v2 00/14] drm: Make DRM's IRQ helpers legacy

2021-08-04 Thread Thomas Zimmermann
Hi Am 03.08.21 um 20:36 schrieb Chrisanthus, Anitha: Hi Thomas, Can you please hold off on applying the kmb patch, I am seeing some issues while testing. Modetest works, but video playback only plays once, and it fails the second time with this patch. Sounds a bit like the testing issue at

RE: [PATCH 2/4] drm/dp_mst: Only create connector for connected end device

2021-08-04 Thread Lin, Wayne
[Public] > -Original Message- > From: Lyude Paul > Sent: Wednesday, August 4, 2021 8:09 AM > To: Lin, Wayne ; dri-devel@lists.freedesktop.org > Cc: Kazlauskas, Nicholas ; Wentland, Harry > ; Zuo, Jerry > ; Wu, Hersen ; Juston Li > ; Imre Deak ; > Ville Syrjälä ; Wentland, Harry > ;

Re: [PATCH 4/7] drm/i915/gem/ttm: Place new BOs in the requested region

2021-08-04 Thread Thomas Hellström
On 8/4/21 8:49 AM, Thomas Hellström wrote: Hi, Jason, On 7/16/21 12:38 AM, Jason Ekstrand wrote: __i915_gem_ttm_object_init() was ignoring the placement requests coming from the client and always placing all BOs in SMEM upon creation. Instead, compute the requested placement set from the

Re: [PATCH 4/7] drm/i915/gem/ttm: Place new BOs in the requested region

2021-08-04 Thread Thomas Hellström
Hi, Jason, On 7/16/21 12:38 AM, Jason Ekstrand wrote: __i915_gem_ttm_object_init() was ignoring the placement requests coming from the client and always placing all BOs in SMEM upon creation. Instead, compute the requested placement set from the object and pass that into ttm_bo_init_reserved().

Re: [PATCH] drm/amdgpu: drop redundant null-pointer checks in amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate()

2021-08-04 Thread Christian König
Am 04.08.21 um 03:51 schrieb Tuo Li: The varialbe gtt in the function amdgpu_ttm_tt_populate() and amdgpu_ttm_tt_unpopulate() is guaranteed to be not NULL in the context. Thus the null-pointer checks are redundant and can be dropped. Reported-by: TOTE Robot Signed-off-by: Tuo Li