Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-01 Thread kernel test robot
Hi "Christian, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next next-20210401] [cannot apply to drm-intel/for-linux-next linus/master drm/drm-next v5.12-rc5] [If

[PATCH] drm/amdgpu: Fix a potential sdma invalid access

2021-04-01 Thread Qu Huang
Before dma_resv_lock(bo->base.resv, NULL) in amdgpu_bo_release_notify(), the bo->base.resv lock may be held by ttm_mem_evict_first(), and the VRAM mem will be evicted, mem region was replaced by Gtt mem region. amdgpu_bo_release_notify() will then hold the bo->base.resv lock, and SDMA will get an i

Re: [PATCH v6 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-04-01 Thread Xin Ji
On Thu, Apr 01, 2021 at 02:33:47PM +0200, Robert Foss wrote: > Hey Xin, > > This series no longer applies to drm-misc/drm-misc-next, please rebase it. Hi Robert Foss, OK, I'll rebase it on the drm-misc-next after confirmed HDCP patch with Sean Paul. Thanks, Xin > > On Wed, 24 Mar 2021 at 08:52, X

Re: [PATCH v6 4/5] drm/bridge: anx7625: add HDCP support

2021-04-01 Thread Xin Ji
On Mon, Mar 29, 2021 at 02:02:08PM -0400, Sean Paul wrote: > On Mon, Mar 29, 2021 at 6:27 AM Xin Ji wrote: > > > > On Thu, Mar 25, 2021 at 02:19:23PM -0400, Sean Paul wrote: > > > On Fri, Mar 19, 2021 at 2:35 AM Xin Ji wrote: > > > > > > > > Add HDCP feature, enable HDCP function through chip int

[X11][Question] Any plan on explicit synchronization for X11?

2021-04-01 Thread Qiang Yu
Hi guys, I have some interest to enable explicit sync for X11, so send a draft MR to collect feedback: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/34 As no comments on the gitlab MR, send this to mailing list and hope to hear some voice. If NAKed early, it will save me a

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

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

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

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

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

2021-04-01 Thread 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 Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file

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

2021-04-01 Thread Giulio Benetti
Add DT binding for "jenson,jt60250-02". Signed-off-by: Giulio Benetti Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentatio

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

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

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

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

[PATCH v3 0/9] Add 4 Jenson simple panels

2021-04-01 Thread Giulio Benetti
This patchset introduce Jenson vendor and add 4 of its panels to panel-simple driver. --- V2-V3: * changed my SoB and authorship * added some forgotten acked-by * fixed alpha-numeric order on adding bindings --- Giulio Benetti (9): dt-bindings: Add Jenson Display vendor prefix dt-bindings: di

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

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

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

2021-04-01 Thread Giulio Benetti
Add DT binding for "jenson,jt60248-01". Signed-off-by: Giulio Benetti Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentatio

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

2021-04-01 Thread Giulio Benetti
Add DT binding for "jenson,jt60249-01". Signed-off-by: Giulio Benetti Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentatio

Re: [PATCH 19/34] drm/amdkfd: HMM migrate vram to ram

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210

[pull] amdgpu, radeon, ttm, sched drm-next-5.13

2021-04-01 Thread Alex Deucher
Hi Dave, Daniel, New stuff for 5.13. There are two small patches for ttm and scheduler that were dependencies for amdgpu changes. The following changes since commit 2cbcb78c9ee5520c8d836c7ff57d1b60ebe8e9b7: Merge tag 'amd-drm-next-5.13-2021-03-23' of https://gitlab.freedesktop.org/agd5f/linu

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

2021-04-01 Thread Rob Clark
On Thu, Apr 1, 2021 at 2:03 PM Dmitry Baryshkov wrote: > > On Thu, 1 Apr 2021 at 23:09, Rob Clark wrote: > > > > On Mon, Feb 22, 2021 at 8:06 AM Rob Clark wrote: > > > > > > On Mon, Feb 22, 2021 at 7:45 AM Akhil P Oommen > > > wrote: > > > > > > > > On 2/19/2021 9:30 PM, Rob Clark wrote: > > >

Re: [PATCH] drm/atomic: Add the crtc to affected crtc only if uapi.enable = true

2021-04-01 Thread Navare, Manasi
On Fri, Mar 26, 2021 at 06:15:22PM +0200, Ville Syrjälä wrote: > On Thu, Mar 25, 2021 at 03:01:29PM -0700, Navare, Manasi wrote: > > On Fri, Mar 19, 2021 at 11:27:59PM +0200, Ville Syrjälä wrote: > > > On Fri, Mar 19, 2021 at 02:26:24PM -0700, Navare, Manasi wrote: > > > > On Fri, Mar 19, 2021 at 1

Re: [PATCH v5 03/21] gpu: host1x: Show number of pending waiters in debugfs

2021-04-01 Thread Michał Mirosław
On Fri, Mar 26, 2021 at 04:34:13PM +0200, Mikko Perttunen wrote: > On 3/23/21 12:16 PM, Thierry Reding wrote: > > On Mon, Jan 11, 2021 at 03:00:01PM +0200, Mikko Perttunen wrote: > > > Show the number of pending waiters in the debugfs status file. > > > This is useful for testing to verify that wai

Re: [PATCH] drm/ttm: add __user annotation in radeon_ttm_vram_read

2021-04-01 Thread Alex Deucher
Current code already contains the fix. Alex On Thu, Apr 1, 2021 at 9:09 AM Christian König wrote: > > Am 24.10.20 um 02:47 schrieb Rasmus Villemoes: > > Keep sparse happy by preserving the __user annotation when casting. > > > > Reported-by: kernel test robot > > Signed-off-by: Rasmus Villemoe

Re: [PATCH] amd/amdgpu: code refactoring to clean code style a bit

2021-04-01 Thread Alex Deucher
This code has been dropped. Alex On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix checkpatch.pl warning: > Too many leading tabs - consider code refactoring > WARNING: Too many leading tabs - consider code refactoring > + for (j = 0; j <

Re: [PATCH] drm/amd: cleanup coding style a bit

2021-04-01 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix patch check warning: > WARNING: suspect code indent for conditional statements (8, 17) > + if (obj && obj->use < 0) { > +DRM_ERROR("RAS ERROR: Unbalance obj(%s) use\n", > obj->head.name); >

Re: [PATCH] drm/amd: use kmalloc_array over kmalloc with multiply

2021-04-01 Thread Alex Deucher
Applied. Thanks! On Wed, Mar 31, 2021 at 9:36 AM Bernard Zhao wrote: > > Fix patch check warning: > WARNING: Prefer kmalloc_array over kmalloc with multiply > + buf = kmalloc(MAX_KFIFO_SIZE * sizeof(*buf), GFP_KERNEL); > > Signed-off-by: Bernard Zhao > --- > drivers/gpu/drm/amd/amdkfd/kf

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

2021-04-01 Thread Dmitry Baryshkov
On Thu, 1 Apr 2021 at 23:09, Rob Clark wrote: > > On Mon, Feb 22, 2021 at 8:06 AM Rob Clark wrote: > > > > On Mon, Feb 22, 2021 at 7:45 AM Akhil P Oommen > > wrote: > > > > > > On 2/19/2021 9:30 PM, Rob Clark wrote: > > > > On Fri, Feb 19, 2021 at 2:44 AM Akhil P Oommen > > > > wrote: > > > >

Update firmware for Qualcomm SM8250 platform

2021-04-01 Thread Dmitry Baryshkov
Hello linux-firmware maintainers, Could you please pull updated firmware for Qualcomm SM8250-based platforms. Firmware successfully tested on Qualcomm Robotics RB5 platform. The following changes since commit 3f026a2f13a8f130cde849168a111ec80f12e27b: rtl_bt: Update RTL8822C BT(UART I/F) FW

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

2021-04-01 Thread Rob Clark
On Mon, Feb 22, 2021 at 8:06 AM Rob Clark wrote: > > On Mon, Feb 22, 2021 at 7:45 AM Akhil P Oommen wrote: > > > > On 2/19/2021 9:30 PM, Rob Clark wrote: > > > On Fri, Feb 19, 2021 at 2:44 AM Akhil P Oommen > > > wrote: > > >> > > >> On 2/18/2021 9:41 PM, Rob Clark wrote: > > >>> On Thu, Feb 18

Re: [PATCH 2/2] drm/tegra: sor: Fully initialize SOR before registration

2021-04-01 Thread Jon Hunter
On 01/04/2021 16:41, Thierry Reding wrote: > From: Thierry Reding > > Before registering the SOR host1x client, make sure that it is fully > initialized. This avoids a potential race condition between the SOR's > probe and the host1x device initialization in cases where the SOR is > the final s

Re: [git pull] drm fixes for 5.12-rc6

2021-04-01 Thread pr-tracker-bot
The pull request you sent on Fri, 2 Apr 2021 05:17:07 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-04-02 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a80314c327a937ff1213288adf0d11414c40a898 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH 14/34] drm/amdkfd: register HMM device private zone

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210

[git pull] drm fixes for 5.12-rc6

2021-04-01 Thread Dave Airlie
Hi Linus, Things have settled down in time for Easter, a random smattering of small fixes across a few drivers. I'm guessing though there might be some i915 and misc fixes out there I haven't gotten yet, but since today is a public holiday here, I'm sending this early so I can have the day off, I'

Re: [PATCH] drm/msm: a6xx: fix version check for the A650 SQE microcode

2021-04-01 Thread Jordan Crouse
On Wed, Mar 31, 2021 at 05:02:23PM +0300, Dmitry Baryshkov wrote: > I suppose the microcode version check for a650 is incorrect. It checks > for the version 1.95, while the firmware released have major version of 0: > 0.91 (vulnerable), 0.99 (fixing the issue). > > Lower version requirements to ac

[PATCH] drm/msm: Drop mm_lock in scan loop

2021-04-01 Thread Rob Clark
From: Rob Clark lock_stat + mmm_donut[1] say that this reduces contention on mm_lock significantly (~350x lower waittime-max, and ~100x lower waittime-avg) [1] https://chromium.googlesource.com/chromiumos/platform/microbenchmarks/+/refs/heads/main/mmm_donut.py Signed-off-by: Rob Clark --- dr

Re: [PATCH v2 2/4] drm/msm: Avoid mutex in shrinker_count()

2021-04-01 Thread Rob Clark
On Thu, Apr 1, 2021 at 8:34 AM Doug Anderson wrote: > > Hi, > > On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > > > @@ -45,6 +30,9 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct > > shrink_control *sc) > > list_for_each_entry(msm_obj, &priv->inactive_dontneed, mm_list) {

[GIT PULL] drm/tegra: Changes for v5.13-rc1

2021-04-01 Thread Thierry Reding
Hi Dave, The following changes since commit 51c3b916a4d7e24b4918925965867fdd9bd8dd59: Merge tag 'drm-misc-next-2021-03-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-03-16 17:08:46 +1000) are available in the Git repository at: ssh://git.freedesktop.org/git/tegra/li

[GIT PULL] drm/tegra: Fixes for v5.12-rc6

2021-04-01 Thread Thierry Reding
Hi Dave, The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: ssh://git.freedesktop.org/git/tegra/linux.git tags/drm/tegra/for-5.12-rc6 for you to fetch changes up to ac097aecfef0bb28

Re: [PATCH v8 1/2] dt-bindings: display: add bindings for newhaven, 1.8-128160EF

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 11:21:13 +0200, Daniel Mack wrote: > This adds documentation for a new ILI9163 based, SPI connected display. > > Signed-off-by: Daniel Mack > --- > .../display/panel/ilitek,ili9163.yaml | 69 +++ > 1 file changed, 69 insertions(+) > create mode 100644

Re: [PATCH v4 2/2] dt-bindings: display: sitronix, st7789v-dbi: Add Waveshare 2inch LCD module

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 03:05:50 +, Carlis wrote: > From: Xuezhi Zhang > > Document support for the Waveshare 2inch LCD module display, which is a > 240x320 2" TFT display driven by a Sitronix ST7789V TFT Controller. > > Signed-off-by: Xuezhi Zhang > --- > v2:change compatible value. > v3:chang

Re: [PATCH v7 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-04-01 Thread Rob Herring
On Thu, Apr 1, 2021 at 4:18 AM Liu Ying wrote: > > On Wed, 2021-03-31 at 08:40 -0500, Rob Herring wrote: > > On Wed, 31 Mar 2021 14:33:18 +0800, Liu Ying wrote: > > > This patch adds bindings for i.MX8qm/qxp Control and Status Registers > > > module. > > > > > > Reviewed-by: Rob Herring > > > Si

[PATCH 2/2] drm/tegra: sor: Fully initialize SOR before registration

2021-04-01 Thread Thierry Reding
From: Thierry Reding Before registering the SOR host1x client, make sure that it is fully initialized. This avoids a potential race condition between the SOR's probe and the host1x device initialization in cases where the SOR is the final sub-device to register to a host1x instance. Reported-by:

[PATCH 1/2] gpu: host1x: Split up client initalization and registration

2021-04-01 Thread Thierry Reding
From: Thierry Reding In some cases we may need to initialize the host1x client first before registering it. This commit adds a new helper that will do nothing but the initialization of the data structure. At the same time, the initialization is removed from the registration function. Note, howev

Re: [PATCH v2 3/4] drm/msm: Fix debugfs deadlock

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > From: Rob Clark > > In normal cases the gem obj lock is acquired first before mm_lock. The > exception is iterating the various object lists. In the shrinker path, > deadlock is avoided by using msm_gem_trylock() and skipping over object

Re: [PATCH v2 2/4] drm/msm: Avoid mutex in shrinker_count()

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:24 PM Rob Clark wrote: > > @@ -45,6 +30,9 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct > shrink_control *sc) > list_for_each_entry(msm_obj, &priv->inactive_dontneed, mm_list) { > if (freed >= sc->nr_to_scan) >

Re: [PATCH v2 1/4] drm/msm: Remove unused freed llist node

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:23 PM Rob Clark wrote: > > From: Rob Clark > > Unused since commit c951a9b284b9 ("drm/msm: Remove msm_gem_free_work") > > Signed-off-by: Rob Clark > Tested-by: Douglas Anderson > --- > drivers/gpu/drm/msm/msm_gem.h | 2 -- > 1 file changed, 2 deletions(-) Review

Re: [PATCH] drm/sched: add missing member documentation

2021-04-01 Thread Alex Deucher
On Thu, Apr 1, 2021 at 8:52 AM Christian König wrote: > > Just fix a warning. > > Signed-off-by: Christian König > Reported-by: Stephen Rothwell > Fixes: f2f12eb9c32b ("drm/scheduler: provide scheduler score externally") Reviewed-by: Alex Deucher > --- > include/drm/gpu_scheduler.h | 1 + >

Re: [PATCH 10/34] drm/amdkfd: svm range eviction and restore

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210

Re: [PATCH v2 11/14] drm/bridge: ti-sn65dsi86: Power things properly for reading the EDID

2021-04-01 Thread Doug Anderson
Hi, On Thu, Apr 1, 2021 at 4:12 AM Andrzej Hajda wrote: > > > W dniu 31.03.2021 o 16:48, Doug Anderson pisze: > > Hi, > > > > On Wed, Mar 31, 2021 at 4:08 AM Andrzej Hajda wrote: > >> > >> W dniu 30.03.2021 o 04:53, Douglas Anderson pisze: > >>> eDP panels won't provide their EDID unless they're

Re: [PATCH] drivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER

2021-04-01 Thread Robert Foss
Hey Julian, Nice catch, this patch looks good to me. I've pushed it to drm-misc-next. https://cgit.freedesktop.org/drm/drm-misc/commit/?id=62066d3164467167fc27b2383f67d097e39bf176 On Mon, 22 Feb 2021 at 22:56, Julian Braha wrote: > > When DRM_TOSHIBA_TC358762 is enabled and DRM_KMS_HELPER is di

Re: [PATCH v3 0/2] drm/mediatek: Don't support hdmi connector creation

2021-04-01 Thread Chun-Kuang Hu
Hi, Dafna: Dafna Hirschfeld 於 2021年3月30日 週二 下午7:09寫道: > > commit f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges") > broke the display support for elm device since mtk_dpi calls > drm_bridge_attach with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR > while mtk_hdmi does not yet suppo

re: drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal

2021-04-01 Thread Colin Ian King
Hi, Static analysis with Coverity on Linux-next has detected a potential issue with the following commit: commit 480ae79537b28f30ef6e07b7de69a9ae2599daa7 Author: Maarten Lankhorst Date: Tue Mar 23 16:50:49 2021 +0100 drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal The ana

Re: [PATCH v6 5/5] drm/bridge: anx7625: add HDMI audio function

2021-04-01 Thread Robert Foss
Hey Xin, This patch looks good to me. Reviewed-by: Robert Foss On Fri, 19 Mar 2021 at 07:35, Xin Ji wrote: > > Add audio HDMI codec function support, enable it through device true flag > "analogix,audio-enable". > > Reported-by: kernel test robot > Signed-off-by: Xin Ji > --- > drivers/gpu/

[PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-01 Thread Christian König
Switch back to using a spinlock again by moving the IOMMU unmap outside of the locked region. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 40 +++--- include/linux/shrinker.h | 1 + mm/vmscan.c| 10 + 3 files c

Re: [PATCH v6 3/5] drm/bridge: anx7625: add MIPI DPI input feature support

2021-04-01 Thread Robert Foss
Hey Xin, This patch looks good to me, feel free to add my r-b. Reviewed-by: Robert Foss On Fri, 19 Mar 2021 at 07:34, Xin Ji wrote: > > Add MIPI rx DPI input support. > > Reported-by: kernel test robot > Signed-off-by: Xin Ji > --- > drivers/gpu/drm/bridge/analogix/anx7625.c | 245 +

Re: [Intel-gfx] [PATCH v2 00/20] drm: Use new DRM printk funcs (like drm_dbg_*()) in DP helpers

2021-04-01 Thread Jani Nikula
On Fri, 26 Mar 2021, Lyude Paul wrote: > Since it's been asked quite a few times on some of the various DP > related patch series I've submitted to use the new DRM printk helpers, > and it technically wasn't really trivial to do this before due to the > lack of a consistent way to find a drm_devic

Re: [PATCH v2 05/20] drm/dp: Add backpointer to drm_device in drm_dp_aux

2021-04-01 Thread Jani Nikula
On Fri, 26 Mar 2021, Lyude Paul wrote: > * The @dev field should be set to a pointer to the device that implements > the > - * AUX channel. > + * AUX channel. As well, the @drm_dev field should be set to the &drm_device > + * that will be using this AUX channel as early as possible. For many >

Re: [Freedreno] [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-04-01 Thread Dmitry Baryshkov
On Thu, 1 Apr 2021 at 16:19, wrote: > > On 2021-04-01 07:37, Dmitry Baryshkov wrote: > > On 01/04/2021 01:47, Rob Clark wrote: > >> On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov > >> wrote: > >>> > >>> On 31/03/2021 14:27, Kalyan Thota wrote: > WARN_ON was introduced by the below commit t

Re: [PATCH 09/34] drm/amdkfd: map svm range to GPUs

2021-04-01 Thread kernel test robot
patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v3/20210

Re: [PATCH 16/18] iommu: remove DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE

2021-04-01 Thread Will Deacon
On Thu, Apr 01, 2021 at 11:59:45AM +0200, Christoph Hellwig wrote: > For now I'll just pass the iommu_domain to iommu_get_dma_strict, > so that we can check for it. We can do additional cleanups on top > of that later. Sounds good to me, cheers! Will _

Re: [Freedreno] [v1] drm/msm/disp/dpu1: fix warn stack reported during dpu resume

2021-04-01 Thread kalyan_t
On 2021-04-01 07:37, Dmitry Baryshkov wrote: On 01/04/2021 01:47, Rob Clark wrote: On Wed, Mar 31, 2021 at 9:03 AM Dmitry Baryshkov wrote: On 31/03/2021 14:27, Kalyan Thota wrote: WARN_ON was introduced by the below commit to catch runtime resumes that are getting triggered before icc path w

Re: [PATCH] drm/ttm: add __user annotation in radeon_ttm_vram_read

2021-04-01 Thread Christian König
Am 24.10.20 um 02:47 schrieb Rasmus Villemoes: Keep sparse happy by preserving the __user annotation when casting. Reported-by: kernel test robot Signed-off-by: Rasmus Villemoes Reviewed-by: Christian König Going over old patches and stumbled over that once. Alex did you missed to pick it

[PATCH][next] drm/i915: Fix an uninitialized variable issue

2021-04-01 Thread Colin King
From: Colin Ian King Currently there is a while loop that contains a handful of continue statements that can skip over the assignment of the variable err. At the end of the loop there is a potiential for err to be unassigned and possibly causing issues when err is checked for a non-zero value. Fi

[PATCH] drm/sched: add missing member documentation

2021-04-01 Thread Christian König
Just fix a warning. Signed-off-by: Christian König Reported-by: Stephen Rothwell Fixes: f2f12eb9c32b ("drm/scheduler: provide scheduler score externally") --- include/drm/gpu_scheduler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.

Re: [PATCH v6 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-04-01 Thread Robert Foss
Hey Xin, This series no longer applies to drm-misc/drm-misc-next, please rebase it. On Wed, 24 Mar 2021 at 08:52, Xin Ji wrote: > > On Sun, Mar 21, 2021 at 02:00:38PM +0200, Laurent Pinchart wrote: > > Hi Xin, > > > > Thank you for the patch. > > > > On Fri, Mar 19, 2021 at 02:32:39PM +0800, Xin

Re: [PATCH] drm/amd/display: Try YCbCr420 color when YCbCr444 fails

2021-04-01 Thread Werner Sembach
Am 29.03.21 um 17:28 schrieb Alex Deucher: > Applied. Thanks! > > Alex Nice to hear that ^^ One quick question: Here do I find the amd-gfx dev branch? Kind regards, Werner Sembach > > On Fri, Mar 26, 2021 at 10:59 AM Harry Wentland > wrote: >> >> >> On 2021-03-24 4:23 p.m., Alex Deucher wrote

[PATCH 00/32] Fix broken documentation file references

2021-04-01 Thread Mauro Carvalho Chehab
Each patch on this series can be applied independently. They fix broken file references. Most of them are due to DT binding renames, but there are also other unrelated changes. This series is based on next-20210401. Mauro Carvalho Chehab (32): MAINTAINERS: update adi,ad5758.yaml reference

[PATCH 26/32] dt-bindings: iommu: mediatek: update mediatek, iommu.yaml references

2021-04-01 Thread Mauro Carvalho Chehab
Changeset bca28426805d ("dt-bindings: iommu: mediatek: Convert IOMMU to DT schema") renamed: Documentation/devicetree/bindings/iommu/mediatek,iommu.txt to: Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml. Update the cross-references accordingly. Fixes: bca28426805d ("dt-bindings: iom

Re: [PATCH v7 5/8] mm: Device exclusive memory access

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:20:05PM +1100, Alistair Popple wrote: > On Thursday, 1 April 2021 11:48:13 AM AEDT Jason Gunthorpe wrote: > > On Thu, Apr 01, 2021 at 11:45:57AM +1100, Alistair Popple wrote: > > > On Thursday, 1 April 2021 12:46:04 AM AEDT Jason Gunthorpe wrote: > > > > On Thu, Apr 01, 2

Re: [PATCH 07/34] drm/amdkfd: deregister svm range

2021-04-01 Thread kernel test robot
your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Check actual RC6 status

2021-04-01 Thread Tvrtko Ursulin
On 01/04/2021 11:24, Tamminen, Eero T wrote: Hi, On Thu, 2021-04-01 at 05:54 -0400, Rodrigo Vivi wrote: On Thu, Apr 01, 2021 at 10:38:11AM +0100, Tvrtko Ursulin wrote: ... I think it is possible to argue both ways. 1) HAS_RC6 means hardware has RC6 so if we view PMU as very low level we ca

Re: [PATCH v2 4/5] drm/vc4: hdmi: Enable the scrambler

2021-04-01 Thread Dave Stevenson
Hi Maxime On Thu, 18 Mar 2021 at 09:29, Maxime Ripard wrote: > > The HDMI controller on the BCM2711 includes a scrambler in order to > reach the modes that require it. Let's add the support for it. Nit pick - it's as part of the HDMI2.0 spec. > Signed-off-by: Maxime Ripard > --- > drivers/gpu

Re: [PATCH v2 3/5] drm/vc4: hdmi: Check and warn if we can't reach 4kp60 frequencies

2021-04-01 Thread Dave Stevenson
Hi Maxime On Thu, 18 Mar 2021 at 09:29, Maxime Ripard wrote: > > In order to reach the frequencies needed to output at 594MHz, the > firmware needs to be configured with the appropriate parameters in the > config.txt file (enable_hdmi_4kp60 and force_turbo). > > Let's detect it at bind time, warn

Re: [PATCH v2 11/14] drm/bridge: ti-sn65dsi86: Power things properly for reading the EDID

2021-04-01 Thread Andrzej Hajda
W dniu 31.03.2021 o 16:48, Doug Anderson pisze: > Hi, > > On Wed, Mar 31, 2021 at 4:08 AM Andrzej Hajda wrote: >> >> W dniu 30.03.2021 o 04:53, Douglas Anderson pisze: >>> eDP panels won't provide their EDID unless they're powered on. Let's >>> chain a power-on before we read the EDID. This rough

Re: [PATCH v2 2/5] drm/vc4: hdmi: Properly compute the BVB clock rate

2021-04-01 Thread Dave Stevenson
Hi Maxime Sorry for the delay in reviewing these patches. On Thu, 18 Mar 2021 at 09:29, Maxime Ripard wrote: > > The BVB clock rate computation doesn't take into account a mode clock of > 594MHz that we're going to need to support 4k60. > > Signed-off-by: Maxime Ripard Reviewed-by: Dave Steven

[PULL] drm-misc-next

2021-04-01 Thread Maxime Ripard
Hi Dave, Daniel, It's still a fairly quiet week, but here's what should be our last drm-misc-next PR for 5.13 Maxime drm-misc-next-2021-04-01: drm-misc-next for 5.13: UAPI Changes: Cross-subsystem Changes: Core Changes: - mst: Improve topology logging - edid: Rework and improvements for d

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Check actual RC6 status

2021-04-01 Thread Tamminen, Eero T
Hi, On Thu, 2021-04-01 at 05:54 -0400, Rodrigo Vivi wrote: > On Thu, Apr 01, 2021 at 10:38:11AM +0100, Tvrtko Ursulin wrote: ... > > I think it is possible to argue both ways. > > > > 1) > > HAS_RC6 means hardware has RC6 so if we view PMU as very low level > > we can > > say always export it. >

Re: [PATCH 03/34] drm/amdkfd: register svm range

2021-04-01 Thread kernel test robot
your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Felix-Kuehling/Add-HMM-based-SVM-memory-manager-to-KFD-v

Re: [PATCH] zero-fill colormap in drivers/video/fbdev/core/fbcmap.c

2021-04-01 Thread Geert Uytterhoeven
On Thu, Apr 1, 2021 at 12:09 AM Phillip Potter wrote: > Use kzalloc() rather than kmalloc() for the dynamically allocated parts > of the colormap in fb_alloc_cmap_gfp, to prevent a leak of random kernel > data to userspace under certain circumstances. > > Fixes a KMSAN-found infoleak bug reported

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Check actual RC6 status

2021-04-01 Thread Rodrigo Vivi
On Thu, Apr 01, 2021 at 10:38:11AM +0100, Tvrtko Ursulin wrote: > > On 01/04/2021 10:19, Rodrigo Vivi wrote: > > On Wed, Mar 31, 2021 at 11:18:50AM +0100, Tvrtko Ursulin wrote: > > > From: Tvrtko Ursulin > > > > > > RC6 support cannot be simply established by looking at the static device > > > H

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Check actual RC6 status

2021-04-01 Thread Tvrtko Ursulin
On 01/04/2021 10:19, Rodrigo Vivi wrote: On Wed, Mar 31, 2021 at 11:18:50AM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin RC6 support cannot be simply established by looking at the static device HAS_RC6() flag. There are cases which disable RC6 at driver load time so use the status of th

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Do not report 100% RC6 if not supported

2021-04-01 Thread Rodrigo Vivi
On Tue, Mar 30, 2021 at 04:06:37PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > We use GT parked status to estimate RC6 while not in use, however if RC6 > is not supported to start with that does not work very well and produces a > false 100% RC6 readout. oh! I had missed this one...

[GIT PULL] drm/imx: fixes for v5.12

2021-04-01 Thread Philipp Zabel
Hi Dave, Daniel, this PR includes a regression fix for the imx-ldb driver, which fails to register channel 1 if channel 0 is disabled since v5.12-rc2. Also, there's an imx-ldb build warning fix for W=1 builds and a fix for a memory leak in the imx-drm-core bind error path. The following changes s

Re: [Intel-gfx] [PATCH] drm/i915/pmu: Check actual RC6 status

2021-04-01 Thread Rodrigo Vivi
On Wed, Mar 31, 2021 at 11:18:50AM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > RC6 support cannot be simply established by looking at the static device > HAS_RC6() flag. There are cases which disable RC6 at driver load time so > use the status of those check when deciding whether to e

Re: [PATCH v7 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-04-01 Thread Liu Ying
On Wed, 2021-03-31 at 08:40 -0500, Rob Herring wrote: > On Wed, 31 Mar 2021 14:33:18 +0800, Liu Ying wrote: > > This patch adds bindings for i.MX8qm/qxp Control and Status Registers > > module. > > > > Reviewed-by: Rob Herring > > Signed-off-by: Liu Ying > > --- > > v6->v7: > > * Add Rob's R-b

[PULL] drm-intel-next

2021-04-01 Thread Jani Nikula
Hi Dave & Daniel - The final drm-intel-next feature pull for v5.13. Or, truthfully, a pull request of refactoring both to clean up and prepare for future. Joonas will still send a drm-intel-gt-next pull request, probably next week due to easter holidays. We'll do backmerges to sync up after eve

[PATCH] drm/nouveau: remove unused code

2021-04-01 Thread Jiapeng Chong
Fix the following whitescan warning: drivers/gpu/drm/nouveau/nouveau_bo.c:1287:17: warning: variable ‘dev’ set but not used [-Wunused-but-set-variable]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 -- 1 file changed, 2 deletions(-) diff -

Re: [RESEND PATCH v4 1/2] dt-bindings: drm/bridge: anx7625: Add power supplies

2021-04-01 Thread Robert Foss
Hey Hsin-Yi, Thanks for the reminder, just merged the series. https://cgit.freedesktop.org/drm/drm-misc/commit/?id=2f240cdb23e9cde551d99c77f4e60062188d8d81 On Thu, 1 Apr 2021 at 07:32, Hsin-Yi Wang wrote: > > anx7625 requires 3 power supply regulators. > > Signed-off-by: Hsin-Yi Wang > Reviewe

Re: [PATCH v5 2/5] phy: Add LVDS configuration options

2021-04-01 Thread Liu Ying
Hi Kishon, First of all, thanks for your review. On Wed, 2021-03-31 at 19:02 +0530, Kishon Vijay Abraham I wrote: > Hi, > > On 25/03/21 2:30 pm, Liu Ying wrote: > > This patch allows LVDS PHYs to be configured through > > the generic functions and through a custom structure > > added to the gene

[PATCH] drm/drm_internal.h: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct drm_gem_object is declared twice. One is declared at 40th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/drm_internal.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.

linux-next: build warnings after merge of the drm tree

2021-04-01 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced these warnings: drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Excess function parameter 'trampoline' description in 'intel_engine_cmd_parser' drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Function pa

linux-next: build warning after merge of the drm tree

2021-04-01 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced this warning: drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Function parameter or member 'ww' not described in 'i915_gem_shrink' Introduced by commit cf41a8f1dc1e ("drm/i915: Finally remove obj->mm.