Daniele Ceraolo Spurio 
							
						 
					 
					
						
						
							
						
						4cb3b44d6b 
					 
					
						
						
							
							drm/i915: Wrappers for display register waits  
						
						... 
						
						
						
						To reduce the number of explicit dev_priv->uncore calls in the display
code ahead of the introduction of dev_priv->de_uncore, this patch
introduces a wrapper for one of the main usages of it, the register
waits. When we transition to the new uncore, we can just update the
wrapper to point to the appropriate structure.
Since the vast majority of waits are on a set or clear of a bit or mask,
add set & clear flavours of the wrapper to simplify the code.
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com >
Cc: Jani Nikula <jani.nikula@intel.com >
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com >
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk >
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
Link: https://patchwork.freedesktop.org/patch/msgid/20190816012343.36433-7-daniele.ceraolospurio@intel.com  
						
						
					 
					
						2019-08-16 22:19:05 +01:00 
						 
				 
			
				
					
						
							
							
								Jani Nikula 
							
						 
					 
					
						
						
							
						
						1d455f8de8 
					 
					
						
						
							
							drm/i915: rename intel_drv.h to display/intel_display_types.h  
						
						... 
						
						
						
						Everything about the file is about display, and mostly about types
related to display. Move under display/ as intel_display_types.h to
reflect the facts.
There's still plenty to clean up, but start off with moving the file
where it logically belongs and naming according to contents.
v2: fix the include guard name in the renamed file
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk >
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20190806113933.11799-1-jani.nikula@intel.com  
						
						
					 
					
						2019-08-07 12:43:50 +03:00 
						 
				 
			
				
					
						
							
							
								José Roberto de Souza 
							
						 
					 
					
						
						
							
						
						381f8a20d2 
					 
					
						
						
							
							drm/i915/psr: Force manual PSR exit in older gens  
						
						... 
						
						
						
						To do frontbuffer tracking we are depending on Display WA #0884  to
exit PSR when there is a frontbuffer modification but according to
user reports a write to CURSURFLIVE do not cause PSR to exit in older
gens so lets force a PSR exit.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110799 
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com >
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com >
Tested-by: Thomas Rohwer <trohwer85@gmail.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20190617195154.30292-1-jose.souza@intel.com  
						
						
					 
					
						2019-06-18 12:33:14 -07:00 
						 
				 
			
				
					
						
							
							
								Jani Nikula 
							
						 
					 
					
						
						
							
						
						df0566a641 
					 
					
						
						
							
							drm/i915: move modesetting core code under display/  
						
						... 
						
						
						
						Now that we have a new subdirectory for display code, continue by moving
modesetting core code.
display/intel_frontbuffer.h sticks out like a sore thumb, otherwise this
is, again, a surprisingly clean operation.
v2:
- don't move intel_sideband.[ch] (Ville)
- use tabs for Makefile file lists and sort them
Cc: Chris Wilson <chris@chris-wilson.co.uk >
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com >
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com >
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com >
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk >
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com >
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com >
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20190613084416.6794-3-jani.nikula@intel.com  
						
						
					 
					
						2019-06-17 11:48:32 +03:00