search for: scaling_mod

Displaying 20 results from an estimated 30 matches for "scaling_mod".

Did you mean: scaling_mode
2014 Jul 03
2
[PATCH] drm: default scaling to NONE for external connectors
...veau_connector.c b/drm/nouveau_connector.c index 1fa222e..295e222 100644 --- a/drm/nouveau_connector.c +++ b/drm/nouveau_connector.c @@ -1192,6 +1192,8 @@ nouveau_connector_create(struct drm_device *dev, int index) disp->color_vibrance_property, 150); + nv_connector->scaling_mode = DRM_MODE_SCALE_NONE; + switch (nv_connector->type) { case DCB_CONNECTOR_VGA: if (nv_device(drm->device)->card_type >= NV_50) { @@ -1203,10 +1205,11 @@ nouveau_connector_create(struct drm_device *dev, int index) case DCB_CONNECTOR_TV_0: case DCB_CONNECTOR_TV_1: case DCB_C...
2014 Jul 04
0
[PATCH] drm: default scaling to NONE for external connectors
...> +++ b/drm/nouveau_connector.c > @@ -1192,6 +1192,8 @@ nouveau_connector_create(struct drm_device *dev, int index) > disp->color_vibrance_property, > 150); > > + nv_connector->scaling_mode = DRM_MODE_SCALE_NONE; > + > switch (nv_connector->type) { > case DCB_CONNECTOR_VGA: > if (nv_device(drm->device)->card_type >= NV_50) { > @@ -1203,10 +1205,11 @@ nouveau_connector_create(struct drm_device *dev, int index) > cas...
2009 Aug 12
4
TV-out modesetting DDX patches
[PATCH 1/3] kms: Don't hardcode the output properties [PATCH 2/3] kms: Implement output->get_property when RandR1.3 is available. [PATCH 3/3] kms: Add TV-out support src/drmmode_display.c | 403 ++++++++++++++++++++++++++++++++----------------- 1 files changed, 261 insertions(+), 142 deletions(-)
2009 Jul 02
1
[PATCH] drm/nv50: wait for fifo completion when needed
...0_crtc.c @@ -176,6 +176,7 @@ static int nv50_crtc_set_dither(struct nouveau_crtc *crtc, bool update) BEGIN_RING(evo, 0, NV50_UPDATE_DISPLAY, 1); OUT_RING (evo, 0); FIRE_RING (evo); + RING_WAIT (evo); } return 0; @@ -294,6 +295,7 @@ nv50_crtc_set_scale(struct nouveau_crtc *crtc, int scaling_mode, bool update) BEGIN_RING(evo, 0, NV50_UPDATE_DISPLAY, 1); OUT_RING (evo, 0); FIRE_RING (evo); + RING_WAIT (evo); } return 0; @@ -520,6 +522,7 @@ static void nv50_crtc_commit(struct drm_crtc *drm_crtc) BEGIN_RING(evo, 0, NV50_UPDATE_DISPLAY, 1); OUT_RING (evo, 0); FIRE_RING...
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...nnector->funcs->atomic_set_property) { >>> return connector->funcs->atomic_set_property(connector, >>> state, property, val); >>> @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, >>> *val = state->scaling_mode; >>> } else if (property == connector->content_protection_property) { >>> *val = state->content_protection; >>> + } else if (property == connector->underscan_mode_property) { >>> + *val = state->underscan.mode; >>> + } else if (propert...
2009 Aug 16
2
[PATCH] drm/nv04: fix null pointer dereferences of native_mode
..._dfp.c index 7913e5f..9dd4a98 100644 --- a/drivers/gpu/drm/nouveau/nv04_dfp.c +++ b/drivers/gpu/drm/nouveau/nv04_dfp.c @@ -153,6 +153,8 @@ static bool nv04_dfp_mode_fixup(struct drm_encoder *encoder, /* For internal panels and gpu scaling on DVI we need the native mode */ if (nv_connector->scaling_mode != DRM_MODE_SCALE_NON_GPU) { + if (!nv_connector->native_mode) + return false; nv_encoder->mode = *nv_connector->native_mode; adjusted_mode->clock = nv_connector->native_mode->clock; } else { @@ -305,7 +307,7 @@ static void nv04_dfp_mode_set(struct drm_encoder *encoder...
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...rder = val; > } else if (connector->funcs->atomic_set_property) { > return connector->funcs->atomic_set_property(connector, > state, property, val); > @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, > *val = state->scaling_mode; > } else if (property == connector->content_protection_property) { > *val = state->content_protection; > + } else if (property == connector->underscan_mode_property) { > + *val = state->underscan.mode; > + } else if (property == connector->underscan_hborder_pro...
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...else if (connector->funcs->atomic_set_property) { > > return connector->funcs->atomic_set_property(connector, > > state, property, val); > > @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, > > *val = state->scaling_mode; > > } else if (property == connector->content_protection_property) { > > *val = state->content_protection; > > + } else if (property == connector->underscan_mode_property) { > > + *val = state->underscan.mode; > > + } else if (property == connector-...
2018 May 07
2
[PATCH 1/3] drm/connector: Add generic underscan properties
...rder = val; > } else if (connector->funcs->atomic_set_property) { > return connector->funcs->atomic_set_property(connector, > state, property, val); > @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, > *val = state->scaling_mode; > } else if (property == connector->content_protection_property) { > *val = state->content_protection; > + } else if (property == connector->underscan_mode_property) { > + *val = state->underscan.mode; > + } else if (property == connector->underscan_hborder_pro...
2018 May 08
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...> return connector->funcs->atomic_set_property(connector, >>>> state, property, val); >>>> @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, >>>> *val = state->scaling_mode; >>>> } else if (property == connector->content_protection_property) { >>>> *val = state->content_protection; >>>> + } else if (property == connector->underscan_mode_property) { >>>> + *val = state->underscan.m...
2008 Mar 11
2
NV50: Some patches that need testing.
...0-NV50-Rename-nativeMode.patch Type: text/x-patch Size: 3802 bytes Desc: not available Url : http://lists.freedesktop.org/archives/nouveau/attachments/20080311/f8707bb5/attachment-0021.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: 0011-NV50-rename-scale-to-scaling_mode.patch Type: text/x-patch Size: 3260 bytes Desc: not available Url : http://lists.freedesktop.org/archives/nouveau/attachments/20080311/f8707bb5/attachment-0022.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: 0012-NV50-Merge-the-two-output-private-structs.pa...
2011 Oct 10
2
2 remaining patches in my patch queue that can be merged
Hi, Here I post these 2 misc patches. Best regards, Maxim Levitsky
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of nouveau_hw_save_vga_fonts, when it actually did something (because the console wasn't already in graphics mode). Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS implementation. I've tried to test it on all the hardware I've got at hand (that is nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output combination; I believe it has reached a mergeable state, however it depends on some commits from drm-next that haven't got into Linus' tree yet, if you agree to merge this
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...state->underscan.vborder = val; } else if (connector->funcs->atomic_set_property) { return connector->funcs->atomic_set_property(connector, state, property, val); @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, *val = state->scaling_mode; } else if (property == connector->content_protection_property) { *val = state->content_protection; + } else if (property == connector->underscan_mode_property) { + *val = state->underscan.mode; + } else if (property == connector->underscan_hborder_property) { + *val = state-...
2018 May 07
8
[PATCH 0/3] drm/connector: Provide generic support for underscan
Hello, This is an attempt at providing generic support for underscan connector props. We already have 3 drivers defining the same underscan, underscan vborder and underscan hborder properties (amd, radeon and nouveau) and I am about to add a new one, hence my proposal to put the prop parsing code in the core and add ->underscan fields to drm_connector_state. Note that I use this new
2018 Nov 22
0
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...+ state->underscan.vborder = val; } else if (connector->funcs->atomic_set_property) { return connector->funcs->atomic_set_property(connector, state, property, val); @@ -799,6 +805,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, *val = state->scaling_mode; } else if (property == connector->content_protection_property) { *val = state->content_protection; + } else if (property == connector->underscan_mode_property) { + *val = state->underscan.mode; + } else if (property == connector->underscan_hborder_property) { + *val = state-...
2009 Dec 13
3
[PATCH] drm/nouveau: use drm debug levels
...nv_crtc, bool on, bool update) struct nouveau_channel *evo = dev_priv->evo; int ret; - NV_DEBUG(dev, "\n"); + NV_DEBUG_KMS(dev, "\n"); ret = RING_SPACE(evo, 2 + (update ? 2 : 0)); if (ret) { @@ -193,7 +193,7 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, int scaling_mode, bool update) uint32_t outX, outY, horiz, vert; int ret; - NV_DEBUG(dev, "\n"); + NV_DEBUG_KMS(dev, "\n"); switch (scaling_mode) { case DRM_MODE_SCALE_NONE: @@ -301,7 +301,7 @@ nv50_crtc_destroy(struct drm_crtc *crtc) struct drm_device *dev = crtc->dev; struc...
2018 May 07
0
[PATCH 1/3] drm/connector: Add generic underscan properties
...else if (connector->funcs->atomic_set_property) { > > return connector->funcs->atomic_set_property(connector, > > state, property, val); > > @@ -1359,6 +1365,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, > > *val = state->scaling_mode; > > } else if (property == connector->content_protection_property) { > > *val = state->content_protection; > > + } else if (property == connector->underscan_mode_property) { > > + *val = state->underscan.mode; > > + } else if (property == connector-...
2018 Nov 22
1
[PATCH v3 1/3] drm/connector: Add generic underscan properties
...can.vborder = val; > } else if (connector->funcs->atomic_set_property) { > return connector->funcs->atomic_set_property(connector, > state, property, val); >@@ -799,6 +805,12 @@ drm_atomic_connector_get_property(struct drm_connector *connector, > *val = state->scaling_mode; > } else if (property == connector->content_protection_property) { > *val = state->content_protection; >+ } else if (property == connector->underscan_mode_property) { >+ *val = state->underscan.mode; >+ } else if (property == connector->underscan_hborder_property...