search for: nv50_core_del

Displaying 7 results from an estimated 7 matches for "nv50_core_del".

2024 Aug 08
0
[bug report] drm/nouveau: use GEM references instead of TTMs
...uct drm_device *dev) 2806 { 2807 struct nv50_disp *disp = nv50_disp(dev); 2808 2809 nv50_audio_component_fini(nouveau_drm(dev)); 2810 2811 nvif_object_unmap(&disp->caps); 2812 nvif_object_dtor(&disp->caps); 2813 nv50_core_del(&disp->core); 2814 2815 nouveau_bo_unmap(disp->sync); 2816 if (disp->sync) ^^^^^^^^^^ Check for NULL 2817 nouveau_bo_unpin(disp->sync); --> 2818 nouveau_bo_fini(disp->sync);...
2018 Jul 19
0
[PATCH] kms/nv50: reject interlaced modes if the hardware doesn't support it
...70df9d..5ff79c89 100644 --- a/drm/nouveau/dispnv50/core.h +++ b/drm/nouveau/dispnv50/core.h @@ -8,6 +8,12 @@ struct nv50_core { struct nv50_dmac chan; }; +struct nv50_core_caps { + struct { + bool no_interlace; + } dp; +}; + int nv50_core_new(struct nouveau_drm *, struct nv50_core **); void nv50_core_del(struct nv50_core **); @@ -17,6 +23,8 @@ struct nv50_core_func { int (*ntfy_wait_done)(struct nouveau_bo *, u32 offset, struct nvif_device *); void (*update)(struct nv50_core *, u32 *interlock, bool ntfy); + bool (*caps_fetch)(struct nv50_disp *); + bool (*caps_parse)(struct nv50_dis...
2020 Jan 13
0
[PATCH RESEND] drm/nouveau: Add HD-audio component notifier support
...fy(drm->audio.component, nv_crtc->index); } /****************************************************************************** @@ -2302,6 +2409,8 @@ nv50_display_destroy(struct drm_device *dev) { struct nv50_disp *disp = nv50_disp(dev); + nv50_audio_component_fini(nouveau_drm(dev)); + nv50_core_del(&disp->core); nouveau_bo_unmap(disp->sync); @@ -2423,6 +2532,8 @@ nv50_display_create(struct drm_device *dev) /* Disable vblank irqs aggressively for power-saving, safe on nv50+ */ dev->vblank_disable_immediate = true; + nv50_audio_component_init(drm); + out: if (ret) n...
2020 Feb 14
5
[PATCH v2 0/5] drm/nouveau: DP interlace fixes
Currently, nouveau doesn't actually bother to try probing whether or not it can actually handle interlaced modes over DisplayPort. As a result, on volta and later we'll end up trying to set an interlaced mode even when it's not supported and cause the front end for the display engine to hang. So, let's teach nouveau to reject interlaced modes on hardware that can't actually
2020 May 11
6
[PATCH v3 0/5] drm/nouveau: DP interlace fixes
Currently, nouveau doesn't actually bother to try probing whether or not it can actually handle interlaced modes over DisplayPort. As a result, on volta and later we'll end up trying to set an interlaced mode even when it's not supported and cause the front end for the display engine to hang. So, let's teach nouveau to reject interlaced modes on hardware that can't actually
2018 Jul 20
7
[PATCH 0/6] improve feature detection
This is mainly for dropping interlaced modes on DP connectors if the GPU would otherwise display garbage or EVO timesout. It also adds experimental detection of the HDMI clock limit we currently hard limit depending on the GPU generation. Starting with GF110 GPUs, we can retrieve the limit directly from the GPU and may make the hdmimhz parameter obsolete. Testing this series with 2560x1440 or
2018 Aug 03
7
[PATCH v3 0/6] improve feature detection
small update to my last version I sent out. Patches 3-6 are optional and should only improve detecting the max clocks for HDMI and DP, but they didn't underwent big testing and I am a bit concerned, that it might break detecting the DP limits on some boards. Karol Herbst (6): kms/nv50: move nv50_mstm out of the dp union in nouveau_encoder kms/nv50: reject interlaced modes if the hardware