AMDGPU VCE 1: some info needed

2021-01-07 Thread Alexandre Demers
Hi there, Some of you may remember I was working on porting VCE 1 from Radeon to AMDGPU a few years ago... about 3 and a half years. I hadn't had time to work on it until last Holidays. But why do I persist in this work? Because GCN 1st gen was still used in some GPU produced 4 years ago (Radeon

Re: [kbuild-all] Re: [PATCH v3 8/8] drm: Upcast struct drm_device.dev to struct pci_device; replace pdev

2021-01-07 Thread Rong Chen
' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Move-struct-drm_device-pdev-to-legacy/20210107-161007 base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-s021-20210107 (attached as .config

RE: [PATCH 3/3] Revert "drm/amd/display: Expose new CRC window property"

2021-01-07 Thread Lin, Wayne
[AMD Public Use] Thanks Siqueira. Comments below. > -Original Message- > From: Siqueira, Rodrigo > Sent: Friday, January 8, 2021 4:53 AM > To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: Lin, Wayne ; Deucher, Alexander > ; Wentland, Harry > ; Li, Roman ; R,

RE: [PATCH] amdgpu/sriov Stop data exchange for wholegpu reset

2021-01-07 Thread Zhang, Jack (Jian)
Ping -Original Message- From: Jack Zhang Sent: Thursday, January 7, 2021 6:47 PM To: amd-gfx@lists.freedesktop.org Cc: Zhang, Jack (Jian) ; Zhang, Jack (Jian) ; Chen, JingWen Subject: [PATCH] amdgpu/sriov Stop data exchange for wholegpu reset [Why] When host trigger a whole gpu

RE: [PATCH v2] drm/amdgpu:Limit the resolution for virtual_display

2021-01-07 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Ping .. Best wishes Emily Deng >-Original Message- >From: Emily Deng >Sent: Thursday, January 7, 2021 11:29 AM >To: amd-gfx@lists.freedesktop.org >Cc: Deng, Emily >Subject: [PATCH v2] drm/amdgpu:Limit the resolution for

RE: [PATCH] drm/amdgpu: Decrease compute timeout to 10 s for sriov multiple VF

2021-01-07 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Ping .. Best wishes Emily Deng >-Original Message- >From: amd-gfx On Behalf Of Emily >Deng >Sent: Thursday, January 7, 2021 10:50 AM >To: amd-gfx@lists.freedesktop.org >Cc: Deng, Emily >Subject: [PATCH] drm/amdgpu: Decrease

[PATCH] drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)

2021-01-07 Thread Alexandre Demers
This fix bug 210921 where DRM_INFO floods log when hitting an unsupported ASIC in amdgpu_device_asic_has_dc_support(). This info should be only called once. Signed-off-by: Alexandre Demers --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Daniel Vetter
On Thu, Jan 7, 2021 at 7:16 PM Mario Kleiner wrote: > > On Thu, Jan 7, 2021 at 7:04 PM Daniel Vetter wrote: >> >> On Thu, Jan 7, 2021 at 7:00 PM Mario Kleiner >> wrote: >> > >> > On Thu, Jan 7, 2021 at 6:57 PM Daniel Vetter wrote: >> >> >> >> On Sat, Jan 02, 2021 at 04:31:36PM +0100, Mario

Re: [PATCH 0/3] Revert "drm/amd/display: Expose new CRC window property" and changes associated with this commit

2021-01-07 Thread Alex Deucher
On Thu, Jan 7, 2021 at 3:53 PM Rodrigo Siqueira wrote: > > Hi, > > A couple of weeks ago, Daniel highlighted [1] some issue related to a > patch entitle "drm/amd/display: Expose new CRC window property". After > discussion, we realize that we can revert that patch because we will > need to

Re: [PATCH] Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"

2021-01-07 Thread Alex Deucher
On Thu, Jan 7, 2021 at 4:23 PM Rodrigo Siqueira wrote: > > The patch > > commit a861736dae64 ("drm/amd/display: Fixed Intermittent blue screen on OLED > panel") > > causes power regression for many users. It seems that this change causes > the MCLK to get forced high; this creates a regression

[PATCH] Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"

2021-01-07 Thread Rodrigo Siqueira
The patch commit a861736dae64 ("drm/amd/display: Fixed Intermittent blue screen on OLED panel") causes power regression for many users. It seems that this change causes the MCLK to get forced high; this creates a regression for many users since their devices were not able to drop to a low state

[PATCH 3/3] Revert "drm/amd/display: Expose new CRC window property"

2021-01-07 Thread Rodrigo Siqueira
This reverts commit 110d586ba77ed573eb7464ca69b6490ec0b70c5f. Cc: Wayne Lin Cc: Alexander Deucher Cc: Harry Wentland Cc: Roman Li Cc: Bindu R Cc: Daniel Vetter Signed-off-by: Rodrigo Siqueira --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 142 +-

[PATCH 1/3] Revert "drm/amd/display: Fix unused variable warning"

2021-01-07 Thread Rodrigo Siqueira
This reverts commit b5d8f1d02ba7021cad1bd5ad8460ce5611c479d8. Cc: Wayne Lin Cc: Alexander Deucher Cc: Harry Wentland Cc: Roman Li Cc: Bindu R Cc: Daniel Vetter Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 +++-

[PATCH 2/3] Revert "drm/amdgpu/disply: fix documentation warnings in display manager"

2021-01-07 Thread Rodrigo Siqueira
This reverts commit 1206904465c8a9eebff9ca5a65effc8cf8f3cb84. Cc: Wayne Lin Cc: Alexander Deucher Cc: Harry Wentland Cc: Roman Li Cc: Bindu R Cc: Daniel Vetter Signed-off-by: Rodrigo Siqueira --- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 21 +-- 1 file changed, 1

[PATCH 0/3] Revert "drm/amd/display: Expose new CRC window property" and changes associated with this commit

2021-01-07 Thread Rodrigo Siqueira
Hi, A couple of weeks ago, Daniel highlighted [1] some issue related to a patch entitle "drm/amd/display: Expose new CRC window property". After discussion, we realize that we can revert that patch because we will need to create a debugfs or full UAPI for CRC soon, which will make this code

Re: [PATCH 1/2] drm/radeon: stop re-init the TTM page pool

2021-01-07 Thread Christian König
Am 07.01.21 um 19:07 schrieb Daniel Vetter: On Tue, Jan 05, 2021 at 07:23:08PM +0100, Christian König wrote: Drivers are not supposed to init the page pool directly any more. Signed-off-by: Christian König Please include reported-by credits and link to the bug reports on lore.kernel.org when

Re: [PATCH 2/2] drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH

2021-01-07 Thread Leo Liu
On 2021-01-05 5:54 p.m., Bokun Zhang wrote: In the past, we use MMSCH to determine whether a VCN is enabled or not. This is not reliable since after a FLR, MMSCH may report junk data. It is better to use IP discovery data. Change-Id: I8b6c32c34017b20dcaebffdaa78bb07178e9d03c Signed-off-by:

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Mario Kleiner
On Thu, Jan 7, 2021 at 7:04 PM Daniel Vetter wrote: > On Thu, Jan 7, 2021 at 7:00 PM Mario Kleiner > wrote: > > > > On Thu, Jan 7, 2021 at 6:57 PM Daniel Vetter wrote: > >> > >> On Sat, Jan 02, 2021 at 04:31:36PM +0100, Mario Kleiner wrote: > >> > On Sat, Jan 2, 2021 at 3:02 PM Bas

Re: [PATCH 1/2] drm/radeon: stop re-init the TTM page pool

2021-01-07 Thread Daniel Vetter
On Tue, Jan 05, 2021 at 07:23:08PM +0100, Christian König wrote: > Drivers are not supposed to init the page pool directly any more. > > Signed-off-by: Christian König Please include reported-by credits and link to the bug reports on lore.kernel.org when merging this. Also I guess this should

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Daniel Vetter
On Thu, Jan 7, 2021 at 7:00 PM Mario Kleiner wrote: > > On Thu, Jan 7, 2021 at 6:57 PM Daniel Vetter wrote: >> >> On Sat, Jan 02, 2021 at 04:31:36PM +0100, Mario Kleiner wrote: >> > On Sat, Jan 2, 2021 at 3:02 PM Bas Nieuwenhuizen >> > wrote: >> > > >> > > With modifiers one can actually have

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Mario Kleiner
On Thu, Jan 7, 2021 at 6:57 PM Daniel Vetter wrote: > On Sat, Jan 02, 2021 at 04:31:36PM +0100, Mario Kleiner wrote: > > On Sat, Jan 2, 2021 at 3:02 PM Bas Nieuwenhuizen > > wrote: > > > > > > With modifiers one can actually have different format_info structs > > > for the same format, which

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Mario Kleiner
On Thu, Jan 7, 2021 at 6:21 PM Liu, Zhan wrote: > > [AMD Official Use Only - Internal Distribution Only] > > > -Original Message- > > From: Liu, Zhan > > Sent: 2021/January/06, Wednesday 10:04 AM > > To: Bas Nieuwenhuizen ; Mario Kleiner > > > > Cc: dri-devel ; amd-gfx list >

Re: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Daniel Vetter
On Sat, Jan 02, 2021 at 04:31:36PM +0100, Mario Kleiner wrote: > On Sat, Jan 2, 2021 at 3:02 PM Bas Nieuwenhuizen > wrote: > > > > With modifiers one can actually have different format_info structs > > for the same format, which now matters for AMDGPU since we convert > > implicit modifiers to

RE: [PATCH v2] drm/amdgpu: Do not change amdgpu framebuffer format during page flip

2021-01-07 Thread Liu, Zhan
> -Original Message- > From: Daniel Vetter > Sent: 2021/January/07, Thursday 12:33 PM > To: Koenig, Christian > Cc: Liu, Zhan ; amd-gfx@lists.freedesktop.org; Cornij, > Nikola ; Wang, Chao-kai (Stylon) > ; Wang, Chao-kai (Stylon) > ; dri-de...@lists.freedesktop.org; Kazlauskas, >

Re: [PATCH v2] drm/amdgpu: Do not change amdgpu framebuffer format during page flip

2021-01-07 Thread Daniel Vetter
On Sun, Jan 03, 2021 at 04:43:37PM +0100, Christian König wrote: > Am 29.12.20 um 22:10 schrieb Zhan Liu: > > [Why] > > Driver cannot change amdgpu framebuffer (afb) format while doing > > page flip. Force system doing so will cause ioctl error, and result in > > breaking several functionalities

RE: [PATCH] drm: Check actual format for legacy pageflip.

2021-01-07 Thread Liu, Zhan
[AMD Official Use Only - Internal Distribution Only] > -Original Message- > From: Liu, Zhan > Sent: 2021/January/06, Wednesday 10:04 AM > To: Bas Nieuwenhuizen ; Mario Kleiner > > Cc: dri-devel ; amd-gfx list g...@lists.freedesktop.org>; Deucher, Alexander > ; Daniel Vetter ; >

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Felix Kuehling
Am 2021-01-07 um 11:28 a.m. schrieb Christian König: > Am 07.01.21 um 17:16 schrieb Felix Kuehling: >> Am 2021-01-07 um 5:56 a.m. schrieb Christian König: >> >>> Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism.

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-07 Thread Andrey Grodzovsky
On 1/7/21 11:30 AM, Daniel Vetter wrote: On Thu, Jan 07, 2021 at 11:26:52AM -0500, Andrey Grodzovsky wrote: On 1/7/21 11:21 AM, Daniel Vetter wrote: On Tue, Jan 05, 2021 at 04:04:16PM -0500, Andrey Grodzovsky wrote: On 11/23/20 3:01 AM, Christian König wrote: Am 23.11.20 um 05:54 schrieb

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-07 Thread Daniel Vetter
On Thu, Jan 07, 2021 at 11:26:52AM -0500, Andrey Grodzovsky wrote: > > On 1/7/21 11:21 AM, Daniel Vetter wrote: > > On Tue, Jan 05, 2021 at 04:04:16PM -0500, Andrey Grodzovsky wrote: > > > On 11/23/20 3:01 AM, Christian König wrote: > > > > Am 23.11.20 um 05:54 schrieb Andrey Grodzovsky: > > > >

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Christian König
Am 07.01.21 um 17:16 schrieb Felix Kuehling: Am 2021-01-07 um 5:56 a.m. schrieb Christian König: Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-07 Thread Andrey Grodzovsky
Typo Correction bellow On 1/7/21 11:26 AM, Andrey Grodzovsky wrote: Or is the idea to save the struct page * pointer? That feels a bit like over-optimizing stuff. Better to have a simple implementation first and then tune it if (and only if) any part of it becomes a problem for normal usage.

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-07 Thread Andrey Grodzovsky
On 1/7/21 11:21 AM, Daniel Vetter wrote: On Tue, Jan 05, 2021 at 04:04:16PM -0500, Andrey Grodzovsky wrote: On 11/23/20 3:01 AM, Christian König wrote: Am 23.11.20 um 05:54 schrieb Andrey Grodzovsky: On 11/21/20 9:15 AM, Christian König wrote: Am 21.11.20 um 06:21 schrieb Andrey Grodzovsky:

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-07 Thread Felix Kuehling
Am 2021-01-07 um 4:23 a.m. schrieb Daniel Vetter: > On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix Kuehling wrote: >> This is the first version of our HMM based shared virtual memory manager >> for KFD. There are still a number of known issues that we're working through >> (see below). This will

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-07 Thread Daniel Vetter
On Tue, Jan 05, 2021 at 04:04:16PM -0500, Andrey Grodzovsky wrote: > > On 11/23/20 3:01 AM, Christian König wrote: > > Am 23.11.20 um 05:54 schrieb Andrey Grodzovsky: > > > > > > On 11/21/20 9:15 AM, Christian König wrote: > > > > Am 21.11.20 um 06:21 schrieb Andrey Grodzovsky: > > > > > Will be

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Felix Kuehling
Am 2021-01-07 um 5:56 a.m. schrieb Christian König: > Am 07.01.21 um 04:01 schrieb Felix Kuehling: >> From: Alex Sierra >> >> [why] >> To support svm bo eviction mechanism. >> >> [how] >> If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, >> enable_signal callback will be called inside

Re: [PATCH] drm/amdgpu: don't limit gtt size on apus

2021-01-07 Thread Christian König
Am 06.01.21 um 18:04 schrieb Joshua Ashton: On 1/6/21 2:59 PM, Christian König wrote: Am 06.01.21 um 15:18 schrieb Joshua Ashton: [SNIP] For Vulkan we (both RADV and AMDVLK) use GTT as the total size. Usage in modern games is essentially "bindless" so there is no way to track at a

[PATCH 5.10 01/20] Revert "drm/amd/display: Fix memory leaks in S3 resume"

2021-01-07 Thread Greg Kroah-Hartman
From: Alex Deucher This reverts commit a135a1b4c4db1f3b8cbed9676a40ede39feb3362. This leads to blank screens on some boards after replugging a display. Revert until we understand the root cause and can fix both the leak and the blank screen after replug. Cc: Stylon Wang Cc: Harry Wentland

[PATCH 5.4 01/13] Revert "drm/amd/display: Fix memory leaks in S3 resume"

2021-01-07 Thread Greg Kroah-Hartman
From: Alex Deucher This reverts commit a135a1b4c4db1f3b8cbed9676a40ede39feb3362. This leads to blank screens on some boards after replugging a display. Revert until we understand the root cause and can fix both the leak and the blank screen after replug. Cc: Stylon Wang Cc: Harry Wentland

Re: [PATCH 32/35] drm/amdgpu: enable retry fault wptr overflow

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Philip Yang If xnack is on, VM retry fault interrupt send to IH ring1, and ring1 will be full quickly. IH cannot receive other interrupts, this causes deadlock if migrating buffer using sdma and waiting for sdma done while handling retry

Re: [PATCH 31/35] drm/amdgpu: reserve fence slot to update page table

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Philip Yang Forgot to reserve a fence slot to use sdma to update page table, cause below kernel BUG backtrace to handle vm retry fault while application is exiting. [ 133.048143] kernel BUG at

Re: [PATCH 29/35] drm/amdgpu: svm bo enable_signal call condition

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Alex Sierra [why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal callback will be called inside amdgpu_evict_flags. This also causes gutting of the BO by removing all

Re: [PATCH 12/35] drm/amdgpu: export vm update mapping interface

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Philip Yang It will be used by kfd to map svm range to GPU, because svm range does not have amdgpu_bo and bo_va, cannot use amdgpu_bo_update interface, use amdgpu vm update interface directly. Signed-off-by: Philip Yang Signed-off-by: Felix

Re: [PATCH 08/35] drm/amdgpu: add common HMM get pages function

2021-01-07 Thread Christian König
Am 07.01.21 um 04:01 schrieb Felix Kuehling: From: Philip Yang Move the HMM get pages function from amdgpu_ttm and to amdgpu_mn. This common function will be used by new svm APIs. Signed-off-by: Philip Yang Signed-off-by: Felix Kuehling Acked-by: Christian König ---

[PATCH] amdgpu/sriov Stop data exchange for wholegpu reset

2021-01-07 Thread Jack Zhang
[Why] When host trigger a whole gpu reset, guest will keep waiting till host finish reset. But there's a work queue in guest exchanging data between vf which need to access frame buffer. During whole gpu reset, frame buffer is not accessable, and this causes the call trace. [How] After vf get

Re: [PATCH v3 8/8] drm: Upcast struct drm_device.dev to struct pci_device; replace pdev

2021-01-07 Thread Thomas Zimmermann
-to-legacy/20210107-161007 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-s021-20210107 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-208-g46a52ca4-dirty # https

RE: [PATCH 3/3] drm/amdgpu:Limit the resolution for virtual_display

2021-01-07 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] >-Original Message- >From: Michel Dänzer >Sent: Thursday, January 7, 2021 4:42 PM >To: Deng, Emily ; Alex Deucher > >Cc: amd-gfx list >Subject: Re: [PATCH 3/3] drm/amdgpu:Limit the resolution for virtual_display > >On 2021-01-07 3:28

Re: [PATCH v3 8/8] drm: Upcast struct drm_device.dev to struct pci_device; replace pdev

2021-01-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Move-struct-drm_device-pdev-to-legacy/20210107-161007 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: microblaze-randconfig-r013-20210107

Re: [PATCH v3 8/8] drm: Upcast struct drm_device.dev to struct pci_device; replace pdev

2021-01-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Thomas-Zimmermann/drm-Move-struct-drm_device-pdev-to-legacy/20210107-161007 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-s021-20210107

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-07 Thread Daniel Vetter
On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix Kuehling wrote: > This is the first version of our HMM based shared virtual memory manager > for KFD. There are still a number of known issues that we're working through > (see below). This will likely lead to some pretty significant changes in > MMU

Re: [pull] amdgpu drm-fixes-5.11

2021-01-07 Thread Daniel Vetter
On Wed, Jan 06, 2021 at 05:27:21PM -0500, Alex Deucher wrote: > Hi Dave, Daniel, > > New URL. FDO ran out of disk space, so I'm attempting to move to gitlab. > Let me know if you run into any issues. Worked fine. Did you puing linux-next to update your tree location? Also legacy fd.o git seems

Re: [PATCH 3/3] drm/amdgpu:Limit the resolution for virtual_display

2021-01-07 Thread Michel Dänzer
On 2021-01-07 3:28 a.m., Deng, Emily wrote: From: Michel Dänzer On 2021-01-06 11:40 a.m., Deng, Emily wrote: From: Alex Deucher On Tue, Jan 5, 2021 at 3:37 AM Emily.Deng wrote: Limit the resolution not bigger than 16384, which means dev->mode_info.num_crtc * common_modes[i].w not bigger

[PATCH v3 8/8] drm: Upcast struct drm_device.dev to struct pci_device; replace pdev

2021-01-07 Thread Thomas Zimmermann
We have DRM drivers based on USB, SPI and platform devices. All of them are fine with storing their device reference in struct drm_device.dev. PCI devices should be no exception. Therefore struct drm_device.pdev is deprecated. Instead upcast from struct drm_device.dev with to_pci_dev().

[PATCH v3 7/8] drm/nouveau: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert nouveau to struct drm_device.dev. No functional changes. v3: * fix nv04_dfp_update_backlight() as well (Jeremy) Signed-off-by: Thomas Zimmermann Reviewed-by: Jeremy Cline Cc: Ben Skeggs --- drivers/gpu/drm/nouveau/dispnv04/arb.c

[PATCH v3 6/8] drm/i915/gvt: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert i915 to struct drm_device.dev. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi --- drivers/gpu/drm/i915/gvt/cfg_space.c | 5 +++-- drivers/gpu/drm/i915/gvt/firmware.c | 10

[PATCH v3 4/8] drm/i915: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert i915 to struct drm_device.dev. No functional changes. v3: * rebased v2: * move gt/ and gvt/ changes into separate patches Signed-off-by: Thomas Zimmermann Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi ---

[PATCH v3 3/8] drm/hibmc: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert hibmc to struct drm_device.dev. No functional changes. v3: * rebased Signed-off-by: Thomas Zimmermann Reviewed-by: Tian Tao Acked-by: Sam Ravnborg Cc: Xinliang Liu Cc: Tian Tao Cc: John Stultz Cc: Xinwei Kong Cc: Chen Feng ---

[PATCH v3 5/8] drm/i915/gt: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert i915 to struct drm_device.dev. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_ggtt.c |

[PATCH v3 0/8] drm: Move struct drm_device.pdev to legacy

2021-01-07 Thread Thomas Zimmermann
I merged many of the patches that were ready in v2 into drm-misc-next. In v3 remain only patches that need an r-b/a-b (i915/gt/gvt) or required a change from v2. The pdev field in struct drm_device points to a PCI device structure and goes back to UMS-only days when all DRM drivers were for PCI

[PATCH v3 2/8] drm/amdgpu: Remove references to struct drm_device.pdev

2021-01-07 Thread Thomas Zimmermann
Using struct drm_device.pdev is deprecated. Convert amdgpu to struct drm_device.dev. No functional changes. v3: * rebased Signed-off-by: Thomas Zimmermann Acked-by: Christian König Acked-by: Alex Deucher Acked-by: Sam Ravnborg Cc: Alex Deucher Cc: Christian König ---

[PATCH v3 1/8] drm/amdgpu: Fix trailing whitespaces

2021-01-07 Thread Thomas Zimmermann
Adhere to kernel coding style. Signed-off-by: Thomas Zimmermann Reviewed-by: Christian König Acked-by: Alex Deucher Acked-by: Sam Ravnborg Cc: Alex Deucher Cc: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff