drm-intel rebase, enable kernel-debug
This commit is contained in:
		
							parent
							
								
									a568a0d41b
								
							
						
					
					
						commit
						2c69ace464
					
				| @ -1415,11 +1415,11 @@ CONFIG_ATMEL=m | ||||
| CONFIG_B43=m | ||||
| CONFIG_B43_PCMCIA=y | ||||
| CONFIG_B43_SDIO=y | ||||
| CONFIG_B43_DEBUG=y | ||||
| # CONFIG_B43_DEBUG is not set | ||||
| CONFIG_B43_PHY_LP=y | ||||
| # CONFIG_B43_FORCE_PIO is not set | ||||
| CONFIG_B43LEGACY=m | ||||
| CONFIG_B43LEGACY_DEBUG=y | ||||
| # CONFIG_B43LEGACY_DEBUG is not set | ||||
| CONFIG_B43LEGACY_DMA=y | ||||
| CONFIG_B43LEGACY_PIO=y | ||||
| CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y | ||||
| @ -3768,7 +3768,7 @@ CONFIG_IBMASR=m | ||||
| CONFIG_PM_DEBUG=y | ||||
| CONFIG_PM_TRACE=y | ||||
| # CONFIG_PM_VERBOSE is not set | ||||
| CONFIG_PM_TEST_SUSPEND=y | ||||
| # CONFIG_PM_TEST_SUSPEND is not set | ||||
| CONFIG_PM_RUNTIME=y | ||||
| 
 | ||||
| ## BEGIN ISA Junk. | ||||
| @ -4206,7 +4206,7 @@ CONFIG_USB_ATMEL=m | ||||
| # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||||
| # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||||
| # CONFIG_FUNCTION_GRAPH_TRACER is not set | ||||
| CONFIG_BOOT_TRACER=y | ||||
| # CONFIG_BOOT_TRACER is not set | ||||
| CONFIG_EARLY_PRINTK_DBGP=y | ||||
| 
 | ||||
| CONFIG_SECURITYFS=y | ||||
|  | ||||
| @ -2,92 +2,92 @@ CONFIG_SND_VERBOSE_PRINTK=y | ||||
| CONFIG_SND_DEBUG=y | ||||
| CONFIG_SND_PCM_XRUN_DEBUG=y | ||||
| 
 | ||||
| CONFIG_DEBUG_MUTEXES=y | ||||
| CONFIG_DEBUG_RT_MUTEXES=y | ||||
| CONFIG_DEBUG_LOCK_ALLOC=y | ||||
| CONFIG_PROVE_LOCKING=y | ||||
| CONFIG_DEBUG_VM=y | ||||
| CONFIG_DEBUG_SPINLOCK=y | ||||
| CONFIG_PROVE_RCU=y | ||||
| # CONFIG_DEBUG_MUTEXES is not set | ||||
| # CONFIG_DEBUG_RT_MUTEXES is not set | ||||
| # CONFIG_DEBUG_LOCK_ALLOC is not set | ||||
| # CONFIG_PROVE_LOCKING is not set | ||||
| # CONFIG_DEBUG_VM is not set | ||||
| # CONFIG_DEBUG_SPINLOCK is not set | ||||
| # CONFIG_PROVE_RCU is not set | ||||
| # CONFIG_PROVE_RCU_REPEATEDLY is not set | ||||
| CONFIG_DEBUG_PER_CPU_MAPS=y | ||||
| # CONFIG_DEBUG_PER_CPU_MAPS is not set | ||||
| CONFIG_CPUMASK_OFFSTACK=y | ||||
| 
 | ||||
| CONFIG_CPU_NOTIFIER_ERROR_INJECT=m | ||||
| # CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set | ||||
| 
 | ||||
| CONFIG_FAULT_INJECTION=y | ||||
| CONFIG_FAILSLAB=y | ||||
| CONFIG_FAIL_PAGE_ALLOC=y | ||||
| CONFIG_FAIL_MAKE_REQUEST=y | ||||
| CONFIG_FAULT_INJECTION_DEBUG_FS=y | ||||
| CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y | ||||
| CONFIG_FAIL_IO_TIMEOUT=y | ||||
| # CONFIG_FAULT_INJECTION is not set | ||||
| # CONFIG_FAILSLAB is not set | ||||
| # CONFIG_FAIL_PAGE_ALLOC is not set | ||||
| # CONFIG_FAIL_MAKE_REQUEST is not set | ||||
| # CONFIG_FAULT_INJECTION_DEBUG_FS is not set | ||||
| # CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set | ||||
| # CONFIG_FAIL_IO_TIMEOUT is not set | ||||
| 
 | ||||
| CONFIG_SLUB_DEBUG_ON=y | ||||
| # CONFIG_SLUB_DEBUG_ON is not set | ||||
| 
 | ||||
| CONFIG_LOCK_STAT=y | ||||
| # CONFIG_LOCK_STAT is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_STACK_USAGE=y | ||||
| # CONFIG_DEBUG_STACK_USAGE is not set | ||||
| 
 | ||||
| CONFIG_ACPI_DEBUG=y | ||||
| # CONFIG_ACPI_DEBUG is not set | ||||
| # CONFIG_ACPI_DEBUG_FUNC_TRACE is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_SG=y | ||||
| # CONFIG_DEBUG_SG is not set | ||||
| 
 | ||||
| # CONFIG_DEBUG_PAGEALLOC is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_WRITECOUNT=y | ||||
| CONFIG_DEBUG_OBJECTS=y | ||||
| # CONFIG_DEBUG_WRITECOUNT is not set | ||||
| # CONFIG_DEBUG_OBJECTS is not set | ||||
| # CONFIG_DEBUG_OBJECTS_SELFTEST is not set | ||||
| CONFIG_DEBUG_OBJECTS_FREE=y | ||||
| CONFIG_DEBUG_OBJECTS_TIMERS=y | ||||
| # CONFIG_DEBUG_OBJECTS_FREE is not set | ||||
| # CONFIG_DEBUG_OBJECTS_TIMERS is not set | ||||
| CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 | ||||
| 
 | ||||
| CONFIG_X86_PTDUMP=y | ||||
| # CONFIG_X86_PTDUMP is not set | ||||
| 
 | ||||
| CONFIG_CAN_DEBUG_DEVICES=y | ||||
| # CONFIG_CAN_DEBUG_DEVICES is not set | ||||
| 
 | ||||
| CONFIG_MODULE_FORCE_UNLOAD=y | ||||
| # CONFIG_MODULE_FORCE_UNLOAD is not set | ||||
| 
 | ||||
| CONFIG_SYSCTL_SYSCALL_CHECK=y | ||||
| # CONFIG_SYSCTL_SYSCALL_CHECK is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_NOTIFIERS=y | ||||
| # CONFIG_DEBUG_NOTIFIERS is not set | ||||
| 
 | ||||
| CONFIG_DMA_API_DEBUG=y | ||||
| # CONFIG_DMA_API_DEBUG is not set | ||||
| 
 | ||||
| CONFIG_MMIOTRACE=y | ||||
| # CONFIG_MMIOTRACE is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_CREDENTIALS=y | ||||
| # CONFIG_DEBUG_CREDENTIALS is not set | ||||
| 
 | ||||
| # off in both production debug and nodebug builds, | ||||
| #  on in rawhide nodebug builds | ||||
| CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y | ||||
| # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||||
| 
 | ||||
| CONFIG_EXT4_DEBUG=y | ||||
| # CONFIG_EXT4_DEBUG is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_PERF_USE_VMALLOC=y | ||||
| # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||||
| 
 | ||||
| CONFIG_JBD2_DEBUG=y | ||||
| # CONFIG_JBD2_DEBUG is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_CFQ_IOSCHED=y | ||||
| # CONFIG_DEBUG_CFQ_IOSCHED is not set | ||||
| 
 | ||||
| CONFIG_DRBD_FAULT_INJECTION=y | ||||
| # CONFIG_DRBD_FAULT_INJECTION is not set | ||||
| 
 | ||||
| CONFIG_ATH_DEBUG=y | ||||
| CONFIG_IWLWIFI_DEVICE_TRACING=y | ||||
| # CONFIG_ATH_DEBUG is not set | ||||
| # CONFIG_IWLWIFI_DEVICE_TRACING is not set | ||||
| 
 | ||||
| CONFIG_DEBUG_OBJECTS_WORK=y | ||||
| CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y | ||||
| # CONFIG_DEBUG_OBJECTS_WORK is not set | ||||
| # CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set | ||||
| 
 | ||||
| CONFIG_DMADEVICES_DEBUG=y | ||||
| CONFIG_DMADEVICES_VDEBUG=y | ||||
| # CONFIG_DMADEVICES_DEBUG is not set | ||||
| # CONFIG_DMADEVICES_VDEBUG is not set | ||||
| 
 | ||||
| CONFIG_PM_ADVANCED_DEBUG=y | ||||
| 
 | ||||
| CONFIG_CEPH_FS_PRETTYDEBUG=y | ||||
| CONFIG_QUOTA_DEBUG=y | ||||
| # CONFIG_CEPH_FS_PRETTYDEBUG is not set | ||||
| # CONFIG_QUOTA_DEBUG is not set | ||||
| 
 | ||||
| # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set | ||||
| CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y | ||||
| 
 | ||||
| CONFIG_PCI_DEFAULT_USE_CRS=y | ||||
| 
 | ||||
|  | ||||
| @ -15,7 +15,7 @@ CONFIG_NUMA=y | ||||
| CONFIG_K8_NUMA=y | ||||
| CONFIG_X86_64_ACPI_NUMA=y | ||||
| # CONFIG_NUMA_EMU is not set | ||||
| CONFIG_NR_CPUS=512 | ||||
| CONFIG_NR_CPUS=256 | ||||
| CONFIG_X86_POWERNOW_K8=m | ||||
| CONFIG_X86_P4_CLOCKMOD=m | ||||
| CONFIG_IA32_EMULATION=y | ||||
|  | ||||
							
								
								
									
										24423
									
								
								drm-intel-2.6.37-rc2.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24423
									
								
								drm-intel-2.6.37-rc2.patch
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -1,16 +1,16 @@ | ||||
| diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
 | ||||
| index 37427e4..08af9db 100644
 | ||||
| index 6da2c6d..f508b86 100644
 | ||||
| --- a/drivers/gpu/drm/i915/i915_gem.c
 | ||||
| +++ b/drivers/gpu/drm/i915/i915_gem.c
 | ||||
| @@ -2553,6 +2553,11 @@ i915_gem_execbuffer(struct drm_device *dev, void *data,
 | ||||
|   | ||||
|  	mutex_lock(&dev->struct_mutex); | ||||
| @@ -3738,6 +3738,11 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
 | ||||
|  	if (ret) | ||||
|  		goto pre_mutex_err; | ||||
|   | ||||
| +	/* We don't get the flushing right for these chipsets, use the
 | ||||
| +	 * big hamer for now to avoid random crashiness. */
 | ||||
| +	 * big hammer for now to avoid random crashiness. */
 | ||||
| +	if (IS_I85X(dev) || IS_I865G(dev))
 | ||||
| +		wbinvd();
 | ||||
| +
 | ||||
|  	i915_verify_inactive(dev, __FILE__, __LINE__); | ||||
|   | ||||
|  	if (dev_priv->mm.wedged) { | ||||
|  	if (dev_priv->mm.suspended) { | ||||
|  		mutex_unlock(&dev->struct_mutex); | ||||
|  		ret = -EBUSY; | ||||
|  | ||||
| @ -1,19 +1,20 @@ | ||||
| diff -up linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_display.c.orig linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_display.c
 | ||||
| --- linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_display.c.orig	2010-03-31 16:59:39.901995671 -0400
 | ||||
| +++ linux-2.6.33.noarch/drivers/gpu/drm/i915/intel_display.c	2010-03-31 17:01:05.416996744 -0400
 | ||||
| @@ -3757,7 +3757,6 @@ struct drm_crtc *intel_get_load_detect_p
 | ||||
|  void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder, int dpms_mode) | ||||
| diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
 | ||||
| index 0cece04..63bbb4b 100644
 | ||||
| --- a/drivers/gpu/drm/i915/intel_display.c
 | ||||
| +++ b/drivers/gpu/drm/i915/intel_display.c
 | ||||
| @@ -4580,7 +4580,6 @@ void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder,
 | ||||
|  				    struct drm_connector *connector, int dpms_mode) | ||||
|  { | ||||
|  	struct drm_encoder *encoder = &intel_encoder->enc; | ||||
|  	struct drm_encoder *encoder = &intel_encoder->base; | ||||
| -	struct drm_device *dev = encoder->dev;
 | ||||
|  	struct drm_crtc *crtc = encoder->crtc; | ||||
|  	struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; | ||||
|  	struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; | ||||
| @@ -3767,7 +3766,6 @@ void intel_release_load_detect_pipe(stru
 | ||||
|  		intel_encoder->base.encoder = NULL; | ||||
| @@ -4590,7 +4589,6 @@ void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder,
 | ||||
|  		connector->encoder = NULL; | ||||
|  		intel_encoder->load_detect_temp = false; | ||||
|  		crtc->enabled = drm_helper_crtc_in_use(crtc); | ||||
| -		drm_helper_disable_unused_functions(dev);
 | ||||
|  	} | ||||
|   | ||||
|  	/* Switch crtc and output back off if necessary */ | ||||
|  	/* Switch crtc and encoder back off if necessary */ | ||||
|  | ||||
							
								
								
									
										18
									
								
								kernel.spec
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								kernel.spec
									
									
									
									
									
								
							| @ -51,7 +51,7 @@ Summary: The Linux kernel | ||||
| # For non-released -rc kernels, this will be prepended with "0.", so | ||||
| # for example a 3 here will become 0.3 | ||||
| # | ||||
| %global baserelease 2 | ||||
| %global baserelease 3 | ||||
| %global fedora_build %{baserelease} | ||||
| 
 | ||||
| # base_sublevel is the kernel version we're starting with and patching | ||||
| @ -128,7 +128,7 @@ Summary: The Linux kernel | ||||
| %define doc_build_fail true | ||||
| %endif | ||||
| 
 | ||||
| %define rawhide_skip_docs 1 | ||||
| %define rawhide_skip_docs 0 | ||||
| %if 0%{?rawhide_skip_docs} | ||||
| %define with_doc 0 | ||||
| %define doc_build_fail true | ||||
| @ -149,7 +149,7 @@ Summary: The Linux kernel | ||||
| # Set debugbuildsenabled to 1 for production (build separate debug kernels) | ||||
| #  and 0 for rawhide (all kernels are debug kernels). | ||||
| # See also 'make debug' and 'make release'. | ||||
| %define debugbuildsenabled 0 | ||||
| %define debugbuildsenabled 1 | ||||
| 
 | ||||
| # Want to build a vanilla kernel build without any non-upstream patches? | ||||
| %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} | ||||
| @ -649,12 +649,10 @@ Patch1555: fix_xen_guest_on_old_EC2.patch | ||||
| 
 | ||||
| # nouveau + drm fixes | ||||
| Patch1810: drm-nouveau-updates.patch | ||||
| Patch1811: drm-intel-2.6.37-rc2.patch | ||||
| Patch1819: drm-intel-big-hammer.patch | ||||
| # intel drm is all merged upstream | ||||
| Patch1824: drm-intel-next.patch | ||||
| # make sure the lvds comes back on lid open | ||||
| Patch1825: drm-intel-make-lvds-work.patch | ||||
| Patch1826: drm-i915-reprogram-power-monitoring-registers-on-resume.patch | ||||
| Patch1900: linux-2.6-intel-iommu-igfx.patch | ||||
| 
 | ||||
| # linux1394 git patches | ||||
| @ -1269,10 +1267,9 @@ ApplyPatch fix_xen_guest_on_old_EC2.patch | ||||
| ApplyOptionalPatch drm-nouveau-updates.patch | ||||
| 
 | ||||
| # Intel DRM | ||||
| ApplyOptionalPatch drm-intel-next.patch | ||||
| ApplyPatch drm-intel-2.6.37-rc2.patch | ||||
| ApplyPatch drm-intel-big-hammer.patch | ||||
| ApplyPatch drm-intel-make-lvds-work.patch | ||||
| ApplyPatch drm-i915-reprogram-power-monitoring-registers-on-resume.patch | ||||
| ApplyPatch linux-2.6-intel-iommu-igfx.patch | ||||
| 
 | ||||
| # linux1394 git patches | ||||
| @ -1957,6 +1954,11 @@ fi | ||||
| #                 ||     || | ||||
| 
 | ||||
| %changelog | ||||
| * Tue Nov 16 2010 Kyle McMartin <kyle@redhat.com> 2.6.36-3 | ||||
| - Rebase drm/intel to 2.6.37-rc2+edp_fixes, hopefully to sort out most of | ||||
|   the issues folks with eDP are having. | ||||
| - Switch to release builds and turn on debugging flavours. | ||||
| 
 | ||||
| * Mon Nov 15 2010 Kyle McMartin <kyle@redhat.com> | ||||
| - rhbz#651019: pull in support for MBA3. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user