Displaying 6 results from an estimated 6 matches for "drmmode_output_init".
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...insertions(+), 4 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index c30cb3a..3679482 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1214,7 +1214,7 @@ drmmode_zaphod_match(ScrnInfoPtr pScrn, const char *s, char *output_name)
}
static unsigned int
-drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
+drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift)
{
NVPtr pNv = NVPTR(pScrn);
xf86OutputPtr output;
@@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
output->subpix...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...-git a/src/drmmode_display.c b/src/drmmode_display.c
> index c30cb3a..3679482 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1214,7 +1214,7 @@ drmmode_zaphod_match(ScrnInfoPtr pScrn, const char *s, char *output_name)
> }
>
> static unsigned int
> -drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
> +drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift)
> {
> NVPtr pNv = NVPTR(pScrn);
> xf86OutputPtr output;
> @@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...name, 32, "%s-%d-%d", output_names[koutput->connector_type], pScrn->scrnIndex - GPU_SCREEN_OFFSET + 1, koutput->connector_type_id);
+ else
+ snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], koutput->connector_type_id);
+}
+
static unsigned int
-drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift)
+drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num, Bool dynamic, int crtcshift)
{
NVPtr pNv = NVPTR(pScrn);
xf86OutputPtr output;
+ xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pS...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...name, 32, "%s-%d-%d", output_names[koutput->connector_type], pScrn->scrnIndex - GPU_SCREEN_OFFSET + 1, koutput->connector_type_id);
+ else
+ snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], koutput->connector_type_id);
+}
+
static unsigned int
-drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift)
+drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res, int num, Bool dynamic, int crtcshift)
{
NVPtr pNv = NVPTR(pScrn);
xf86OutputPtr output;
+ xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pS...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...gt;scrnIndex, X_ERROR,
+ "RRChangeOutputProperty error, %d\n", err);
+ return FALSE;
+ }
+
+ return TRUE;
+ }
+
for (i = 0; i < drmmode_output->num_props; i++) {
drmmode_prop_ptr p = &drmmode_output->props[i];
if (p->atoms[0] != property)
@@ -993,6 +1250,9 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num)
output->interlaceAllowed = true;
output->doubleScanAllowed = true;
+ if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS)
+ drmmode_backlight_init(output);
+
return;
}
@@ -1116,6 +1376,13 @@ Bool drmmode_pre_init(ScrnInfoPtr p...
2015 Jan 24
0
[ANNOUNCE] xorg-server 1.16.99.902
...):
config/udev: Prefix and shift "removing GPU" message
modesetting: Move Bool glamor into drmmode struct
modesetting: Create new EGL screen in drmmode_xf86crtc_resize
modesetting: Fix ifdefs s/HAVE_UDEV/CONFIG_UDEV_KMS/
modesetting: Remove unused params from drmmode_output_init()
Dave Airlie (2):
glamor: Add an accessor for the GBM device.
glamor: use screen blockhandler rather than dix one (v3)
Dima Ryazanov (1):
Fix "Back", "Forward", and other special mouse buttons in XWayland.
Jason Ekstrand (4):
modesetting: Refactor drm...