search for: nvreadextdev

Displaying 6 results from an estimated 6 matches for "nvreadextdev".

2009 Aug 16
2
[PATCH] drm/nv04: fix null pointer dereferences of native_mode
..._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, if (nvReadEXTDEV(dev, NV_PEXTDEV_BOOT_0) & NV_PEXTDEV_BOOT_0_STRAP_FP_IFACE_12BIT) regp->fp_control |= NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12; if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && - nv_connector->native_mode->clock > 165000) + nv_encoder->mode.clock > 16500...
2008 Jun 01
0
Clock speed for GeForce 6100
...--- xf86-video-nv-2.1.6/nouveau-20070920/src/nv_setup.c 2007-09-19 23:17:39.000000000 +0100 +++ xf86-video-nv-2.1.6.mihai/nouveau-20070920/src/nv_setup.c 2008-06-01 15:45:53.000000000 +0100 @@ -333,7 +333,10 @@ if(pNv->twoHeads && (implementation != CHIPSET_NV11)) { if(nvReadEXTDEV(pNv, 0x0000) & (1 << 22)) - pNv->CrystalFreqKHz = 27000; + if(implementation == CHIPSET_C512) + pNv->CrystalFreqKHz = 25000; + else + pNv->CrystalFreqKHz = 27000; } pNv->CURSOR = NULL; /* can't...
2009 Sep 06
2
[PATCH 1/4] drm/nouveau: add reg_debug module parameter
...tatic inline void nvWriteFB(struct drm_device *dev, uint32_t reg, uint32_t val) { - NV_DEBUG(dev, "nvWriteFB: reg %08x val %08x\n", reg, val); + NV_REG_DEBUG(FB, dev, "reg %08x val %08x\n", reg, val); nv_wr32(dev, reg, val); } @@ -104,27 +104,27 @@ static inline uint32_t nvReadEXTDEV(struct drm_device *dev, uint32_t reg) { uint32_t val = nv_rd32(dev, reg); - NV_DEBUG(dev, "nvReadEXTDEV: reg %08x val %08x\n", reg, val); + NV_REG_DEBUG(EXTDEV, dev, "reg %08x val %08x\n", reg, val); return val; } static inline void nvWriteEXTDEV(struct drm_device *dev...
2009 Nov 23
2
[PATCH 1/3] drm/nouveau: Update the CRTC arbitration parameters on FB depth switch.
Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nv04_crtc.c | 37 +++++++++++++++++++++------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/nv04_crtc.c index 2ab9f30..0a5cfc1 100644 --- a/drivers/gpu/drm/nouveau/nv04_crtc.c +++ b/drivers/gpu/drm/nouveau/nv04_crtc.c
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