Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199012 Details for
Bug 269554
intel KMS @ >gentoo-sources-2.6.29 && >vanilla-sources-2.6.29 corrupts the VT Screen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init_fence_registers patch
init_fence_registers.patch (text/plain), 916 bytes, created by
Stratos Psomadakis (RETIRED)
on 2009-07-24 19:26:12 UTC
(
hide
)
Description:
init_fence_registers patch
Filename:
MIME Type:
Creator:
Stratos Psomadakis (RETIRED)
Created:
2009-07-24 19:26:12 UTC
Size:
916 bytes
patch
obsolete
>diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c >index 39f5c65..91ad93d 100644 >--- a/drivers/gpu/drm/i915/i915_gem.c >+++ b/drivers/gpu/drm/i915/i915_gem.c >@@ -4154,6 +4154,7 @@ i915_gem_lastclose(struct drm_device *dev) > void > i915_gem_load(struct drm_device *dev) > { >+ int i; > drm_i915_private_t *dev_priv = dev->dev_private; > > spin_lock_init(&dev_priv->mm.active_list_lock); >@@ -4173,6 +4174,18 @@ i915_gem_load(struct drm_device *dev) > else > dev_priv->num_fence_regs = 8; > >+ /* Initialize fence registers to zero */ >+ if (IS_I965G(dev)) { >+ for (i = 0; i < 16; i++) >+ I915_WRITE64(FENCE_REG_965_0 + (i * 8), 0); >+ } else { >+ for (i = 0; i < 8; i++) >+ I915_WRITE(FENCE_REG_830_0 + (i * 4), 0); >+ if (IS_I945G(dev) || IS_I945GM(dev) || IS_G33(dev)) >+ for (i = 0; i < 8; i++) >+ I915_WRITE(FENCE_REG_945_8 + (i * 4), 0); >+ } >+ > i915_gem_detect_bit_6_swizzle(dev); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269554
:
191030
|
191031
|
196707
| 199012