The layerscape kernel patches appears to be just some uncleaned local development tree, where patches are sometimes directly followed by their revert. While this does not seem a problem in the first place, it becomes incredibly unpleasant when the upstream kernel changes in the relevant areas and requires rebase. This removes all these patch-revert pairs and refreshs the rest. It removes about 44000 lines of entirely useless code. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 813cf104c571bf54e155d6be247c32a8f6aa3e2e Mon Sep 17 00:00:00 2001
 | |
| From: Fancy Fang <chen.fang@nxp.com>
 | |
| Date: Wed, 6 Jun 2018 23:20:43 +0800
 | |
| Subject: [PATCH] MLK-18535-6 drm/imx: core: add LCDIF support
 | |
| 
 | |
| Allows the LCDIF to be one of the supported client
 | |
| components. And set the 'legacyfb_depth' of LCDIF
 | |
| to be 32.
 | |
| 
 | |
| Signed-off-by: Fancy Fang <chen.fang@nxp.com>
 | |
| ---
 | |
|  drivers/gpu/drm/imx/imx-drm-core.c | 13 +++++++++++++
 | |
|  1 file changed, 13 insertions(+)
 | |
| 
 | |
| --- a/drivers/gpu/drm/imx/imx-drm-core.c
 | |
| +++ b/drivers/gpu/drm/imx/imx-drm-core.c
 | |
| @@ -12,6 +12,7 @@
 | |
|  #include <linux/platform_device.h>
 | |
|  
 | |
|  #include <video/imx-ipu-v3.h>
 | |
| +#include <video/imx-lcdif.h>
 | |
|  
 | |
|  #include <drm/drm_atomic.h>
 | |
|  #include <drm/drm_atomic_helper.h>
 | |
| @@ -188,6 +189,18 @@ static int compare_of(struct device *dev
 | |
|  		struct dpu_client_platformdata *pdata = dev->platform_data;
 | |
|  
 | |
|  		return pdata->of_node == np;
 | |
| +	} else if (strcmp(dev->driver->name, "imx-lcdif-crtc") == 0) {
 | |
| +		struct lcdif_client_platformdata *pdata = dev->platform_data;
 | |
| +#if IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
 | |
| +		/* set legacyfb_depth to be 32 for lcdif, since
 | |
| +		 * default format of the connectors attached to
 | |
| +		 * lcdif is usually RGB888
 | |
| +		 */
 | |
| +		if (pdata->of_node == np)
 | |
| +			legacyfb_depth = 32;
 | |
| +#endif
 | |
| +
 | |
| +		return pdata->of_node == np;
 | |
|  	}
 | |
|  
 | |
|  	/* Special case for LDB, one device for two channels */
 |