Re: drm: Branch 'modesetting-101' - 2 commits
Hi Maarten, Maarten Maathuis escreveu: > linux-core/drm_crtc.c | 96 +++- > linux-core/drm_crtc.h | 50 + > linux-core/drm_sysfs.c| 98 > + > linux-core/intel_tv.c |2 > linux-core/nv50_connector.h |1 > linux-core/nv50_kms_wrapper.c | 100 > -- > linux-core/nv50_kms_wrapper.h |1 > shared-core/drm.h | 56 +-- > 8 files changed, 345 insertions(+), 59 deletions(-) > > New commits: > commit c9915d695dad8e4f75b4f551f9f78ff3d64dc666 > Author: Maarten Maathuis <[EMAIL PROTECTED]> > Date: Fri Jul 4 17:28:04 2008 +0200 > > modesetting-101: Move some defines used for enumeration into the public > header. > > - Otherwise userspace has no idea of the meaning. > > diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h > index caceb65..d4bb879 100644 > --- a/linux-core/drm_crtc.h > +++ b/linux-core/drm_crtc.h > @@ -90,6 +90,8 @@ enum drm_mode_status { > .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ > .vscan = (vs), .flags = (f), .vrefresh = 0 > > +#define CRTC_INTERLACE_HALVE_V 0x1 /* halve V values for interlacing */ > + > struct drm_display_mode { > /* Header */ > struct list_head head; > @@ -147,51 +149,6 @@ struct drm_display_mode { > float hsync; > }; > > -/* Video mode flags */ > -#define V_PHSYNC (1<<0) > -#define V_NHSYNC (1<<1) > -#define V_PVSYNC (1<<2) > -#define V_NVSYNC (1<<3) > -#define V_INTERLACE (1<<4) > -#define V_DBLSCAN(1<<5) > -#define V_CSYNC (1<<6) > -#define V_PCSYNC (1<<7) > -#define V_NCSYNC (1<<8) > -#define V_HSKEW (1<<9) /* hskew provided */ > -#define V_BCAST (1<<10) > -#define V_PIXMUX (1<<11) > -#define V_DBLCLK (1<<12) > -#define V_CLKDIV2(1<<13) ... > --- a/shared-core/drm.h > +++ b/shared-core/drm.h > @@ -1010,6 +1010,28 @@ struct drm_mm_info_arg { > #define DRM_MODE_TYPE_USERDEF(1<<5) > #define DRM_MODE_TYPE_DRIVER (1<<6) > > +/* Video mode flags */ > +#define V_PHSYNC (1<<0) > +#define V_NHSYNC (1<<1) > +#define V_PVSYNC (1<<2) > +#define V_NVSYNC (1<<3) > +#define V_INTERLACE (1<<4) > +#define V_DBLSCAN(1<<5) > +#define V_CSYNC (1<<6) > +#define V_PCSYNC (1<<7) > +#define V_NCSYNC (1<<8) > +#define V_HSKEW (1<<9) /* hskew provided */ > +#define V_BCAST (1<<10) > +#define V_PIXMUX (1<<11) > +#define V_DBLCLK (1<<12) > +#define V_CLKDIV2(1<<13) This commit is causing conflict with the X server letting it doesn't compile anymore. Those video mode flags are already defined in hw/xfree86/common/xf86str.h. Cheers, Tiago Vignatti - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [drm-modesetting] optional connector properties, share your thoughts
On 7/4/08, Maarten Maathuis <[EMAIL PROTECTED]> wrote: > I've been reviewing the kernel modesetting interfaces while they are > not yet set in stone. Since consistent properties are desirable we > must standardise on several optional, but common properties. > > scaling_mode: > - panel <-- this name is debateble, it means native mode is ignored > - fullscreen > - noscale > - aspect > > dithering: variable dithering needed? > - on > - off > > Please share your thought about these properties and others you deem > neccesary, especially if you're a potentional driver writer. > > > Maarten. > A bump in case you missed it. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 10985] backlight doesn't come on after resume with i915 video
http://bugzilla.kernel.org/show_bug.cgi?id=10985 --- Comment #19 from [EMAIL PROTECTED] 2008-07-05 03:44 --- Created an attachment (id=16745) --> (http://bugzilla.kernel.org/attachment.cgi?id=16745&action=view) single user; no x; i915 loaded; after resume -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 10985] backlight doesn't come on after resume with i915 video
http://bugzilla.kernel.org/show_bug.cgi?id=10985 --- Comment #18 from [EMAIL PROTECTED] 2008-07-05 03:43 --- Created an attachment (id=16744) --> (http://bugzilla.kernel.org/attachment.cgi?id=16744&action=view) single user; no x; i915 loaded; before suspend -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 10985] backlight doesn't come on after resume with i915 video
http://bugzilla.kernel.org/show_bug.cgi?id=10985 --- Comment #17 from [EMAIL PROTECTED] 2008-07-05 03:29 --- Not on that last run, sorry. I've just redone them. I'll attach but here's the before/after diff for convenience: --- regs_before.txt 2008-07-05 11:17:55.0 +0100 +++ regs_after.txt 2008-07-05 11:17:58.0 +0100 @@ -24,7 +24,7 @@ (II): DVOB_SRCDIM: 0x (II): DVOC_SRCDIM: 0x (II): PP_CONTROL: 0x0001 (power target: on) -(II):PP_STATUS: 0xc008 (on, ready, sequencing idle) +(II):PP_STATUS: 0x480b (off, ready, sequencing idle) (II): PFIT_CONTROL: 0x8668 (II): PFIT_PGM_RATIOS: 0x (II): PORT_HOTPLUG_EN: 0x @@ -68,7 +68,7 @@ (II): DSPBTILEOFF: 0x (II):PIPEBCONF: 0x8000 (enabled, single-wide) (II): PIPEBSRC: 0x027f018f (640, 400) -(II):PIPEBSTAT: 0x8202 (status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS) +(II):PIPEBSTAT: 0x8242 (status: FIFO_UNDERRUN VSYNC_INT_STATUS LBLC_EVENT_STATUS VBLANK_INT_STATUS) (II): FPB0: 0x0003120c (n = 3, m1 = 18, m2 = 12) (II): FPB1: 0x00021207 (n = 2, m1 = 18, m2 = 7) (II): DPLL_B: 0x90026000 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 2, p2 = 14) -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel