Re: [GIT PULL] mediatek drm fixes - 20220325

2022-03-24 Thread Dave Airlie
On Fri, 25 Mar 2022 at 09:09, Chun-Kuang Hu wrote: > > Hi, Dave & Daniel: > > This includes: > > 1. Fix dt-binding issue. > This tree is based on a random drm-next tree, which I can't pull. Please base it on the latest drm-next tree. I tried cherry-pick these patches over and it failed badly on

[git pull] drm fixes for 5.18-rc1

2022-03-24 Thread Dave Airlie
ported TMDS rates on ICL+ - Treat SAGV block time 0 as SAGV disabled - Fix PSF GV point mask when SAGV is not possible - Fix renamed INTEL_INFO->media.arch/ver field Cooper Chiou (1): drm/edid: check basic audio support on

Re: [git pull] drm for 5.18-rc1

2022-03-24 Thread Dave Airlie
> FYI, this breaks the DT bindings. The relevant patches didn't get > reviewed nor run thru automated testing because their encoding was > 'charset=y'[1]. (While email clients seem to just ignore that > encoding, patchwork and b4 do not.) linux-next is still broken and has > been since Mar 2[2]. v2

Re: [PULL] drm-intel-gt-next

2022-02-20 Thread Dave Airlie
On Thu, 17 Feb 2022 at 20:26, Joonas Lahtinen wrote: > > Hi Dave & Daniel, > > Here is the first drm-intel-gt-next feature PR towards v5.18. Am I missing some previous drm-intel pull? /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/i915/gt/intel_workarounds.c: In function ‘rcs_engine_wa_init’

[git pull] drm fixes for 5.17-rc6

2022-02-24 Thread Dave Airlie
-- Bas Nieuwenhuizen (1): drm/amd/display: Protect update_bw_bounding_box FPU code. Chen Gong (1): drm/amdgpu: do not enable asic reset for raven2 Christian König (1): drm/radeon: fix variable type Dave Airlie (4): Merge tag 

Re: linux-next: build failure after merge of the drm tree

2022-02-27 Thread Dave Airlie
On Mon, 28 Feb 2022 at 16:44, Hsin-Yi Wang wrote: > > On Sat, Feb 26, 2022 at 12:43 AM wrote: > > > > Hi all, > > > > After merging the drm tree, today's linux-next build (x86 allmodconfig) > > failed like this: > > > > lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x10b: call >

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

2022-02-27 Thread Dave Airlie
Hi Thierry, dim: d65e338027e7 ("gpu: host1x: Fix an error handling path in 'host1x_probe()'"): SHA1 in fixes line not found: dim: e3166698a8a0 ("drm/tegra: Implement buffer object cache") not the same as 1f39b1dfa53c84b56d7ad37fed44afda7004959d Author: Thierry Reding Date: Fri Feb 7 16:5

Re: [pull] amdgpu, amdkfd drm-next-5.18

2022-02-27 Thread Dave Airlie
On Sat, 26 Feb 2022 at 04:35, Alex Deucher wrote: > > Hi Dave, Daniel, > > New stuff for 5.18. > > The following changes since commit b63c54d978236dd6014cf2ffba96d626e97c915c: > > drm/amdkfd: Use proper enum in pm_unmap_queues_v9() (2022-02-17 15:59:06 > -0500) > > are available in the Git repo

Re: [pull] amdgpu, amdkfd drm-next-5.18

2022-02-28 Thread Dave Airlie
On Tue, 1 Mar 2022 at 03:11, Alex Deucher wrote: > > On Mon, Feb 28, 2022 at 1:55 AM Dave Airlie wrote: > > > > On Sat, 26 Feb 2022 at 04:35, Alex Deucher > > wrote: > > > > > > Hi Dave, Daniel, > > > > > > New st

Re: linux-next: build failure after merge of the drm tree

2022-02-28 Thread Dave Airlie
Yes, please do., sorry for HTML, stuck on tablet. On Tue, 1 Mar 2022, 1:33 am Robert Foss, wrote: > > > > > > > > Caused by commit > > > > > > > > b5c84a9edcd418 ("drm/bridge: add it6505 driver") > > > > > > > > I have used the drm tree from yesterday instead. > > > > > > hi all, > > > > > > T

[git pull] drm fixes for 5.17-rc7

2022-03-03 Thread Dave Airlie
nter deref Carsten Haitzler (1): drm/arm: arm hdlcd select DRM_GEM_CMA_HELPER Dave Airlie (4): Merge tag 'exynos-drm-fixes-v5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes Merge tag 'drm-intel

Re: [Intel-gfx] [PATCH v10 03/11] drm/ttm: Add a generic TTM memcpy move for page-based iomem

2021-08-29 Thread Dave Airlie
I've just been talking with Ben about nouveau having some issues since this path, ttm_resource can be subclassed by drivers, and the code below that copies ttm_resources around pretty much seems to destroy that. > + struct ttm_resource *src_mem = &bo->mem; > + struct ttm_resource_man

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-09-01 Thread Dave Airlie
On Thu, 2 Sept 2021 at 01:20, Alex Deucher wrote: > > On Wed, Sep 1, 2021 at 6:19 AM Liu, Monk wrote: > > > > [AMD Official Use Only] > > > > Daniel > > > > From the link you share it looks you(or someone else) have quite a bunch > > patches that changes DRM_SCHED or even amdgpu, by that case be

intel display struct refactor

2021-09-05 Thread Dave Airlie
I posted an intro set of patches to intel-gfx earlier, but I got a bit OCD and kept going here. https://cgit.freedesktop.org/~airlied/linux/log/?h=i915-display-struct-refactor Mainly looking to see if this is interesting enough refactor to get it landed, I realise it would be quite disruptive. I'

Re: [PULL] drm-misc-fixes

2021-09-08 Thread Dave Airlie
On Thu, 9 Sept 2021 at 03:44, Thomas Zimmermann wrote: > > Hi Dave and Daniel, > > here's this week's PR for drm-misc-fixes. One patch is a potential deadlock > in TTM, the other enables an additional plane in kmb. I'm slightly unhappy > that the latter one ended up in -fixes as it's not a bugfix

Re: [PULL] drm-misc-fixes

2021-09-09 Thread Dave Airlie
On Thu, 9 Sept 2021 at 19:30, Daniel Vetter wrote: > > On Thu, Sep 9, 2021 at 5:35 AM Dave Airlie wrote: > > > > On Thu, 9 Sept 2021 at 03:44, Thomas Zimmermann wrote: > > > > > > Hi Dave and Daniel, > > > > > > here's this week's

[git pull] drm fixes for 5.15-rc1

2021-09-09 Thread Dave Airlie
reported by coverity Colin Ian King (2): drm/mgag200: Fix uninitialized variable delta drm/amdgpu/swsmu: fix spelling mistake "minimun" -> "minimum" Dave Airlie (3): Merge tag 'amd-drm-next-5.15-2021-09-01' of https://gitlab.freedesktop.org/agd5f/lin

Re: Accelerator drivers going forward (was Re: Habanalabs Open-Source TPC LLVM compiler and SynapseAI Core library)

2021-09-12 Thread Dave Airlie
On Sun, 12 Sept 2021 at 23:55, Greg Kroah-Hartman wrote: > > On Fri, Sep 10, 2021 at 06:10:27PM +0200, Daniel Vetter wrote: > > Forgot to add dri-devel. > > > > On Fri, Sep 10, 2021 at 6:09 PM Daniel Vetter > > wrote: > > > > > > On Fri, Sep 10, 2021 at 9:58 AM Greg Kroah-Hartman > > > wrote: >

Re: [PATCH 1/5] drm/i915: Do not define vma on stack

2021-09-13 Thread Dave Airlie
On Tue, 14 Sept 2021 at 14:55, Matthew Brost wrote: > > From: Venkata Sandeep Dhanalakota > > Defining vma on stack can cause stack overflow, if > vma gets populated with new fields. Is there some higher level locking stopping that from getting trashed? or a guarantee that uc_fw_bind_ggtt is onl

[git pull] drm fixes for 5.15-rc2

2021-09-16 Thread Dave Airlie
m/i915: Release ctx->syncobj on final put, not on ctx close Daniele Ceraolo Spurio (1): drm/i915/guc: drop guc_communication_enabled Dave Airlie (3): Merge branch 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux into drm-fixes Merge tag 'd

[git pull] drm fixes for 5.15-rc5

2021-10-07 Thread Dave Airlie
: drm/panel: abt-y030xx067a: yellow tint fix Dave Airlie (3): Merge tag 'drm-intel-fixes-2021-10-07' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'drm-misc-fixes-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc i

Re: [PATCH 0/6] drm/i915: Failsafe migration blits

2021-10-13 Thread Dave Airlie
On Fri, 8 Oct 2021 at 23:36, Thomas Hellström wrote: > > This patch series introduces failsafe migration blits. > The reason for this seemingly strange concept is that if the initial > clearing or readback of LMEM fails for some reason, and we then set up > either GPU- or CPU ptes to the allocated

[git pull] drm fixes for 5.15-rc6

2021-10-14 Thread Dave Airlie
modeset_init() drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling Dave Airlie (3): Merge tag 'drm-msm-fixes-2021-10-11' of https://gitlab.freedesktop.org/drm/msm into drm-fixes Merge tag 'drm-intel-fixes-2021-10-14' of git://anongit.freed

Re: [PULL] drm-misc-fixes

2021-10-14 Thread Dave Airlie
> - Respun clock fixes for vc4/hdmi. I was uneasy with these patches due to the number and size of them at this point in the cycle. Is there any major problem leaving them until next? I think fixes needs a hard reset and rebase to rc6 when it's tagged. If these are super-urgent fixes then I'd rat

Re: [PATCH 0/4] drm/i915: Make the driver not oops on load on old machines

2021-10-17 Thread Dave Airlie
On Thu, 14 Oct 2021 at 19:09, Ville Syrjala wrote: > > From: Ville Syrjälä > > Fix a pile of regression on older machines which just oops the driver > on load. > For all 4: Reviewed-by: Dave Airlie though it would be nice if the clflushes has more justifications on initia

[git pull] drm fixes for 5.15-rc7

2021-10-21 Thread Dave Airlie
-- Anitha Chrisanthus (4): drm/kmb: Work around for higher system clock drm/kmb: Limit supported mode to 1080p drm/kmb: Corrected typo in handle_lcd_irq drm/kmb: Enable ADV bridge after modeset Dan Johansen (1): drm/panel: ilitek-ili9881c: Fix sync for Feixin

Re: [PATCH] MAINTAINERS: Add Tvrtko as drm/i915 co-maintainer

2021-10-25 Thread Dave Airlie
gt; > Cc: David Airlie > > Cc: Daniel Vetter > > Acked-by: Jani Nikula > > Acked-by: Rodrigo Vivi > > Acked-by: Tvrtko Ursulin > > Cc: Sean Paul > > Cc: Maarten Lankhorst > > Cc: Maxime Ripard > > Cc: dri-devel@lists.freedesktop.org > > Acked-by: Daniel Vetter Acked-by: Dave Airlie

Re: [RFC PATCH 2/4] DRM: Add support of AI Processor Unit (APU)

2021-09-22 Thread Dave Airlie
On Sat, 18 Sept 2021 at 07:57, Alexandre Bailon wrote: > > Some Mediatek SoC provides hardware accelerator for AI / ML. > This driver provides the infrastructure to manage memory > shared between host CPU and the accelerator, and to submit > jobs to the accelerator. > The APU itself is managed by

[git pull] drm fixes for 5.15-rc3

2021-09-23 Thread Dave Airlie
SVM fixes - DMA mapping fix Alex Deucher (1): MAINTAINERS: fix up entry for AMD Powerplay Arnd Bergmann (1): drm/amd/display: fix empty debug macros Chris Wilson (1): drm/i915: Free all DMC payloads Dave Airlie (2):

[PATCH] Revert "drm/ast: Support 1600x900 with 108MHz PCLK"

2022-01-19 Thread Dave Airlie
From: Dave Airlie This reverts commit 9bb7b689274b67ecb3641e399e76f84adc627df1. This caused a regression reported to Red Hat. Fixes: 9bb7b689274b ("drm/ast: Support 1600x900 with 108MHz PCLK") Signed-off-by: Dave Airlie --- drivers/gpu/drm/ast/ast_tables.h | 2 -- 1 file changed, 2

[git pull] drm fixes for 5.17-rc1

2022-01-20 Thread Dave Airlie
drm/amdgpu: Enable recovery on yellow carp Christian König (1): drm/radeon: fix error handling in radeon_driver_open_kms Dave Airlie (2): Merge tag 'drm-intel-next-fixes-2022-01-20' of git://anongit.freedesktop.org/drm/drm-intel into drm-next Merge tag

[git pull] drm fixes for 5.17-rc2

2022-01-27 Thread Dave Airlie
y: Fix FP start/end for dcn30_internal_validate_bw. drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU. drm/amdgpu/display: Remove t_srx_delay_us. Dave Airlie (6): Revert "drm/ast: Support 1600x900 with 108MHz PCLK" Merge tag 'drm-misc

Re: [PATCH 01/21] MAINTAINERS: Add entry for fbdev core

2022-02-01 Thread Dave Airlie
rivers/video/fbdev/core/ | head -n5 > 35 Daniel Vetter > 23 Linus Torvalds > 10 Hans de Goede > 9 Dave Airlie > 6 Peter Rosin Acked-by: Dave Airlie

[git pull] drm fixes for 5.15 final

2021-10-28 Thread Dave Airlie
-orientation-quirks: Add quirk for Aya Neo 2021 Christian König (1): drm/ttm: fix memleak in ttm_transfered_destroy Daniel Vetter (2): drm/i915/selftests: Properly reset mock object propers for each test MAINTAINERS: dri-devel is for all of drivers/gpu Dave Airlie (5):

[git pull] drm fixes + one missed next for 5.16-rc1

2021-11-11 Thread Dave Airlie
O list) Dan Carpenter (1): drm/v3d: fix copy_from_user() error codes Daniel Vetter (1): MAINTAINERS: dri-devel is for all of drivers/gpu Dave Airlie (8): Merge tag 'drm-misc-next-2021-10-14' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

Re: [git pull] drm fixes + one missed next for 5.16-rc1

2021-11-14 Thread Dave Airlie
On Sat, 13 Nov 2021 at 06:16, Linus Torvalds wrote: > > On Thu, Nov 11, 2021 at 7:25 PM Dave Airlie wrote: > > > > I missed a drm-misc-next pull for the main pull last week. It wasn't > > that major and isn't the bulk of this at all. This has a bunch of > &

[git pull] drm fixes for 5.16-rc2

2021-11-18 Thread Dave Airlie
drm/amd/amdgpu: fix potential memleak Christian König (1): drm/scheduler: fix drm_sched_job_add_implicit_dependencies Dan Carpenter (1): drm/i915/guc: fix NULL vs IS_ERR() checking Dave Airlie (3): Merge tag 'drm-misc-fixes-2021-11-18' of git://anongit.freedesktop.

[git pull] drm fixes for 5.16-rc3

2021-11-25 Thread Dave Airlie
registers for renoir+ drm/amdgpu/pm: fix powerplay OD interface drm/amd/display: update bios scratch when setting backlight Ben Skeggs (1): drm/nouveau: recognise GA106 Dan Carpenter (2): drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks drm/vc4: fix error code in vc4_c

[git pull] drm fixes for 5.16-rc4

2021-12-02 Thread Dave Airlie
desetting fixes Akhil P Oommen (2): drm/msm: Fix null ptr access msm_ioctl_gem_submit() drm/msm/a6xx: Fix uinitialized use of gpu_scid Arnd Bergmann (1): drm: msm: fix building without CONFIG_COMMON_CLK Dave Airlie (4): Merge tag 'drm-msm-

[git pull] drm fixes for 5.16-rc5

2021-12-09 Thread Dave Airlie
uwenhuizen (1): drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence. Christian König (1): drm/ttm: fix ttm_bo_swapout Dan Carpenter (1): drm/i915: Fix error pointer dereference in i915_gem_do_execbuffer() Dave Airlie (3): Merge tag 'drm-misc-fixes-202

[PATCH] drm/nouveau: fix multihop when move doesn't work.

2020-12-17 Thread Dave Airlie
From: Dave Airlie As per the radeon/amdgpu fix don't use multihop is hw moves aren't enabled. Reported-by: Mike Galbraith Tested-by: Mike Galbraith Fixes: 0c8c0659d74 ("drm/nouveau/ttm: use multihop") Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouve

[git pull] drm fixes for 5.11-rc1

2020-12-23 Thread Dave Airlie
meda: Remove useless variable assignment drm/komeda: Handle NULL pointer access code path in error case drm/komeda: Fix bit check to import to value of proper type Christian König (1): drm/qxl: don't allocate a dma_address array Dave Airlie (2): Merge tag 'drm-misc

[git pull] drm fixes for 5.16-rc6

2021-12-16 Thread Dave Airlie
.1 - Reset DMCUB before HW init - Fix for GMC powergating on PCO - Fix a possible memory leak in GPU metrics table handling on RN Alejandro Concepcion-Rodriguez (1): drm: simpledrm: fix wrong unit with pixel clock Dave

Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

2021-12-21 Thread Dave Airlie
On Mon, 2 Nov 2020 at 17:57, Thomas Zimmermann wrote: > > Hi > > Am 30.10.20 um 08:42 schrieb KuoHsiang Chou: > > [New] Create the setting for 1600x900 @60Hz refresh rate > > by 108MHz pixel-clock. > > > > Signed-off-by: KuoHsiang Chou > > Acked-by: Thomas Zimmermann > > I'll add your patc

Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

2021-12-22 Thread Dave Airlie
On Wed, 22 Dec 2021 at 11:19, Kuo-Hsiang Chou wrote: > > Hi > > -Original Message----- > From: Dave Airlie [mailto:airl...@gmail.com] > Sent: Wednesday, December 22, 2021 5:56 AM > To: Thomas Zimmermann > > Subject: Re: [PATCH] drm/ast: Support 1600x900 with 10

[git pull] drm fixes for 5.16-rc7

2021-12-23 Thread Dave Airlie
ck i915: - guc submission locking fixes AngeloGioacchino Del Regno (1): drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf Dave Airlie (2): Merge tag 'mediatek-drm-fixes-5.16' of https://git.kernel.org

Re: [pull] amdgpu, amdkfd drm-next-5.17

2021-12-29 Thread Dave Airlie
Hey, dim: 3be2709660dc ("drm/amdgpu: Call amdgpu_device_unmap_mmio() if device is unplugged to prevent crash in GPU initialization failure"): committer Signed-off-by missing. is missing your sob as you committed it. Please fix it up. Thanks, Dave.

Re: [pull] amdgpu drm-fixes-5.16

2021-12-29 Thread Dave Airlie
On Thu, 30 Dec 2021 at 01:51, Alex Deucher wrote: > > Hi Dave, Daniel, Just FYI on merging this into tip I got a conflict I'm not sure what answer is right. fixes has: ee2698cf79cc759a397c61086c758d4cc85938bf Author: Angus Wang Date: Thu Dec 9 17:27:01 2021 -0500 drm/amd/display: Changed

[git pull] drm fixes for 5.16-rc8

2021-12-30 Thread Dave Airlie
1): drm/amd/display: fix B0 TMDS deepcolor no dislay issue Christian König (2): drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify drm/nouveau: wait for the exclusive fence after the shared ones v2 Dave Airlie (3): Merge tag 'drm-

[git pull] drm final fixes for 5.16

2022-01-06 Thread Dave Airlie
untime PM regression Alex Deucher (2): fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb drm/amdgpu: disable runpm if we are the primary adapter Dave Airlie (1): Merge tag 'amd-drm-fixe

bug in autoloading of imx-ipuv3-crtc

2016-04-27 Thread Dave Airlie
On 22 April 2016 at 23:11, Dennis Gilmore wrote: > On Thursday, April 21, 2016 1:03:17 AM CDT Uwe Kleine-König wrote: >> Hello, >> >> On Tue, Apr 19, 2016 at 03:16:01PM -0500, Dennis Gilmore wrote: >> > On Tuesday, April 19, 2016 2:27:17 PM CDT Dennis Gilmore wrote: >> > > On Tuesday, April 19, 2

[GIT PULL v2] MT8173 DRM support

2016-04-27 Thread Dave Airlie
On 26 April 2016 at 18:05, Philipp Zabel wrote: > Hi Dave, > > second try. Please consider pulling this tag with initial MediaTek > MT8173 DRM support, fixed to allow compiling as modules and without the > device tree changes. LZMAarch/arm/boot/compressed/piggy_data MODPOST 1742 modules ER

[PATCH 19/24] drm/sis: add missing include drm.h for the UAPI header

2016-04-27 Thread Dave Airlie
On 22 April 2016 at 18:37, Daniel Vetter wrote: > On Thu, Apr 21, 2016 at 09:17:32PM +0100, Emil Velikov wrote: >> Signed-off-by: Emil Velikov > > If the extern C stuff falls through, maybe we want to pull this one out > ahead? I've pulled this and the qxl one into -next as I was driving past.

[GIT PULL] drm: Add support of ARC PGU display controller

2016-04-27 Thread Dave Airlie
On 27 April 2016 at 01:28, Alexey Brodkin wrote: > Hi Dave, > > This is DRM driver for ARC PGU - simple bitstreamer used on > Synopsys ARC SDP boards (both AXS101 and AXS103). Hi Alexey, I've pulled this tree into drm-next now, it seems to at least build here, Thanks, Dave.

[GIT PULL] drm-hisilicon-next-2016-04-18 for 4.7

2016-04-27 Thread Dave Airlie
On 19 April 2016 at 19:03, Xinliang Liu wrote: > Hi Dave, > > This is the first pull request from drm-hisilicon and for 4.7. > > The patches add new hisilicon drm driver. > > The patches were reviewed here: > http://www.spinics.net/lists/dri-devel/msg104437.html > > DT binding docs were acked by R

[PATCH 13/15] drm: take references to connectors used in a modeset.

2016-04-27 Thread Dave Airlie
On 22 April 2016 at 18:49, Daniel Vetter wrote: > On Fri, Apr 15, 2016 at 03:10:44PM +1000, Dave Airlie wrote: >> From: Dave Airlie >> >> As suggested by Daniel, if we are actively using the connector in a modeset >> we don't want it to disappear from underneath

[PATCH 14/15] drm/i915/mst: use reference counted connectors.

2016-04-27 Thread Dave Airlie
On 22 April 2016 at 19:03, Daniel Vetter wrote: > On Fri, Apr 15, 2016 at 03:10:45PM +1000, Dave Airlie wrote: >> From: Dave Airlie >> >> Don't just free the connector when we get the destroy callback. >> >> Drop a reference to it, and set it's mst_por

[PATCH 1/5] drm/modes: add connector reference counting. (v2)

2016-04-27 Thread Dave Airlie
From: Dave Airlie This uses the previous changes to add reference counts to drm connector objects. v2: move fbdev changes to their own patch. add some kerneldoc Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_atomic.c | 19 +-- drivers/gpu/drm/drm_crtc.c | 28

[PATCH 2/5] drm/fb_helper: add connector reference counting.

2016-04-27 Thread Dave Airlie
From: Dave Airlie This takes a reference count when fbdev adds the connector, and drops it when it removes the connector. It also drops the now unneeded code to find connectors and remove the from the modeset as they are reference counted. Signed-off-by: Dave Airlie --- drivers/gpu/drm

[PATCH 3/5] drm/crtc: take references to connectors used in a modeset.

2016-04-27 Thread Dave Airlie
From: Dave Airlie This just takes a reference on the connector when we set a mode in the non-atomic paths. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc_helper.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm

[PATCH 4/5] drm/atomic: use connector references

2016-04-27 Thread Dave Airlie
From: Dave Airlie Take a reference when setting a crtc on a connecter, also take one when duplicating if a crtc is set, and drop one on destroy if a crtc is set. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_atomic.c| 11 ++- drivers/gpu/drm/drm_atomic_helper.c | 4

[PATCH 5/5] drm/i915/mst: use reference counted connectors. (v2)

2016-04-27 Thread Dave Airlie
From: Dave Airlie Don't just free the connector when we get the destroy callback. Drop a reference to it, and set it's mst_port to NULL so no more mst work is done on it. v2: core mst accepts NULLs fine. Cleanup EDID code properly. Signed-off-by: Dave Airlie --- drivers/gp

[Intel-gfx] [PATCH 04/35] drm: Forbid legacy MAP functions for DRIVER_MODESET

2016-04-27 Thread Dave Airlie
. > -Daniel Nope, commit b1a630b48210d6a3c44994fce1b73273000ace5c Author: Dave Airlie Date: Wed Nov 7 14:45:14 2012 +1000 nouveau: drop DRI1 device open interface. Was when it was fixed. Dave.

[PATCH 00/24] drm: add extern C guard for the UAPI headers

2016-04-28 Thread Dave Airlie
On 28 April 2016 at 07:45, Emil Velikov wrote: > On 27 April 2016 at 10:47, Russell King - ARM Linux > wrote: >> On Thu, Apr 21, 2016 at 09:17:13PM +0100, Emil Velikov wrote: >>> Dave Airlie pointed out that "polluting" the headers in a manner as seen >>>

[GIT PULL v2] drm-hisilicon-next for 4.7

2016-04-29 Thread Dave Airlie
> > V2 has fixed the module compilation error and warnings in this commit: > 3d76c7e5bbdd drm/hisilicon: Add designware dsi encoder driver > > Please help to try and let me know if there is any problem. I'm still seeing the bit cast warning, it's due to using MASK(32), this is pretty much undefine

[git pull] drm fixes

2016-04-29 Thread Dave Airlie
n PX laptops without dGPU power control" drm/amdgpu: print a message if ATPX dGPU power control is missing Charmaine Lee (2): drm/vmwgfx: Enable SVGA_3D_CMD_DX_SET_PREDICATION drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands. Dave Airlie (3): Merge branch &#

[git pull] drm for v4.8

2016-08-02 Thread Dave Airlie
e DRIVER_DATE to 20160711 drm: Resurrect atomic rmfb code Revert "drm: Resurrect atomic rmfb code" Merge remote-tracking branch 'airlied/drm-next' into topic/drm-misc drm/doc: Add kerneldoc for @index drm/drm-kms.rst: Remove unused drm_fourcc.h incl

[git pull] drm i915 psr fixes

2016-08-02 Thread Dave Airlie
Hi Linus, These are the two fixes from Ville for the bug you are seeing on your HSW laptop, They pretty much disable PSR in some cases where the panel reports a setup time that would cause issues, like you seem to have. Dave. The following changes since commit 44cee85a8824464e7e951e590243c2a8

[PATCH 4/5] drm/intel/dp: Try harder to get bpc of a DP sink if EDID doesn't tell.

2016-08-03 Thread Dave Airlie
On 6 July 2016 at 20:05, Mario Kleiner wrote: > For DP sinks which don't expose color depth via EDID, use > the drm_dp_sink_bpc() helper to derive the bpc of the sink. > > This should handle DP native sinks with the "Assume 6 bpc if EDID > doesn't tell us" as mandated by DP spec. It gives more acc

[git pull] drm zpos property support

2016-08-03 Thread Dave Airlie
Merge remote-tracking branch 'media_tree/vsp1' into generic-zpos-v8 drm: sti: use generic zpos for plane drm: rcar: use generic code for managing zpos plane property Dave Airlie (1): Merge branch 'generic-zpos-v8' of http://git.linaro.org/people/

RFC: hardware accelerated bitblt using dma engine

2016-08-03 Thread Dave Airlie
On 3 August 2016 at 13:33, Enrico Weigelt, metux IT consult wrote: > On 03.08.2016 01:12, Rob Clark wrote: > > Hi, > >>> Well, if it already does buffer allocation and mapping (which might >>> also involve copying around phyisical buffers), why not also add >>> copy-between-buffers ? >> >> except

problem with 731c7d3, "main drm pull request for 4.8"

2016-08-09 Thread Dave Airlie
On 7 August 2016 at 07:59, Mike Marshall wrote: > Hello everyone... > > I was out of the office yesterday, so I came in today to do the bisect... Okay it appears cirrus doesn't set it's mode config functions until after it sets up modesetting, which causes this to fail. Probably need to audit ot

[Intel-gfx] include/drm/i915_drm.h:96: possible bad bitmask ?

2016-08-09 Thread Dave Airlie
On 8 August 2016 at 19:40, Daniel Vetter wrote: > On Mon, Aug 08, 2016 at 10:31:32AM +0100, David Binderman wrote: >> Hello there, >> >> Recent versions of gcc say this: >> >> include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ >> requires 37 bits to represent, but ‘int’ only ha

[git pull] drm fixes

2016-08-09 Thread Dave Airlie
cking inversion after registration rework Dave Airlie (2): Merge tag 'drm-intel-next-fixes-2016-08-05' of git://anongit.freedesktop.org/drm-intel into drm-next Merge branch 'drm-next-4.8' of git://people.freedesktop.org/~agd5f/linux into drm-next Eric Huang

[git pull] drm fixes

2016-08-18 Thread Dave Airlie
cold" Arnd Bergmann (3): drm/mediatek: add COMMON_CLK dependency drm/mediatek: add CONFIG_OF dependency drm/mediatek: add ARM_SMCCC dependency Chunming Zhou (1): drm/amdgpu: fix vm init error path Colin Ian King (1): drm/amdkfd: print doorbell offset as a hex valu

[git pull] drm fixes - part two

2016-08-19 Thread Dave Airlie
5/fbc: FBC causes display flicker when VT-d is enabled on Skylake drm/i915: Add missing rpm wakelock to GGTT pread drm/i915: Acquire audio powerwell for HD-Audio registers Dave Airlie (2): Merge branch 'drm-etnaviv-fixes' of git://git.pengutronix.de/git/lst/linux into d

[Intel-gfx] [PATCH v4 1/4] drm: extra printk() wrapper macros

2016-08-20 Thread Dave Airlie
> > Can we proceed with merging it? I'm pretty sure I acked this on irc a week or so agao, Acked-by: Dave Airlie Dave.

[RFC 0/2] New feature: Framebuffer processors

2016-08-23 Thread Dave Airlie
On 22 August 2016 at 19:44, Marek Szyprowski wrote: > Dear all, > > This is the initial proposal for extending DRM API with generic support for > hardware modules, which can be used for processing image data from the one > memory buffer to another. Typical memory-to-memory operations are: > rotat

Re: [PULL] 2nd pull for malidp-next

2019-05-02 Thread Dave Airlie
On Thu, 2 May 2019 at 20:45, Liviu Dudau wrote: > > Hi DRM maintainers, > > This is the 2nd pull request for the malidp-next. The new patches add > additional support for Arm Mali D71 so that it can now be enabled > correctly and brought up on any SoC that contains the IP. From now on > we will st

[git pull] drm fixes for final

2019-05-02 Thread Dave Airlie
6:31 +1000) drm one qxl revert ---- Dave Airlie (1): Merge tag 'drm-misc-fixes-2019-05-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Gerd Hoffmann (1): Revert "drm/qxl: drop prime import/ex

Re: [PULL] 2nd pull for malidp-next

2019-05-06 Thread Dave Airlie
> On Fri, May 03, 2019 at 09:54:35AM +1000, Dave Airlie wrote: > > > > > On Thu, 2 May 2019 at 20:45, Liviu Dudau wrote: > > > > > > > > > > > > Hi DRM maintainers, > > > > > > > > > > > > This is the 2nd pull

Re: [git pull] drm for 5.2-rc1

2019-05-09 Thread Dave Airlie
On Thu, 9 May 2019 at 14:45, Linus Torvalds wrote: > > Dave, > > On Wed, May 8, 2019 at 8:28 PM Dave Airlie wrote: > > > > This is the main drm pull request for 5.2. > > Thanks. I've merged it, but I got a couple of conflicts with fixes > (reverts) to mainli

[git pull] drm fixes for 5.2-rc1

2019-05-15 Thread Dave Airlie
async GPU cancellation, retirement and signaling Christian König (1): drm/radeon: prefer lower reference dividers Colin Xu (1): drm/i915/gvt: Add in context mmio 0x20D8 to gen9 mmio list Daniel Drake (1): drm/i915/fbc: disable framebuffer compression on GeminiLake Dave Air

[git pull] drm fixes for 5.2-rc2

2019-05-23 Thread Dave Airlie
Downgrade NEWCLIENT to non-preemptive drm/i915: Truly bump ready tasks ahead of busywaits Dan Carpenter (2): drm/amd/powerplay: fix locking in smu_feature_set_supported() drm/i915/gvt: Fix an error code in ppgtt_populate_spt_by_guest_entry() Dave Airlie (4): Merge branch 'v

Re: [git pull] drm fixes for 5.2-rc2

2019-05-24 Thread Dave Airlie
is, so no > idea. So just heads up in case this is real and there's some odd > config that hits a bug here ... > -Daniel Okay I've dropped a revert onto fixes, new PR coming up for Linus. Dave. > > > On Fri, May 24, 2019 at 6:28 AM Dave Airlie wrote: > >

[git pull] drm fixes for 5.2-rc2 (try two)

2019-05-24 Thread Dave Airlie
ts Dan Carpenter (2): drm/amd/powerplay: fix locking in smu_feature_set_supported() drm/i915/gvt: Fix an error code in ppgtt_populate_spt_by_guest_entry() Dave Airlie (5): Merge branch 'vmwgfx-fixes-5.2' of git://people.freedesktop.org/~thomash/linux into drm-fixes

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-05-28 Thread Dave Airlie
On Wed, 29 May 2019 at 02:47, Emil Velikov wrote: > > On 2019/05/28, Koenig, Christian wrote: > > Am 28.05.19 um 18:10 schrieb Emil Velikov: > > > On 2019/05/28, Daniel Vetter wrote: > > >> On Tue, May 28, 2019 at 10:03 AM Koenig, Christian > > >> wrote: > > >>> Am 28.05.19 um 09:38 schrieb Danie

Re: [PATCH] drm/lima: Fix broken compilation.

2019-04-04 Thread Dave Airlie
On Fri, 5 Apr 2019 at 08:43, Rodrigo Vivi wrote: > > On Thu, Apr 04, 2019 at 03:25:38PM -0700, Rodrigo Vivi wrote: > > From: Rodrigo Vivi > > And it seems that I don't know how to spell my own name anymore! :) > > If you decide for this patch please let me know, so we can fix while > pushing to d

[git pull] drm fixes for 5.1-rc4

2019-04-04 Thread Dave Airlie
Wilson (2): drm/i915: Always backoff after a drm_modeset_lock() deadlock drm/i915/gvt: Fix kerneldoc typo for intel_vgpu_emulate_hotplug Dave Airlie (2): Merge branch 'drm-fixes-5.1' of git://people.freedesktop.org/~agd5f/linux into drm-fixes Merge tag 'drm-i

Re: [PATCH 0/7] some cleanups and uapi clarification for leases

2019-04-04 Thread Dave Airlie
changes > > drm/atomic: -EACCESS for lease-denied crtc lookup > > I had a look at patches 5-7 and they seem to do the right thing, but my > knowledge on DRM leases is quite limited, and given all the corner > cases of legacy CRTC/plane updates, I'm not comfortable adding m

[PATCH 2/3] drm/udl: introduce a macro to convert dev to udl.

2019-04-04 Thread Dave Airlie
From: Dave Airlie This just makes it easier to later embed drm into udl. Signed-off-by: Dave Airlie --- drivers/gpu/drm/udl/udl_drv.h | 2 ++ drivers/gpu/drm/udl/udl_fb.c | 10 +- drivers/gpu/drm/udl/udl_gem.c | 2 +- drivers/gpu/drm/udl/udl_main.c | 12 ++-- 4 files

[PATCH 1/3] drm/udl: add a release method and delay modeset teardown

2019-04-04 Thread Dave Airlie
From: Dave Airlie If we unplug a udl device, the usb callback with deinit the mode_config struct, however userspace will still have an open file descriptor and a framebuffer on that device. When userspace closes the fd, we'll oops because it'll try and look stuff up in the object idr w

udl fix + 2 cleanups

2019-04-04 Thread Dave Airlie
The first patch is a repost, Daniel already reviewed it, and I'll put it into fixes soon, the two follow-ups are for -next. They move udl over to having the drm device embedded in the udl struct which hopefully will help with future lifetime issues. Dave.

[PATCH 3/3] drm/udl: move to embedding drm device inside udl device.

2019-04-04 Thread Dave Airlie
From: Dave Airlie This should help with some of the lifetime issues, and move us away from load/unload. Signed-off-by: Dave Airlie --- drivers/gpu/drm/udl/udl_drv.c | 56 +++--- drivers/gpu/drm/udl/udl_drv.h | 9 +++--- drivers/gpu/drm/udl/udl_fb.c | 2

Re: [PATCH] drm/qxl: drop prime import/export callbacks

2019-04-08 Thread Dave Airlie
On Sat, 12 Jan 2019 at 07:13, Dave Airlie wrote: > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann wrote: > > > > Also set prime_handle_to_fd and prime_fd_to_handle to NULL, > > so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to > > userspace. It's b

Re: [PATCH 00/15] Share TTM code among framebuffer drivers

2019-04-09 Thread Dave Airlie
On Tue, 9 Apr 2019 at 17:12, kra...@redhat.com wrote: > > Hi, > > > If not for TTM, what would be the alternative? One VMA manager per > > memory region per device? > > Depends pretty much on the device. > > The cirrus is a display device with only 4 MB of vram. You can't fit > much in there.

[git pull] drm fixes for 5.1-rc5

2019-04-11 Thread Dave Airlie
nt use-after-free in ppgtt_free_all_spt() Dan Carpenter (1): drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata() Dave Airlie (6): drm/udl: add a release method and delay modeset teardown Merge tag 'drm/tegra/for-5.1-rc5' of git://anongit.freedesktop.org/tegra/li

Re: [PATCH 2/9] drm/syncobj: add new drm_syncobj_add_point interface v4

2019-04-15 Thread Dave Airlie
> Well, I've got commit rights as well. > > Going to remove the warning, add your rb and push everything if nobody > objects in the next hour or so. So this got committed and is in my -next tree, but where is the userspace and igt tests? There needs to be a functional mesa userspace and a set of

Re: [PATCH] drm: turn syncobj timeline support off by default

2019-04-15 Thread Dave Airlie
On Tue, 16 Apr 2019 at 05:48, Lionel Landwerlin wrote: > > Unfortunately userspace users of this API cannot be publicly disclosed > yet so disable this stuff by default until all is revealed. This begs the question how userspace is meant to know we support these? Is there a CAP for it? if not wh

Re: [PATCH] drm: turn syncobj timeline support off by default

2019-04-15 Thread Dave Airlie
On Tue, 16 Apr 2019 at 06:05, Lionel Landwerlin wrote: > > On 15/04/2019 20:52, Dave Airlie wrote: > > On Tue, 16 Apr 2019 at 05:48, Lionel Landwerlin > > wrote: > >> Unfortunately userspace users of this API cannot be publicly disclosed > >> yet so disabl

<    1   2   3   4   5   6   7   8   9   10   >