Displaying 20 results from an estimated 21 matches for "drm_mode_set_config_intern".
Did you mean:
drm_mode_set_config_internal
2013 Jul 27
1
WARN in drm_crtc.c:1992 on 3.11-rc2
...3a2, plus a call to the new
function from the end of dispnv04/disp.c:nv04_display_create ]
Here is my traceback: http://pastebin.com/W3SvKFYD, linewrapped version below:
[ 379.242635] ------------[ cut here ]------------
[ 379.242738] WARNING: CPU: 0 PID: 2260 at
drivers/gpu/drm/drm_crtc.c:1992 drm_mode_set_config_internal+0x6d/0xba
[drm]()
[ 379.242740] Modules linked in: it87 hwmon_vid or51132 cx88_dvb
videobuf_dvb dvb_core ir_mce_kbd_decoder ir_sanyo_decoder
ir_jvc_decoder ir_sony_decoder ir_rc6_decoder ir_rc5_decoder
ir_nec_decoder rc_hauppauge tuner_simple tuner_types tda9887 tuner
rndis_host cdc_ether usbnet...
2018 Dec 10
2
[PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers
...m_atomic_helper_shutdown(adev->ddev);
}
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index f660819d406e..7dabbaf033a1 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -104,37 +104,6 @@ int drm_crtc_force_disable(struct drm_crtc *crtc)
return drm_mode_set_config_internal(&set);
}
-/**
- * drm_crtc_force_disable_all - Forcibly turn off all enabled CRTCs
- * @dev: DRM device whose CRTCs to turn off
- *
- * Drivers may want to call this on unload to ensure that all displays are
- * unlit and the GPU is in a consistent, low power state. Takes modeset locks.
-...
2018 Dec 11
1
[PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers
...> + drm_for_each_crtc(crtc, dev)
> > + if (crtc->enabled) {
> > + struct drm_mode_set set = {
> > + .crtc = crtc,
> > + };
> > +
> > + ret = drm_mode_set_config_internal(&set);
> > + if (ret)
> > + goto out;
> > + }
> > +out:
> > + drm_modeset_unlock_all(dev);
> > + return ret;
> > +}
> > +EXPORT_SYMBOL(drm_helper_force_disable_all);
&...
2018 Dec 10
0
[PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers
...}
> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
> index f660819d406e..7dabbaf033a1 100644
> --- a/drivers/gpu/drm/drm_crtc.c
> +++ b/drivers/gpu/drm/drm_crtc.c
> @@ -104,37 +104,6 @@ int drm_crtc_force_disable(struct drm_crtc *crtc)
> return drm_mode_set_config_internal(&set);
> }
>
> -/**
> - * drm_crtc_force_disable_all - Forcibly turn off all enabled CRTCs
> - * @dev: DRM device whose CRTCs to turn off
> - *
> - * Drivers may want to call this on unload to ensure that all displays are
> - * unlit and the GPU is in a consistent, lo...
2018 Dec 17
0
[PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers
...p;afbdev->helper);
if (afb->obj) {
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index f660819d406e..7dabbaf033a1 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -104,37 +104,6 @@ int drm_crtc_force_disable(struct drm_crtc *crtc)
return drm_mode_set_config_internal(&set);
}
-/**
- * drm_crtc_force_disable_all - Forcibly turn off all enabled CRTCs
- * @dev: DRM device whose CRTCs to turn off
- *
- * Drivers may want to call this on unload to ensure that all displays are
- * unlit and the GPU is in a consistent, low power state. Takes modeset locks.
-...
2016 May 24
4
[PATCH 9/9] drm: Turn off crtc before tearing down its data structure
...t is turned off first.
> */
> void drm_crtc_cleanup(struct drm_crtc *crtc)
> {
> struct drm_device *dev = crtc->dev;
>
> + if (crtc->enabled) {
> + struct drm_mode_set modeset = {
> + .crtc = crtc,
> + };
> +
> + drm_modeset_lock_all(dev);
> + drm_mode_set_config_internal(&modeset);
> + drm_modeset_unlock_all(dev);
> + }
> +
> kfree(crtc->gamma_store);
> crtc->gamma_store = NULL;
>
> --
> 2.8.1
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> ht...
2013 Mar 05
3
nouveau lockdep splat
...40
> [ 0.633674] [<ffffffff8141e7ee>] nv50_crtc_commit+0x10e/0x230
> [ 0.633676] [<ffffffff8134c2a5>] drm_crtc_helper_set_mode+0x365/0x510
> [ 0.633677] [<ffffffff8134d69e>] drm_crtc_helper_set_config+0xa4e/0xb70
> [ 0.633679] [<ffffffff8135f751>] drm_mode_set_config_internal+0x31/0x70
> [ 0.633680] [<ffffffff8134b7a1>] drm_fb_helper_set_par+0x71/0xf0
> [ 0.633682] [<ffffffff812d40e4>] fbcon_init+0x514/0x5a0
> [ 0.633683] [<ffffffff8132cbdc>] visual_init+0xbc/0x120
> [ 0.633685] [<ffffffff8132f293>] do_bind_con_drive...
2016 May 24
5
[PATCH 0/9] Fix runtime pm ref leaks
In preparation for runtime pm on muxed dual GPU laptops,
I've fixed all runtime pm ref leaks I could find in nouveau,
radeon and amdgpu.
To ease reviewing, I've pushed this series to GitHub:
https://github.com/l1k/linux/commits/drm_runpm_fixes_v1
@Alex Deucher: I do not have an AMD GPU so couldn't test this
beyond verifying that it compiles. Please double-check the patches
and test
2016 Jun 08
8
[PATCH v2 00/15] Runtime pm ref leak bonanza
Second iteration of my endeavour to rid nouveau, radeon and amdgpu of
runtime pm ref leaks.
Patches 1 to 8 are identical to v1.
Patch 9 of v1 modified the DRM core to turn off all CRTCs on driver
unload. Based on feedback by Daniel Vetter, I've replaced this with
a helper to turn off all CRTCs, which is called by nouveau, radeon
and amdgpu on unload. In other words, this is now opt-in.
So
2016 May 24
0
[PATCH 9/9] drm: Turn off crtc before tearing down its data structure
...sibility of the caller. If @crtc is currently enabled,
+ * it is turned off first.
*/
void drm_crtc_cleanup(struct drm_crtc *crtc)
{
struct drm_device *dev = crtc->dev;
+ if (crtc->enabled) {
+ struct drm_mode_set modeset = {
+ .crtc = crtc,
+ };
+
+ drm_modeset_lock_all(dev);
+ drm_mode_set_config_internal(&modeset);
+ drm_modeset_unlock_all(dev);
+ }
+
kfree(crtc->gamma_store);
crtc->gamma_store = NULL;
--
2.8.1
2016 May 25
0
[PATCH 9/9] drm: Turn off crtc before tearing down its data structure
...tc_cleanup(struct drm_crtc *crtc)
> > {
> > struct drm_device *dev = crtc->dev;
> >
> > + if (crtc->enabled) {
> > + struct drm_mode_set modeset = {
> > + .crtc = crtc,
> > + };
> > +
> > + drm_modeset_lock_all(dev);
> > + drm_mode_set_config_internal(&modeset);
> > + drm_modeset_unlock_all(dev);
> > + }
> > +
> > kfree(crtc->gamma_store);
> > crtc->gamma_store = NULL;
> >
> > --
> > 2.8.1
> >
> > _______________________________________________
> > Nouveau mai...
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all,
First thing first: It works, I now no longer have a few dropped frames every 10s
on my testbox here with the pageflip i-g-t tests.
Random notes:
- New design has per-crtc locks to protect the crtc input-side (pageflip,
cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It
also required completely revamped fb lifecycle management, those are now
refcounted
2016 May 24
0
[PATCH 9/9] drm: Turn off crtc before tearing down its data structure
...tc_cleanup(struct drm_crtc *crtc)
> > {
> > struct drm_device *dev = crtc->dev;
> >
> > + if (crtc->enabled) {
> > + struct drm_mode_set modeset = {
> > + .crtc = crtc,
> > + };
> > +
> > + drm_modeset_lock_all(dev);
> > + drm_mode_set_config_internal(&modeset);
> > + drm_modeset_unlock_all(dev);
> > + }
> > +
> > kfree(crtc->gamma_store);
> > crtc->gamma_store = NULL;
> >
> > --
> > 2.8.1
> >
> > _______________________________________________
> > Nouveau mai...
2014 Nov 24
3
[Bug 86650] New: (NV44): initrd gpu lockup from 3.12 or 3.13 onwards
https://bugs.freedesktop.org/show_bug.cgi?id=86650
Bug ID: 86650
Summary: (NV44): initrd gpu lockup from 3.12 or 3.13 onwards
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee:
2013 Mar 03
5
[Bug 61765] New: Regression: null pointer dereference on reboot after switcheroo use
https://bugs.freedesktop.org/show_bug.cgi?id=61765
Priority: medium
Bug ID: 61765
Assignee: nouveau at lists.freedesktop.org
Summary: Regression: null pointer dereference on reboot after
switcheroo use
QA Contact: xorg-team at lists.x.org
Severity: major
Classification: Unclassified
OS: Linux
2013 May 19
29
[Bug 64774] New: nouveau GF108 kernel crash in optimus mode when enabling external display output
https://bugs.freedesktop.org/show_bug.cgi?id=64774
Priority: medium
Bug ID: 64774
Assignee: nouveau at lists.freedesktop.org
Summary: nouveau GF108 kernel crash in optimus mode when
enabling external display output
QA Contact: xorg-team at lists.x.org
Severity: major
Classification: Unclassified
2016 Jun 30
1
netbook screen suddenly goes black
...s kernel: [<ffffffffa01339ba>] drm_plane_helper_update+0x9a/0xf0 [drm_kms_helper]
Jun 30 12:47:49 aspirebox.fcshome.stoneham.ma.us kernel: [<ffffffffa01c6727>] intel_crtc_set_config+0xbc7/0xff0 [i915]
Jun 30 12:47:49 aspirebox.fcshome.stoneham.ma.us kernel: [<ffffffffa00bfdb7>] drm_mode_set_config_internal+0x67/0x100 [drm]
Jun 30 12:47:49 aspirebox.fcshome.stoneham.ma.us kernel: [<ffffffffa013c508>] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper]
Jun 30 12:47:49 aspirebox.fcshome.stoneham.ma.us kernel: [<ffffffffa013e3f5>] drm_fb_helper_restore_fbdev_mode_unlocked+0x25/0x70 [drm_kms_hel...
2016 Jun 20
2
netbook screen suddenly goes black
On Mon, Jun 20, 2016 at 04:13:35PM -0400, m.roth at 5-cent.us wrote:
> Fred Smith wrote:
> > On Mon, Jun 20, 2016 at 02:59:29PM -0400, Jon LaBadie wrote:
> >> On Mon, Jun 20, 2016 at 08:58:54AM -0400, Fred Smith wrote:
> >> > On Mon, Jun 20, 2016 at 01:34:30PM +0300, ????????? ???????? wrote:
> >> > > >Can anyone of you provide further hints on what
2015 Feb 16
2
Intermittent problem, likely disk IO related - mptscsih: ioc0: attempting task abort!
...[<ffffffffa00b2d0e>] ? drm_crtc_helper_set_config+0x1be/0xa60 [drm_kms_helper]
Feb 16 06:07:01 [<ffffffffa013df27>] ? r100_mm_wreg+0x67/0x90 [radeon]
Feb 16 06:07:01 [<ffffffffa01332d2>] ? radeon_crtc_cursor_set+0x92/0x6e0 [radeon]
Feb 16 06:07:01 [<ffffffffa005e40c>] ? drm_mode_set_config_internal+0x5c/0xe0 [drm]
Feb 16 06:07:01 [<ffffffffa00b0653>] ? drm_fb_helper_restore_fbdev_mode+0xb3/0xe0 [drm_kms_helper]
Feb 16 06:07:01 [<ffffffffa00b0788>] ? drm_fb_helper_panic+0x78/0xa0 [drm_kms_helper]
Feb 16 06:07:01 [<ffffffff81537995>] ? notifier_call_chain+0x55/0x80
Feb 16...
2015 Feb 08
2
Intermittent problem, likely disk IO related - mptscsih: ioc0: attempting task abort!
NOTE: this is happening on Centos 6 x86_64, 2.6.32-504.3.3.el6.x86_64 not Centos 5
Dell PowerEdge 2970, Seagate SATA drive, non-raid.
I have this server which has been dying randomly, with no logs.
I had a tail -f over ssh for a week, when this just happened.
Feb 8 00:10:21 thirteen-230 kernel: mptscsih: ioc0: attempting task abort! (sc=ffff880057a0a080)
Feb 8 00:10:21 thirteen-230 kernel: