/* * Phase5 CybervisionPPC (TVP4020) definitions for the Permedia2 framebuffer * driver. * * Copyright (c) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) * -------------------------------------------------------------------------- * $Id: cvisionppc.h,v 1.8 1999/01/28 13:18:07 illo Exp $ * -------------------------------------------------------------------------- * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #ifndef CVISIONPPC_H #define CVISIONPPC_H #ifndef PM2FB_H #include "pm2fb.h" #endif struct cvppc_par { unsigned char* pci_config; unsigned char* pci_bridge; u32 user_flags; }; #define CSPPC_PCI_BRIDGE 0xfffe0000 #define CSPPC_BRIDGE_ENDIAN 0x0000 #define CSPPC_BRIDGE_INT 0x0010 #define CVPPC_PCI_CONFIG 0xfffc0000 #define CVPPC_ROM_ADDRESS 0xe2000001 #define CVPPC_REGS_REGION 0xef000000 #define CVPPC_FB_APERTURE_ONE 0xe0000000 #define CVPPC_FB_APERTURE_TWO 0xe1000000 #define CVPPC_FB_SIZE 0x00800000 #define CVPPC_MEM_CONFIG_OLD 0xed61fcaa /* FIXME Fujitsu?? */ #define CVPPC_MEM_CONFIG_NEW 0xed41c532 /* FIXME USA?? */ #define CVPPC_MEMCLOCK 83000 /* in KHz */ /* CVPPC_BRIDGE_ENDIAN */ #define CSPPCF_BRIDGE_BIG_ENDIAN 0x02 /* CVPPC_BRIDGE_INT */ #define CSPPCF_BRIDGE_ACTIVE_INT2 0x01 #endif /* CVISIONPPC_H */ /***************************************************************************** * That's all folks! *****************************************************************************/ /net-next.git/refs/?id=7bc61cc5df808008b77a3b72cf814960c675518b'>refslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2016-10-19 10:46:18 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2016-11-11 04:31:35 +0300
commit7bc61cc5df808008b77a3b72cf814960c675518b (patch)
treea7cd348de15486c3203b66e30e0ee5ceb2f7f466 /Documentation
parentfa860a1751e388385a7f249dd3f24a6c76db0ba9 (diff)
drm/arcpgu: Accommodate adv7511 switch to DRM bridge
ARC PGU driver starts crashing on initialization after 'commit e12c2f645557 ("drm/i2c: adv7511: Convert to drm_bridge")' This happenes because in "arcpgu_drm_hdmi_init" function we get pointer of "drm_i2c_encoder_driver" structure, which doesn't exist after adv7511 hdmi encoder interface changed from slave encoder to drm bridge. So, when we call "encoder_init" function from this structure driver crashes. Bootlog: ------------------------------------->8-------------------------------- [drm] Initialized drm 1.1.0 20060810 arcpgu e0017000.pgu: arc_pgu ID: 0xabbabaab arcpgu e0017000.pgu: assigned reserved memory node frame_buffer@9e000000 Path: (null) CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-00001-gb5642252fa01-dirty #8 task: 9a058000 task.stack: 9a032000 [ECR ]: 0x00220100 => Invalid Read @ 0x00000004 by insn @ 0x803934e8 [EFA ]: 0x00000004 [BLINK ]: drm_atomic_helper_connector_dpms+0xa6/0x230 [ERET ]: drm_atomic_helper_connector_dpms+0xa4/0x230 [STAT32]: 0x00000846 : K DE E2 E1 BTA: 0x8016d949 SP: 0x9a033e34 FP: 0x00000000 LPS: 0x8036f6fc LPE: 0x8036f700 LPC: 0x00000000 r00: 0x8063c118 r01: 0x805b98ac r02: 0x00000b11 r03: 0x00000000 r04: 0x9a010f54 r05: 0x00000000 r06: 0x00000001 r07: 0x00000000 r08: 0x00000028 r09: 0x00000001 r10: 0x00000007 r11: 0x00000054 r12: 0x720a3033 Stack Trace: drm_atomic_helper_connector_dpms+0xa4/0x230 arcpgu_drm_hdmi_init+0xbc/0x228 arcpgu_probe+0x168/0x244 platform_drv_probe+0x26/0x64 really_probe+0x1f0/0x32c __driver_attach+0xa8/0xd0 bus_for_each_dev+0x3c/0x74 bus_add_driver+0xc2/0x184 driver_register+0x50/0xec do_one_initcall+0x3a/0x120 kernel_init_freeable+0x108/0x1a0 ------------------------------------->8-------------------------------- Fix ARC PGU driver to be able work with drm bridge hdmi encoder interface. The hdmi connector code isn't needed anymore as we expect the adv7511 bridge driver to create/manage the connector. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'Documentation')