[PATCH 8/9] drm/panel: simple: add Jenson JT60249-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti This patch adds support for Jenson JT60249-01 800x480 5" panel to DRM simple panel driver. Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git

[PATCH 0/9] Add 4 Jenson simple panels

2021-02-18 Thread Giulio Benetti
This patchset introduce Jenson vendor and add 4 of its panels to panel-simple driver. Giulio Benetti (9): dt-bindings: Add Jenson Display vendor prefix dt-bindings: display/panel: add Jenson JT60248-01 dt-bindings: display/panel: add Jenson JT60249-01 dt-bindings: display/panel: add

[PATCH 9/9] drm/panel: simple: add Jenson JT60250-02

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti This patch adds support for Jenson JT60250-02 1024x600 10.1" panel to DRM simple panel driver. Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff

[PATCH 3/9] dt-bindings: display/panel: add Jenson JT60249-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti Add DT binding for "jenson,jt60249-01". Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/9] dt-bindings: display/panel: add Jenson JT60248-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti Add DT binding for "jenson,jt60248-01". Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 5/9] dt-bindings: display/panel: add Jenson JT60250-02

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti Add DT binding for "jenson,jt60250-02". Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 7/9] drm/panel: simple: add Jenson JT60248-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti This patch adds support for Jenson JT60248-01 480x272 4.3" panel to DRM simple panel driver. Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff

[PATCH 6/9] drm/panel: simple: add Jenson JT60245-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti This patch adds support for Jenson JT60245-01 800x480 7" panel to DRM simple panel driver. Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git

[PATCH 1/9] dt-bindings: Add Jenson Display vendor prefix

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti Update Documentation/devicetree/bindings/vendor-prefixes.yaml to include "jenson" as a vendor prefix for "Jenson Display". Company website: http://www.jensondisplay.com/ Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti ---

[PATCH 4/9] dt-bindings: display/panel: add Jenson JT60245-01

2021-02-18 Thread Giulio Benetti
From: Giulio Benetti Add DT binding for "jenson,jt60245-01". Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] drm/radeon/dpm: fix non-restricted types with le16_to_cpu()

2021-02-18 Thread Yang Li
Fix the following sparse warnings: drivers/gpu/drm/radeon/rv6xx_dpm.c:1798:21: warning: cast to restricted __le32 drivers/gpu/drm/radeon/rv6xx_dpm.c:1799:22: warning: cast to restricted __le16 drivers/gpu/drm/radeon/rv6xx_dpm.c:1800:23: warning: cast to restricted __le16 Reported-by: Abaci Robot

Re: [Intel-gfx] [PATCH 18/18] drm/i915/display13: Enabling dithering after the CC1 pipe

2021-02-18 Thread Mario Kleiner
On Fri, Feb 19, 2021 at 4:22 AM Mario Kleiner wrote: > > > On Thu, Feb 11, 2021 at 1:29 PM Ville Syrjälä < > ville.syrj...@linux.intel.com> wrote: > >> On Thu, Jan 28, 2021 at 11:24:13AM -0800, Matt Roper wrote: >> > From: Nischal Varide >> > >> > If the panel is 12bpc then Dithering is not

Re: [PATCH v2 1/4] hmm: Device exclusive memory access

2021-02-18 Thread kernel test robot
Hi Alistair, Thank you for the patch! Yet something to improve: [auto build test ERROR on kselftest/next] [also build test ERROR on linus/master v5.11 next-20210218] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v2 1/4] hmm: Device exclusive memory access

2021-02-18 Thread Alistair Popple
2021 3:04:07 PM AEDT kernel test robot wrote: > External email: Use caution opening links or attachments > > > Hi Alistair, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on kselftest/next] > [also build test ERROR on linus

Re: [PATCH v2 1/4] hmm: Device exclusive memory access

2021-02-18 Thread kernel test robot
Hi Alistair, Thank you for the patch! Yet something to improve: [auto build test ERROR on kselftest/next] [also build test ERROR on linus/master v5.11 next-20210218] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [Intel-gfx] [PATCH 18/18] drm/i915/display13: Enabling dithering after the CC1 pipe

2021-02-18 Thread Mario Kleiner
On Thu, Feb 11, 2021 at 1:29 PM Ville Syrjälä wrote: > On Thu, Jan 28, 2021 at 11:24:13AM -0800, Matt Roper wrote: > > From: Nischal Varide > > > > If the panel is 12bpc then Dithering is not enabled in the Legacy > > dithering block , instead its Enabled after the C1 CC1 pipe post > > color

[PATCH] drm/panel: elida-kd35t133: allow using non-continuous dsi clock

2021-02-18 Thread Chris Morgan
This fixes an issue with the panel not working after commit c6d94e37bdbb ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock"). With this change the panel inits successfully and displays an image. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 3

[PATCH] drm/drv: Remove initialization of static variables

2021-02-18 Thread Tian Tao
Address the following checkpatch errors: ERROR: do not initialise statics to false Signed-off-by: Tian Tao --- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 20d22e4..c2f78de 100644 ---

[PATCH v2 4/4] nouveau/svm: Implement atomic SVM access

2021-02-18 Thread Alistair Popple
Some NVIDIA GPUs do not support direct atomic access to system memory via PCIe. Instead this must be emulated by granting the GPU exclusive access to the memory. This is achieved by replacing CPU page table entries with special swap entries that fault on userspace access. The driver then grants

[PATCH v2 3/4] nouveau/svm: Refactor nouveau_range_fault

2021-02-18 Thread Alistair Popple
Call mmu_interval_notifier_insert() as part of nouveau_range_fault(). This doesn't introduce any functional change but makes it easier for a subsequent patch to alter the behaviour of nouveau_range_fault() to support GPU atomic operations. Signed-off-by: Alistair Popple ---

[PATCH v2 2/4] hmm: Selftests for exclusive device memory

2021-02-18 Thread Alistair Popple
Adds some selftests for exclusive device memory. Signed-off-by: Alistair Popple --- lib/test_hmm.c | 124 ++ lib/test_hmm_uapi.h| 2 + tools/testing/selftests/vm/hmm-tests.c | 219 + 3 files changed, 345

[PATCH v2 1/4] hmm: Device exclusive memory access

2021-02-18 Thread Alistair Popple
Some devices require exclusive write access to shared virtual memory (SVM) ranges to perform atomic operations on that memory. This requires CPU page tables to be updated to deny access whilst atomic operations are occurring. In order to do this introduce a new swap entry type

[PATCH v2 0/4] Add support for SVM atomics in Nouveau

2021-02-18 Thread Alistair Popple
This is the second version of a series to add support to Nouveau for atomic memory operations on OpenCL shared virtual memory (SVM) regions. This is achieved using the atomic PTE bits on the GPU to only permit atomic operations to system memory when a page is not mapped in userspace on the CPU.

[PATCH] drm/ioctl: fix space prohibited after that open parenthesis

2021-02-18 Thread Tian Tao
This patch resolves below errors reported by checkpath ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Tian Tao --- drivers/gpu/drm/drm_ioc32.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/drm_ioc32.c

Re: [PATCH] drm/amd/pm/swsmu: Avoid using structure_size uninitialized in smu_cmn_init_soft_gpu_metrics

2021-02-18 Thread Wang, Kevin(Yang)
thanks, Reviewed-by: Kevin Wang Regards, Kevin > 在 2021年2月19日,06:49,Nathan Chancellor 写道: > > Clang warns: > > drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:764:2: warning: > variable 'structure_size' is used uninitialized whenever switch default > is taken [-Wsometimes-uninitialized] >

Re: [PATCH v2 2/2] drm/msm/dp: add supported max link rate specified from dtsi

2021-02-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-02-18 12:55:04) > Allow supported link rate to be limited to the value specified at > dtsi. If it is not specified, then link rate is derived from dpcd > directly. Below are examples, > link-rate = <162000> for max link rate limited at 1.62G > link-rate = <27> for

[PATCH] drm/amd/pm/swsmu: Avoid using structure_size uninitialized in smu_cmn_init_soft_gpu_metrics

2021-02-18 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:764:2: warning: variable 'structure_size' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~ drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:770:23: note: uninitialized

Re: [PATCH v2 2/2] drm/msm/dp: add supported max link rate specified from dtsi

2021-02-18 Thread Bjorn Andersson
On Thu 18 Feb 14:55 CST 2021, Kuogee Hsieh wrote: > Allow supported link rate to be limited to the value specified at > dtsi. If it is not specified, then link rate is derived from dpcd > directly. Below are examples, > link-rate = <162000> for max link rate limited at 1.62G > link-rate =

[PULL] drm-intel-next-fixes

2021-02-18 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-next-fixes-2021-02-18: - Restrict DRM_I915_DEBUG to developer builds (Chris) - Fix return and error codes (Dan) - Suspend/Resume fix (Chris) - Disable atomics in L3 for gen9 (Chris) - Flush before changing register state (Chris) - Fix for GLK's HDMI

[pull] amdgpu, amdkfd, radeon drm-next-5.12

2021-02-18 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.12. The following changes since commit 4c3a3292730c56591472717d8c5c0faf74f6c6bb: drm/amd/display: fix unused variable warning (2021-02-05 09:49:44 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git

Re: [PATCH v2 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-18 Thread Adrien Grassein
Hey Robert, Thank you for your time and for your review. Le mer. 17 févr. 2021 à 18:32, Robert Foss a écrit : > > Hey Adrien, > > Thanks for submitting this! > > On Mon, 15 Feb 2021 at 00:31, Adrien Grassein > wrote: > > > > Lontium Lt8912 is a DSI to HDMI bridge. > > > > Signed-off-by:

[PATCH v3 1/2] dt-bindings: display: bridge: Add documentation for LT8912

2021-02-18 Thread Adrien Grassein
Lontium LT8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein Reviewed-by: Rob Herring --- .../display/bridge/lontium,lt8912.yaml| 102 ++ MAINTAINERS | 5 + 2 files changed, 107 insertions(+) create mode 100644

[PATCH v3 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-18 Thread Adrien Grassein
Lontium Lt8912 is a DSI to HDMI bridge. Signed-off-by: Adrien Grassein --- MAINTAINERS | 1 + drivers/gpu/drm/bridge/Kconfig | 14 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/lontium-lt8912.c | 760 4

[PATCH v3 0/2] Add support of Lontium lt8912 MIPI to HDMI bridge

2021-02-18 Thread Adrien Grassein
this patch set adds the support of the Lontium lt8912 MIPI to HDMI bridge in the kernel. It's only support the video part, not the audio part yet since I don't have the datasheet of this component. I get the current i2c configuration from Digi and Boundary drivers. Developed using the DB_DSIHD

Re: [PATCH v2 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-18 Thread Robert Foss
On Thu, 18 Feb 2021 at 21:36, Adrien Grassein wrote: > > Hey Robert, > > Thank you for your time and for your review. > > Le mer. 17 févr. 2021 à 18:32, Robert Foss a écrit : > > > > Hey Adrien, > > > > Thanks for submitting this! > > > > On Mon, 15 Feb 2021 at 00:31, Adrien Grassein > >

[PATCH v2 2/2] drm/msm/dp: add supported max link rate specified from dtsi

2021-02-18 Thread Kuogee Hsieh
Allow supported link rate to be limited to the value specified at dtsi. If it is not specified, then link rate is derived from dpcd directly. Below are examples, link-rate = <162000> for max link rate limited at 1.62G link-rate = <27> for max link rate limited at 2.7G link-rate = <54> for

Re: [PATCH v4 00/14] RFC Support hot device unplug in amdgpu

2021-02-18 Thread Andrey Grodzovsky
Looked a bit into it, I want to export sync_object to FD and import  from that FD such that I will wait on the imported sync object handle from one thread while signaling the exported sync object handle from another (post device unplug) ? My problem is how to create a sync object with a non

Re: [Freedreno] [PATCH] drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features

2021-02-18 Thread abhinavk
Hi Nicolas On 2021-02-10 19:33, Nicolas Boichat wrote: Many of the DSI flags have names opposite to their actual effects, e.g. MIPI_DSI_MODE_EOT_PACKET means that EoT packets will actually be disabled. Fix this by including _NO_ in the flag names, e.g. MIPI_DSI_MODE_NO_EOT_PACKET.

Re: [PATCH 2/2] drm/msm/dp: Drop limit link rate at HBR2

2021-02-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-02-17 15:09:57) > Drop limit link rate at HBR2 to support link rate > upto HBR3. > > Signed-off-by: Kuogee Hsieh > --- Should also say Tested-by: Stephen Boyd ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH 2/2] drm/msm/dp: Drop limit link rate at HBR2

2021-02-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-02-17 15:09:57) > Drop limit link rate at HBR2 to support link rate > upto HBR3. > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH] drm/amd/display: Simplify bool conversion

2021-02-18 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Feb 18, 2021 at 9:23 AM Yang Li wrote: > > Fix the following coccicheck warning: > ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8142:16-21: WARNING: > conversion to bool not needed here > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- >

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Daniel Vetter
On Thu, Feb 18, 2021 at 6:16 PM Rob Herring wrote: > > On Thu, Feb 18, 2021 at 10:51 AM Steven Price wrote: > > > > On 18/02/2021 16:38, Rob Herring wrote: > > > On Thu, Feb 18, 2021 at 10:15 AM Steven Price > > > wrote: > > >> > > >> On 18/02/2021 15:45, Alyssa Rosenzweig wrote: > > Yeah

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Rob Herring
On Thu, Feb 18, 2021 at 10:51 AM Steven Price wrote: > > On 18/02/2021 16:38, Rob Herring wrote: > > On Thu, Feb 18, 2021 at 10:15 AM Steven Price wrote: > >> > >> On 18/02/2021 15:45, Alyssa Rosenzweig wrote: > Yeah plus Cc: stable for backporting and I think an igt or similar for >

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Steven Price
On 18/02/2021 16:38, Rob Herring wrote: On Thu, Feb 18, 2021 at 10:15 AM Steven Price wrote: On 18/02/2021 15:45, Alyssa Rosenzweig wrote: Yeah plus Cc: stable for backporting and I think an igt or similar for panfrost to check this works correctly would be pretty good too. Since if it took

Re: [PATCH 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-02-18 Thread Rob Herring
On Thu, Feb 18, 2021 at 5:04 AM Mikko Perttunen wrote: > > On 2/17/21 11:49 PM, Rob Herring wrote: > > On Sat, Feb 13, 2021 at 12:15:10PM +0200, Mikko Perttunen wrote: > >> Convert the original Host1x bindings to YAML and add new bindings for > >> NVDEC, now in a more appropriate location. The

Re: [PATCH v2] drm/scheduler: Fix hang when sched_entity released

2021-02-18 Thread Andrey Grodzovsky
On 2/18/21 10:15 AM, Christian König wrote: Am 18.02.21 um 16:05 schrieb Andrey Grodzovsky: On 2/18/21 3:07 AM, Christian König wrote: Am 17.02.21 um 22:59 schrieb Andrey Grodzovsky: Problem: If scheduler is already stopped by the time sched_entity is released and entity's job_queue not

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Rob Herring
On Thu, Feb 18, 2021 at 10:15 AM Steven Price wrote: > > On 18/02/2021 15:45, Alyssa Rosenzweig wrote: > >> Yeah plus Cc: stable for backporting and I think an igt or similar for > >> panfrost to check this works correctly would be pretty good too. Since > >> if it took us over 1 year to notice

Re: [PATCH v2] drm/gem: Move drm_gem_fb_prepare_fb() to GEM atomic helpers

2021-02-18 Thread Maxime Ripard
Hi, On Thu, Feb 11, 2021 at 09:16:36AM +0100, Thomas Zimmermann wrote: > diff --git a/include/drm/drm_gem_framebuffer_helper.h > b/include/drm/drm_gem_framebuffer_helper.h > index 6b013154911d..495d174d9989 100644 > --- a/include/drm/drm_gem_framebuffer_helper.h > +++

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Alyssa Rosenzweig
> Yeah plus Cc: stable for backporting and I think an igt or similar for > panfrost to check this works correctly would be pretty good too. Since > if it took us over 1 year to notice this bug it's pretty clear that > normal testing doesn't catch this. So very likely we'll break this > again.

[PATCH] drm/amd/display: Simplify bool conversion

2021-02-18 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8142:16-21: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Steven Price
On 18/02/2021 15:45, Alyssa Rosenzweig wrote: Yeah plus Cc: stable for backporting and I think an igt or similar for panfrost to check this works correctly would be pretty good too. Since if it took us over 1 year to notice this bug it's pretty clear that normal testing doesn't catch this. So

Re: [PATCH] drm/msm/a6xx: fix for kernels without CONFIG_NVMEM

2021-02-18 Thread Rob Clark
On Thu, Feb 18, 2021 at 4:28 AM Akhil P Oommen wrote: > > On 2/18/2021 2:05 AM, Jonathan Marek wrote: > > On 2/17/21 3:18 PM, Rob Clark wrote: > >> On Wed, Feb 17, 2021 at 11:08 AM Jordan Crouse > >> wrote: > >>> > >>> On Wed, Feb 17, 2021 at 07:14:16PM +0530, Akhil P Oommen wrote: > On

Re: [PATCH v2] drm/vblank: Do not store a new vblank timestamp in drm_vblank_restore()

2021-02-18 Thread Ville Syrjälä
On Thu, Feb 18, 2021 at 06:03:05PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > drm_vblank_restore() exists because certain power saving states > can clobber the hardware frame counter. The way it does this is > by guesstimating how many frames were missed purely based on > the

[PATCH v2] drm/vblank: Do not store a new vblank timestamp in drm_vblank_restore()

2021-02-18 Thread Ville Syrjala
From: Ville Syrjälä drm_vblank_restore() exists because certain power saving states can clobber the hardware frame counter. The way it does this is by guesstimating how many frames were missed purely based on the difference between the last stored timestamp vs. a newly sampled timestamp. If we

Re: [PATCH v2 10/16] drm/exynos: implement a drm bridge

2021-02-18 Thread Andrzej Hajda
Hi Michael, W dniu 18.02.2021 o 09:04, Michael Tretter pisze: > On Wed, 10 Feb 2021 10:10:37 +0100, Frieder Schrempf wrote: >> On 04.02.21 18:46, Daniel Vetter wrote: >>> On Thu, Feb 4, 2021 at 6:26 PM Laurent Pinchart >>> wrote: On Thu, Feb 04, 2021 at 06:19:22PM +0100, Daniel Vetter

Re: [RESEND PATCH] drm/tilcdc: fix raster control register setting

2021-02-18 Thread Jyri Sarha
On 2021-02-16 22:22, Dario Binacchi wrote: The fdd property of the tilcdc_panel_info structure must set the reqdly bit field (bit 12 to 19) of the raster control register. The previous statement set the least significant bit instead. Signed-off-by: Dario Binacchi Reviewed-by: Jyri Sarha

Re: [PATCH] drm/tilcdc: replace spin_lock_irqsave by spin_lock in hard IRQ

2021-02-18 Thread Jyri Sarha
On 2021-02-08 4:32, Tian Tao wrote: The code has been in a irq-disabled context since it is hard IRQ. There is no necessity to do it again. Signed-off-by: Tian Tao Reviewed-by: Jyri Sarha Tested-by: Jyri Sarha I merge to this drm-misc-next soon. Best regards, Jyri ---

[Bug 211501] Kernel freeze when waking monitor from blanking / DPMS (AMDGPU / DC)

2021-02-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211501 wychuchol (wychuchol7...@gmail.com) changed: What|Removed |Added CC|

Re: [Intel-gfx] [RFC v4 10/11] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-18 Thread Ville Syrjälä
On Thu, Feb 18, 2021 at 10:35:05AM +0200, Jani Nikula wrote: > On Fri, 12 Feb 2021, Lyude Paul wrote: > > I think it wouldn't be a bad idea to just address this with a followup > > series > > instead and use the old DRM_DEBUG_* macros in the mean time. > > aux->dev is there, could also use

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Daniel Vetter
On Thu, Feb 18, 2021 at 4:26 PM Steven Price wrote: > > On 17/02/2021 16:59, Neil Roberts wrote: > > When mmapping the shmem, it would previously adjust the pgoff in the > > vm_area_struct to remove the fake offset that is added to be able to > > identify the buffer. This patch removes the

Re: [PATCH] drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff

2021-02-18 Thread Steven Price
On 17/02/2021 16:59, Neil Roberts wrote: When mmapping the shmem, it would previously adjust the pgoff in the vm_area_struct to remove the fake offset that is added to be able to identify the buffer. This patch removes the adjustment and makes the fault handler use the vm_fault address to

Re: Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Thomas Zimmermann
Hi Am 18.02.21 um 16:07 schrieb Christoph Hellwig: On Thu, Feb 18, 2021 at 03:56:00PM +0100, Thomas Zimmermann wrote: I only have udl devices, but I expect that other DRM USB adapters are also affected. Find where the driver calls dma_map_* itself instead of using the USB wrappers and fix

Re: [PATCH v2] drm/scheduler: Fix hang when sched_entity released

2021-02-18 Thread Christian König
Am 18.02.21 um 16:05 schrieb Andrey Grodzovsky: On 2/18/21 3:07 AM, Christian König wrote: Am 17.02.21 um 22:59 schrieb Andrey Grodzovsky: Problem: If scheduler is already stopped by the time sched_entity is released and entity's job_queue not empty I encountred a hang in

Re: [PATCH v2] drm/scheduler: Fix hang when sched_entity released

2021-02-18 Thread Andrey Grodzovsky
On 2/18/21 3:07 AM, Christian König wrote: Am 17.02.21 um 22:59 schrieb Andrey Grodzovsky: Problem: If scheduler is already stopped by the time sched_entity is released and entity's job_queue not empty I encountred a hang in drm_sched_entity_flush. This is because drm_sched_entity_is_idle

Regression: 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices")

2021-02-18 Thread Thomas Zimmermann
Hi, commit 6eb0233ec2d0 ("usb: don't inherity DMA properties for USB devices") creates a regression with the udl driver. udl is a DRM driver for USB-based DisplayLink adapters. It's no long possible to join/mirror displays in X. STR and an error log is shown below. STR: * use

Re: [PATCH v2 13/15] dt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts

2021-02-18 Thread Rob Herring
On Mon, Feb 1, 2021 at 12:56 PM Rob Herring wrote: > > On Mon, Jan 11, 2021 at 8:27 AM Maxime Ripard wrote: > > > > The CEC and hotplug interrupts were missing when that binding was > > introduced, let's add them in now that we've figured out how it works. > > > > Signed-off-by: Maxime Ripard >

Re: [PATCH v2 08/11] drm/qxl: fix monitors object vmap

2021-02-18 Thread Thomas Zimmermann
Am 17.02.21 um 13:32 schrieb Gerd Hoffmann: Use the correct vmap variant. We don't hold a reservation here, so we can't use the _locked variant. We can drop the pin because qxl_bo_vmap will do that for us. Signed-off-by: Gerd Hoffmann Acked-by: Thomas Zimmermann I simply forgot to ack

[Bug 211649] "drm/amd/display: reuse current context instead of recreating one" cause hdmi hotplug blackscreen on amdgpu

2021-02-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211649 Eric Samuelson (e...@samuelson.no) changed: What|Removed |Added CC||e...@samuelson.no

Re: [PATCH v2 10/11] drm/qxl: rework cursor plane

2021-02-18 Thread Gerd Hoffmann
Hi, > > Well. I suspect I could easily spend a month cleaning up and party > > redesign the qxl driver (specifically qxl_draw.c + qxl_image.c). > > > > I'm not sure I'll find the time to actually do that anytime soon. > > I have plenty of other stuff on my TODO list, and given that the > >

Re: [PATCH v2 10/11] drm/qxl: rework cursor plane

2021-02-18 Thread Thomas Zimmermann
Hi Am 18.02.21 um 12:50 schrieb Gerd Hoffmann: Hi, I'm still trying to wrap my head around the qxl cursor code. Getting vmap out of the commit tail is good, but I feel like this isn't going in the right direction overall. In ast, these helper functions were only good when converting the

[v4] drm/msm/disp/dpu1: turn off vblank irqs aggressively in dpu driver

2021-02-18 Thread Kalyan Thota
Set the flag vblank_disable_immediate = true to turn off vblank irqs immediately as soon as drm_vblank_put is requested so that there are no irqs triggered during idle state. This will reduce cpu wakeups and help in power saving. To enable vblank_disable_immediate flag the underlying KMS driver

Re: [PATCH] drm/msm/a6xx: fix for kernels without CONFIG_NVMEM

2021-02-18 Thread Akhil P Oommen
On 2/18/2021 2:05 AM, Jonathan Marek wrote: On 2/17/21 3:18 PM, Rob Clark wrote: On Wed, Feb 17, 2021 at 11:08 AM Jordan Crouse wrote: On Wed, Feb 17, 2021 at 07:14:16PM +0530, Akhil P Oommen wrote: On 2/17/2021 8:36 AM, Rob Clark wrote: On Tue, Feb 16, 2021 at 12:10 PM Jonathan Marek

Re: [PATCH v2 10/11] drm/qxl: rework cursor plane

2021-02-18 Thread Gerd Hoffmann
Hi, > I'm still trying to wrap my head around the qxl cursor code. > > Getting vmap out of the commit tail is good, but I feel like this isn't > going in the right direction overall. > > In ast, these helper functions were only good when converting the drvier to > atomic modesetting. So I

Re: [PATCH 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-02-18 Thread Mikko Perttunen
On 2/17/21 11:49 PM, Rob Herring wrote: On Sat, Feb 13, 2021 at 12:15:10PM +0200, Mikko Perttunen wrote: Convert the original Host1x bindings to YAML and add new bindings for NVDEC, now in a more appropriate location. The old text bindings for Host1x and engines are still kept at display/tegra/

Re: [Intel-gfx] [RFC v4 10/11] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-18 Thread Jani Nikula
On Fri, 12 Feb 2021, Lyude Paul wrote: > I think it wouldn't be a bad idea to just address this with a followup series > instead and use the old DRM_DEBUG_* macros in the mean time. aux->dev is there, could also use dev_dbg et al. in the mean time. They handle NULL dev gracefully too if the

Re: [PATCH v3 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video device

2021-02-18 Thread Thomas Zimmermann
Hi Am 17.02.21 um 17:21 schrieb Vitaly Kuznetsov: Deepak Rawat writes: On Wed, 2021-02-17 at 13:07 +0100, Vitaly Kuznetsov wrote: +++ b/drivers/gpu/drm/hyperv/hyperv_drm.h @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2012-2021 Microsoft Out of pure curiosity,

Re: [PATCH v2] drm/scheduler: Fix hang when sched_entity released

2021-02-18 Thread Christian König
Am 17.02.21 um 22:59 schrieb Andrey Grodzovsky: Problem: If scheduler is already stopped by the time sched_entity is released and entity's job_queue not empty I encountred a hang in drm_sched_entity_flush. This is because drm_sched_entity_is_idle never becomes false. Fix: In drm_sched_fini

Re: [PATCH v2 10/16] drm/exynos: implement a drm bridge

2021-02-18 Thread Michael Tretter
On Wed, 10 Feb 2021 10:10:37 +0100, Frieder Schrempf wrote: > On 04.02.21 18:46, Daniel Vetter wrote: > > On Thu, Feb 4, 2021 at 6:26 PM Laurent Pinchart > > wrote: > > > On Thu, Feb 04, 2021 at 06:19:22PM +0100, Daniel Vetter wrote: > > > > On Thu, Feb 4, 2021 at 5:28 PM Andrzej Hajda wrote: >

Re: [PATCH v2 10/11] drm/qxl: rework cursor plane

2021-02-18 Thread Thomas Zimmermann
Hi Am 17.02.21 um 13:32 schrieb Gerd Hoffmann: Add helper functions to create and move the cursor. Create the cursor_bo in prepare_fb callback, in the atomic_commit callback we only send the update command to the host. I'm still trying to wrap my head around the qxl cursor code. Getting vmap