mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
updata gpu driver & lcdc priority
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
#else
|
||||
#define SDRAM_SIZE SZ_512M
|
||||
#endif
|
||||
#define PMEM_GPU_SIZE SZ_48M
|
||||
#define PMEM_GPU_SIZE SZ_64M
|
||||
#define PMEM_UI_SIZE SZ_32M
|
||||
#define PMEM_VPU_SIZE SZ_32M
|
||||
#define PMEM_CAM_SIZE SZ_16M
|
||||
@@ -969,7 +969,7 @@ static struct resource resources_gpu[] = {
|
||||
[1] = {
|
||||
.name = "gpu_base",
|
||||
.start = RK29_GPU_PHYS,
|
||||
.end = RK29_GPU_PHYS + (256 << 10),
|
||||
.end = RK29_GPU_PHYS + RK29_GPU_PHYS_SIZE,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
[2] = {
|
||||
|
||||
@@ -71,7 +71,8 @@ ARCH_TYPE ?= arm
|
||||
SDK_DIR ?= $(AQROOT)/build/sdk
|
||||
USE_3D_VG = 1
|
||||
|
||||
DEBUG = 1
|
||||
DEBUG = 0
|
||||
gcdkREPORT_VIDMEM_USAGE = 1
|
||||
|
||||
#DRIVER_OUT_DIR = hal/driver
|
||||
#KERNEL_DIR ?= $(TOOL_DIR)/kernel
|
||||
|
||||
@@ -721,6 +721,8 @@ gckGALDEVICE_Construct(
|
||||
device->contiguousSize = ContiguousSize;
|
||||
device->contiguousBase = (gctPOINTER) ioremap_nocache(ContiguousBase, ContiguousSize);
|
||||
device->contiguousMapped = gcvTRUE;
|
||||
printk(">>>> gckGALDEVICE_Construct device (contiguousBase=0x%08x, contiguousSize=0x%08x) \n",
|
||||
(u32)device->contiguousBase, (u32)device->contiguousSize);
|
||||
|
||||
if (device->contiguousBase == gcvNULL)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,7 @@ module_param(contiguousBase, ulong, 0644);
|
||||
long bankSize = 32 << 20;
|
||||
module_param(bankSize, long, 0644);
|
||||
|
||||
int fastClear = -1;
|
||||
int fastClear = 0; //-1;
|
||||
module_param(fastClear, int, 0644);
|
||||
|
||||
int compression = -1;
|
||||
|
||||
@@ -1714,6 +1714,8 @@ static int __init rk29fb_probe (struct platform_device *pdev)
|
||||
|
||||
fbprintk(">>>>>> %s : %s\n", __FILE__, __FUNCTION__);
|
||||
|
||||
*(volatile u32 *)(RK29_GRF_BASE+0xac) = ((*(volatile u32 *)(RK29_GRF_BASE+0xac)) & ~0x3FF) | 0x246;
|
||||
|
||||
/* Malloc rk29fb_inf and set it to pdev for drvdata */
|
||||
fbprintk(">> Malloc rk29fb_inf and set it to pdev for drvdata \n");
|
||||
inf = kmalloc(sizeof(struct rk29fb_inf), GFP_KERNEL);
|
||||
|
||||
Reference in New Issue
Block a user