hwangjae lee [Wed, 20 Jun 2018 08:44:56 +0000 (17:44 +0900)]
[9610] arm64: dtsi: s6e3fa0 panel video configuration is changed.
panel HS clk is changed 550 -> 1100.
panel pmsk value is changed <1 169 3 0> -> <4 677 2 0>.
Change-Id: Id32349c0c60e066a3ea1e8b2ff8f716b6ad0d67d
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
Ivan Priest [Mon, 18 Jun 2018 16:48:20 +0000 (17:48 +0100)]
[9610] wlbt: disable TCP ack suppression.
Kernel panics in ack suppression code in 4.14, turn
it off for now.
Change-Id: Ie00254edf26bc5065e1804a2236757a8bf072a34
SCSC-Bug-Id: SSB-41034
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Yunsu Kim [Wed, 20 Jun 2018 11:48:54 +0000 (20:48 +0900)]
[9610] media: radio: Remove pm runtime while suspend/resume.
Change-Id: I6527b35fb8e6c587bb3e15b82125fd03d599f2b1
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Jang JeongHoon [Wed, 30 May 2018 06:09:56 +0000 (15:09 +0900)]
[9610] soc: samsung: cal-if: Added cal_dll_get[set]_rate API
Change-Id: I80bce1751e9aad5cc0134781116c44b4debe7512
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 02:40:53 +0000 (11:40 +0900)]
[HACK][9610][ERD] chub rmem move to avoid overlabing with bootloder_fb
Change-Id: I5b2a337fc11733f7b35fdc0b87a06586010e6ca4
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Tue, 29 May 2018 04:05:57 +0000 (13:05 +0900)]
[9610][ERD] defconfig: enable contexthub
Change-Id: I8053a9bada6d9110a5cd25232dbcf9c9b77652b0
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 00:50:36 +0000 (09:50 +0900)]
[9610] dtsi: add contexthub
Change-Id: I536d1c09d6f029bbeba1a99254df214a45a63072
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Fri, 15 Jun 2018 06:06:33 +0000 (15:06 +0900)]
[COMMON] nanohub: add contexthub driver
Change-Id: I0b7f52933901cc439643594f97c6e1df495a3260
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Thu, 17 May 2018 04:05:37 +0000 (13:05 +0900)]
[COMMON] nanohub base from CHRE p-version
b4cbbe1 nanohub: fix out of bounds write in nanohub_spi_read
fdba416 Merge branch 'android-msm-marlin-3.18-nyc-mr2' into android-msm-marlin-3.18
c9f88a4 nanohub: detect wakeup signal stuck high and reset
e8faaee ANDROID: fix uninitilized variable
e9199f7 nanohub: error reset time calculation should use monotonic time
Change-Id: Ie2cb50046dddc3c607b5977c31813a6e8ee4fab9
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
ShinHyung [Tue, 19 Jun 2018 11:00:19 +0000 (20:00 +0900)]
[9610] arm64: dts: enable abox bt driver
Change-Id: I853faf259d4d1be1690757278cffb5d9792ddbf4
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Yunsu Kim [Tue, 19 Jun 2018 04:54:03 +0000 (13:54 +0900)]
[9610] arm64: dtsi: Enable FM
Change-Id: Idd6d6091fd0392259e32303efff8036dadc14bd3
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Yunsu Kim [Tue, 19 Jun 2018 04:53:14 +0000 (13:53 +0900)]
[9610] media: radio: Add call abox_request_cpu_gear()
Change-Id: I5a13a03c37a10cde3cb287c977b8aa70dbb0599b
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
JaeHun Jung [Tue, 12 Jun 2018 03:52:34 +0000 (12:52 +0900)]
[COMMON] scsi: ufs: Remove comment at pm_qos
Add pm_qos code for min lock.
Change-Id: Ie9ba65c70df7802480abfd1b0d37b6bfb9468073
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Fri, 1 Jun 2018 05:57:40 +0000 (14:57 +0900)]
[COMMON] mmc: dw_mmc: dw_mmc caps bug fix
Change-Id: Ifaf38aca4b0585c33352db5262b2524571707233
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Thu, 7 Jun 2018 12:36:22 +0000 (21:36 +0900)]
[9610] arm64: dts: Enable SD card for erd9610
Change-Id: I4f58d39764b57353e3ddccb7ac082b5ba454415d
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Thu, 7 Jun 2018 12:35:14 +0000 (21:35 +0900)]
[9610] arm64: configs: Enable dw_mci driver for SD card
Change-Id: I6592877316497be9040312ac7ba8ffb0328c5f2b
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Wed, 21 Mar 2018 06:33:46 +0000 (15:33 +0900)]
[COMMON] mmc: fmp: Add fmp. smu, srpmb
Change-Id: I62b23e4a5ffa310fe7c8ec4cb05c977f9c9b2358
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Tue, 19 Jun 2018 11:11:55 +0000 (20:11 +0900)]
[COMMON] mmc: dw_mmc: Driver migration
SD/MMC driver migration from 4.9 to 4.14.
Change-Id: I5b51faf6a10856bdff3d2a175b17d505aa4f347f
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
duk hyun.kwon [Thu, 4 May 2017 08:30:03 +0000 (17:30 +0900)]
[COMOON] mmc: dw_mmc: enhanched strobe support
Change-Id: I77b0b149c141e70fa25d838f4f22a0b0706513c9
Signed-off-by: duk hyun.kwon <d_hyun.kwon@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:36:17 +0000 (10:36 +0900)]
[9610] arm64: config: disabled dpu features for video mode
Change-Id: Ia4a9a3a28bc281c42940562dc8e795c48f9236a7
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:32:37 +0000 (10:32 +0900)]
[9610] arm64: dts: enabled 3FA0 video mode
Change-Id: I29124958c117f4e8b1e0d3382f0fbc930f6a7a3c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:29:30 +0000 (10:29 +0900)]
[9610] arm64: dts: reserved bootloader fb memory
Change-Id: I38e13ec76af535a3926629b5aaba234d3f0fd434
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:21:33 +0000 (10:21 +0900)]
[9610] fbdev: dpu20: increased pll stable time for various panel
Change-Id: Ib4a42144f7a5635d6f191e8c6c5ecfea5f1a5600
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:17:07 +0000 (10:17 +0900)]
fbdev: dpu20: removed unnecessary dsim dump area
Change-Id: Iebd69ab0b483a779bb23fdf92fd7ceefd766cfb2
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:15:36 +0000 (10:15 +0900)]
fbdev: dpu20: added event log for video mode
Change-Id: I0767f5629ab804f03f2e296131c4028b27a1115c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:07:11 +0000 (10:07 +0900)]
fbdev: dpu20: moved iovmm active positon for video mode
Change-Id: I4ed1a37c718ace1d5dec44d11d04620f65f451c7
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:04:20 +0000 (10:04 +0900)]
fbdev: dpu20: reserved frame buffer memory area
Change-Id: I67988ad14d30ae391702f8b9811f3b1577befce2
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 07:27:16 +0000 (16:27 +0900)]
[9610] dtsi: add hold-rpm-on-boot property for sysmmu_dpu
Change-Id: I3fa2e32a3e0940cd501b67467776817c5cb939e9
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 07:19:53 +0000 (16:19 +0900)]
[HACK] iommu/exynos: hold runtime pm during boot time
Change-Id: I08997782bb36b9dec11834c4fdefda6a021327a7
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Wed, 28 Feb 2018 07:50:28 +0000 (16:50 +0900)]
[COMMON] iommu/exynos: move pm_runtime_enable() in probe
Multiple SysMMUs can be the child node of same power domain.
In really_probe(), it tries to disable the power domain after calling
probe() if pm_runtime_suspend() of child node is true.
So calling pm_runtime_enable() before SFR access in sysmmu_probe() would
make external abort because it allows to be powered off.
Change-Id: I3f46b300afc5ca15300561eb4cf55837f29a50ab
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 05:02:51 +0000 (14:02 +0900)]
[9610] dtsi: increase DVA range for DPU
DVA range is increased to support 1:1 mapping.
Change-Id: I4aca46ac39c2e8af5637675baf41d31a1e90b06c
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Wed, 9 Aug 2017 05:56:52 +0000 (14:56 +0900)]
iommu/exynos: zero initialization for region structure
To avoid reference the uninitialized variable in region structure,
kmalloc is replaced with kzalloc.
Change-Id: I9430d05b912e97521694516548e5cca61d4a40bf
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Janghyuck Kim [Tue, 8 Aug 2017 06:15:08 +0000 (15:15 +0900)]
iommu/exynos: support 1:1 mapping between DVA and PA
This patch supports interface of 1:1 mapping between DVA and PA, which
is required for frame buffer handover
Change-Id: Ib7b3a2382621900e05016e289fbadccb51c5f663
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Jaehyoung Choi [Tue, 19 Jun 2018 04:17:17 +0000 (13:17 +0900)]
[9610][ERD] arm64: config: Change Stack frame
Change-Id: I17af75ffdac98943a360ebedb9928543fe915c67
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
Seungchul Kim [Thu, 7 Jun 2018 07:39:24 +0000 (16:39 +0900)]
[9610] arm64: dtsi: change smfc compatible name
Change-Id: Ieb729a3fdc92af47e6c6318497067c5a891c38b8
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
Sanghoon Lee [Thu, 14 Jun 2018 05:36:02 +0000 (14:36 +0900)]
[COMMON] arm64: fpsimd: Restore FPSIMD state for user thread
When user thread calls system call to kernel and kernel has overwritten the FPSIMD registers,
these registers should be restored for user when kernel completes its job.
Change-Id: Ieca1f7baa8a1b245d172bfc750517c70b999ccfa
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 02:57:06 +0000 (11:57 +0900)]
[COMMON] fimc-is2: fixed image dump error in kernel 4.14
Change-Id: I5c8d3f8e3976a5b99aa96d3b67cc0a2ad020d13d
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 03:00:17 +0000 (12:00 +0900)]
[COMMON] fimc-is2: removed unused code
- if fimc_is_mexc_buffer_init/fimc_is_vra_buffer_init function is
deleted, vbuf->kva[] will not use.
Change-Id: I9d13c78df839e6d0ee89972641a560240ca68893
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:34:47 +0000 (15:34 +0900)]
[COMMON] fimc-is2: Changed buf_init function as common function(vra)
- vra will use fimc_is_buffer_init func like other subdev.
- It is possible only if the kvaddr is always enabled.
Change-Id: Id12a52eeea459a9e75bcdb9a4fba525e27c3a5c4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:31:00 +0000 (15:31 +0900)]
[COMMON] fimc-is2: Changed buf_init function as common function(mexc)
- mexc will use fimc_is_buffer_init func like other subdev.
- It is possible only if the kvaddr is always enabled.
Change-Id: I9460a7e0394c2a34c99aeea6f77a351e4e0b9f31
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 01:58:10 +0000 (10:58 +0900)]
[COMMON] fimc-is2: fix a bug buf_kva for meta plane
Change-Id: Idccf927bfc8a8d182a0167bd9dc9c2dc6850aad4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 02:15:38 +0000 (11:15 +0900)]
[COMMON] fimc-is2: fix a bug in updating kvaddr_buffer
Change-Id: Ifbdaa4ab1fde1042b8b1a5a01e6f70b15eb28e13
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:25:02 +0000 (15:25 +0900)]
[COMMON] fimc-is2: always enabled the kvaddr in kernel 4.14
- remove DBG_IMAGE_KMAPPING option
Change-Id: Ie5abc15ad955edad3cccb2c99f7c6d14d198193f
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:29:45 +0000 (15:29 +0900)]
[COMMON] fimc-is2: removed DBG_IMAGE_KMAPPING option
Change-Id: I9d281cf5d5e170b25b0218bf4e25d5759d48645f
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 00:59:14 +0000 (09:59 +0900)]
[COMMON] fimc-is2: Added buffer_finish for buffer container (in mexc)
Change-Id: I0f31779ea8df0521da3b7d13397cfd9ccdc05a2a
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 00:35:57 +0000 (09:35 +0900)]
[COMMON] fimc-is2: BUG_ON to FIMC_BUG patch of video-mec file
Change-Id: I8dfcdeb39883095cb76c36f3eed907436fc96922
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Wooyeon Kim [Thu, 7 Jun 2018 01:13:55 +0000 (10:13 +0900)]
[COMMON] fimc-is2: modified to get tdnr_enable by setfile
- If tdnr_enable is false in TDNR setfile, set to not enabled
Change-Id: I8d84cfa9bbcebc8c7458cfb86c15bd02f9282ecf
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 4 Jun 2018 05:58:16 +0000 (14:58 +0900)]
[COMMON] fimc-is2: fix wrong TDNR WDMA stride equation
guided by design team
- TDNR_WDMA_STRIDE = ALIGN(TDNR_WDMA_WIDTH * 2, 2);
Change-Id: I9dfe84c455eddaa21c198aed627aaa905bb8b433
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 11 Jun 2018 09:08:42 +0000 (18:08 +0900)]
[COMMON] fimc-is2: fix a TDNR wrong SFR update area at MCSC v410
Change-Id: I9a4c6c587fd0f8b3781e56d5ef1cc8d7e95dbe00
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Fri, 1 Jun 2018 07:24:56 +0000 (16:24 +0900)]
[COMMON] fimc-is2: fix a TDNR wrong caculation bug
- when NI is set to same setfile NI value,
it is not applied to right value.
Change-Id: Iecedbb1fd70cfdfc1cdef16c2ce9aea778247f54
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Eunyoung Lee [Fri, 8 Jun 2018 01:58:34 +0000 (10:58 +0900)]
[COMMON] fimc-is2: Added metadata sync for Dual 3A
Change-Id: I180275d73495bf795adf7cb6de9dcd0259238da9
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 13 Mar 2018 08:50:33 +0000 (17:50 +0900)]
[9610] arm64: dtsi: add pafstat rdma reg
Change-Id: Ib8b84987763c6139041e84937f563368e8114bd5
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 10 May 2018 11:29:49 +0000 (20:29 +0900)]
[COMMON] fimc-is2: add child group lock
- sync patch : http://12.36.155.73:81/#/c/253798/
Change-Id: If020ed05db46d9ffebf60c6df6d01f8225d1c0ab
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 4 Jun 2018 00:55:58 +0000 (09:55 +0900)]
[9610] fimc-is2: Enabled option USE_3AA_CROP_AFTER_BDS
Change-Id: I37b49df74e02c421b31976c6cd4a6750ca30c96c
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 4 Jun 2018 00:54:39 +0000 (09:54 +0900)]
[9610] fimc-is2: enable SOC_PAF0, SOC_PAF1
Change-Id: I16b9c6901871dd5b60a5dddc0f040bb3b71709f1
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 15 May 2018 10:00:51 +0000 (19:00 +0900)]
[9610] fimc-is2: modified 3ap per-frame size for dzoom
Change-Id: If3be1a9572311c8ad71aed3952c1c52e633c6df7
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 8 May 2018 10:03:49 +0000 (19:03 +0900)]
[9610] fimc-is2: added IRQF_SHARED flag for sharing isr handler in PAFSTAT
Change-Id: I6845bf73f25d1f71306b89ab034de95bcc2df813
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 8 May 2018 10:01:23 +0000 (19:01 +0900)]
[9610] fimc-is2: added IRQF_SHARED flag for sharing isr handler
Change-Id: I3921a92a01cde89ca86c66ccc71551fbad052bd9
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 8 May 2018 09:53:48 +0000 (18:53 +0900)]
[9610] fimc-is2: changed PAFSTAT DMA mux value for CSIS DMA out
Change-Id: I80003392c36c3404473f8297711fa9d1a2c5c2a4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 23 Apr 2018 07:20:15 +0000 (16:20 +0900)]
[COMMON] fimc-is2: added video_node, GROUP_PAF for paf_rdma
Change-Id: I75f9a900781460b471e24068e7d7e235761bbb39
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 23 Apr 2018 07:18:13 +0000 (16:18 +0900)]
[9610] fimc-is2: added subdev, DEV_HW_PAF config for paf_rdma
Change-Id: I0bf007220b0040ae19a60a3e69e9fcd8beb4f7b3
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 9 Feb 2018 08:12:03 +0000 (17:12 +0900)]
[9610] fimc-is2: added pafstat_rdma sfr settings
Change-Id: I0bce90312b4c98088a1f92a8553f82ba27d78f28
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 14 May 2018 11:39:25 +0000 (20:39 +0900)]
[COMMON] fimc-is2: fixed compile error for PDP_STAT_DMA.
- In Ramen, CSIS_STAT_DMA HW is not supported.
Change-Id: I691d7c05727de37b11fcabb1419da17496d33e4b
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 07:38:34 +0000 (16:38 +0900)]
[9610] arm64: defconfig: Added FIMC-IS config
Change-Id: I4c7d0114eabe87ef37f10ddcd2e6417c3124fef9
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 04:49:59 +0000 (13:49 +0900)]
[9610][ERD] arm64: dts: added fimc_is configuration
Change-Id: I8b41f229ed7129d807f3821e76bd0040d2137e6b
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 04:49:05 +0000 (13:49 +0900)]
[9610] arm64: dsti: added fimc_is configuration
Change-Id: I48440e0edf04e2fc3fd523a77088527ea1808a28
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 7 Jun 2018 04:59:46 +0000 (13:59 +0900)]
[COMMON] fimc-is2: Enabled option ENABLE_DVFS
Change-Id: Ia1ef237baf94d59f140bb449c1cac3d30eb77434
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Sunmi Lee [Fri, 6 Oct 2017 09:35:13 +0000 (18:35 +0900)]
[HACK] fimc-is2: Modified DPHY setting - according to hw guide
Change-Id: Ib65488db3a60d91a359a18eaf41719d4c4c8a390
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sanghoon Lee [Fri, 1 Jun 2018 07:21:44 +0000 (16:21 +0900)]
[COMMON] fimc-is2: Flush the old H/W frames for shot done sequence
If there are the old frames in H/W frame manager,
the matched frames in subdev frame manager will be flushed to user as NDONE.
When user gets the shot data of these frames, every kernel virtual address for the frames is unmapped.
To avoid accessing invalid kernel virtual address in H/W frames,
they should also be flushed in shot done sequence.
Change-Id: I2e1262cac42a31fd7c3567885e0afbc82790ab83
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sanghoon Lee [Fri, 1 Jun 2018 06:22:30 +0000 (15:22 +0900)]
[COMMON] fimc-is2: Check too fast H/W frame handling condition
When it receives the frame end interrupt callback from DDK,
driver must compare the current frame count from DDK and the selected H/W frame's fcount.
If the fcount of frame is too earlier than frame count from DDK,
it should be skipped for the correct frame end interrupt callback.
Change-Id: I1f0a5543e2f7e35027373401e1fe8c2c2f3294c1
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 05:16:20 +0000 (14:16 +0900)]
[COMMON] fimc-is2: Added fimc-is-v6_10_0 to makefile
Change-Id: I444b6bb8995b2174de53df3d0a02a4d78df18062
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 24 Oct 2017 01:47:31 +0000 (10:47 +0900)]
[9610] fimc-is2: add bts update for 480fps scenario
Change-Id: I936ab59a500d4b825ebe5d8f6c612fcf42f2b998
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 06:41:24 +0000 (15:41 +0900)]
[9610] fimc-is2: add 'get_dma' for ver 6.10.0
Change-Id: I787d86aecf041f75aa765ece6031b15eb8cb78b7
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 06:31:57 +0000 (15:31 +0900)]
[9610] fimc-is2: Added taa_param for metadata sync
- added efd_output param for early-FD dma_out
- added mrg_output param for MRG_OUT dma_out
Change-Id: Iebeca6bbcc02d469fc0dbb968636b51ca68bc13c
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 23 May 2018 06:22:08 +0000 (15:22 +0900)]
[9610] fimc-is2: Added new enum for Bayer+, Bayer_compressor and MONO
Change-Id: I43905332b705439d3c82506509f93e568202709c
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Cho KyongHo [Fri, 25 May 2018 11:33:41 +0000 (20:33 +0900)]
fimc-is-2: move to the new dma-buf-container
The new, working dma-buf-container is introduced by the commit
ee1d9055d ('dma-buf: introduce dma-buf container'). It still supports
the same API functions but the contexts are slightly changed because
the design of dma-buf-container is changed.
Specifically, dmabuf_container_get_count() now returns -EINVAL instead
of 0 for the dma-bufs that is not a dma-buf-container. This change of
return value comes from the fact that dma-buf-container allows having
no dma-buf by its design although it is impossible to create an empty
dma-buf-container in practice.
Change-Id: I8c8c6698a513e6c18bbc43a4734594a484028699
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Cho KyongHo [Fri, 23 Feb 2018 02:04:54 +0000 (11:04 +0900)]
media: fimc-is2: fix vfree() in atomic context
vfree() called in fimc_is_spin_lock_finish() works in an atomic
context created by spinlock.
BUG: sleeping function called from invalid context at mm/vmalloc.c:1490
in_atomic(): 1, irqs_disabled(): 128, pid: 3172, name: provider@2.4-se
1 lock held by provider@2.4-se/3172:
#0: (&((spinlock_t *)*slock)->rlock){....}, at: [<
ffffff80086dc168>] fimc_is_spin_lock_ir
Preemption disabled at:
[<
ffffff80086dc168>] fimc_is_spin_lock_irqsave+0x14/0x1c
CPU: 4 PID: 3172 Comm: provider@2.4-se Tainted: G W
4.14.20-g90d0e51-dirty #45
Hardware name: Samsung UNIVERSAL9810-2-rev02 board based on EXYNOS9810 (DT)
Call trace:
[<
ffffff800808ca74>] dump_backtrace+0x0/0x458
[<
ffffff800808cee0>] show_stack+0x14/0x1c
[<
ffffff800897ef7c>] dump_stack+0x84/0xac
[<
ffffff80080d81dc>] ___might_sleep+0x14c/0x16c
[<
ffffff80080d826c>] __might_sleep+0x70/0x80
[<
ffffff80081eb158>] remove_vm_area+0x28/0x9c
[<
ffffff80081eb274>] __vunmap+0xa8/0xcc
[<
ffffff80081eb368>] vfree+0x7c/0x84
[<
ffffff80086db09c>] fimc_is_spin_lock_finish+0x160/0x18c
[<
ffffff80fa090778>] 0xffffff80fa090778
[<
ffffff80fa0af4e8>] 0xffffff80fa0af4e8
[<
ffffff80fa175e3c>] 0xffffff80fa175e3c
[<
ffffff80fa1764e8>] 0xffffff80fa1764e8
[<
ffffff80fa13f8a0>] 0xffffff80fa13f8a0
[<
ffffff80fa152500>] 0xffffff80fa152500
[<
ffffff80fa15255c>] 0xffffff80fa15255c
[<
ffffff80fa13da28>] 0xffffff80fa13da28
[<
ffffff80fa09176c>] 0xffffff80fa09176c
[<
ffffff80fa09da80>] 0xffffff80fa09da80
[<
ffffff80fa08eae0>] 0xffffff80fa08eae0
[<
ffffff80086e1d50>] fimc_is_lib_isp_object_destroy+0x90/0xd4
[<
ffffff80086c32a0>] fimc_is_hw_isp_deinit+0x34/0x50
[<
ffffff80086be1e0>] fimc_is_hardware_close+0x140/0x39c
[<
ffffff800868db8c>] fimc_is_itf_close_wrap+0x1dc/0x228
[<
ffffff80086858ac>] fimc_is_ischain_close_wrap+0x248/0x2dc
[<
ffffff80086889ac>] fimc_is_ischain_vra_close+0x18c/0x1f0
[<
ffffff8008677090>] fimc_is_vra_video_close+0x50/0x158
[<
ffffff80085edfb4>] v4l2_release+0x38/0x7c
[<
ffffff8008203d68>] __fput+0xf4/0x1b8
[<
ffffff8008203e88>] ____fput+0xc/0x14
[<
ffffff80080cbee8>] task_work_run+0x90/0xbc
[<
ffffff800808c480>] do_notify_resume+0xe4/0xf0
Change-Id: Ic9b80afe4ef531871d9347f45e35eaed5ac18d76
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Cho KyongHo [Mon, 12 Feb 2018 07:13:39 +0000 (16:13 +0900)]
media: fimc-is2: fix use of ION API for 4.14 kernel
ION is dramatically changed in 4.14 kernel including kernel API and
the header files. But the symantics of ION API is not changed.
Change-Id: I636ffdfa8a6e14937cc81dab93901f7c4740cf71
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Jeongtae Park [Mon, 26 Mar 2018 02:39:24 +0000 (11:39 +0900)]
[COMMON] fimc-is2: fix a typo (SYNNY -> SUNNY)
Change-Id: Ieeb22b673ae6d04e41fdb66d042fff5c70491dac
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Sanghoon Lee [Mon, 26 Mar 2018 06:14:22 +0000 (15:14 +0900)]
[9810] fimc-is2: Set default value into the input DMA order on error case
Change-Id: Ie3420d6df394cbdb3f81dad19b1484927b48b15d
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Jeongtae Park [Mon, 26 Mar 2018 02:37:59 +0000 (11:37 +0900)]
[COMMON] fimc-is2: use same 'frame state' enum. in H/W control
Change-Id: I0e882c329037bca51e59417b5aa114af9d498fd3
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Eunyoung Lee [Tue, 8 May 2018 04:44:31 +0000 (13:44 +0900)]
[COMMON] fimc-is2: added sensor setting for 2T7SX
- 5184x3880_24fps,
- 4608x3456_30fps, 4608x2624_30fps, 4608x2240_30fps,
- 1152x864_120fps,
Change-Id: Ic2a712173b7ae1b8ab663de03c81410afaeb8c9d
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Tue, 8 May 2018 04:42:03 +0000 (13:42 +0900)]
[COMMON] fimc-is2: added sensor setting for 2P7SQ
- 4640x3488_30fps, 4608x3456_30fps, 4608x2624_30fps, 4608x2240_30fps,
- 2304x1312_30fps, 2304x1728_30fps,
- 1152x864_120fps
Change-Id: I33521a75e8467134f1c3ab323e3bf745c1e9c090
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 26 Apr 2018 01:09:16 +0000 (10:09 +0900)]
[COMMON] fimc-is2: added compile option for unused code - DCP
Change-Id: Ia16b77ba4f4471f6e29ddaea4d727cf080d0110d
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 19 Apr 2018 07:05:32 +0000 (16:05 +0900)]
[9610] fimc-is2: modified SYSREG_CAM settings for mux_3aa_val
Change-Id: Iea2483552ce36360dc8e213f5ae4bfa66a298567
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 20 Apr 2018 07:22:51 +0000 (16:22 +0900)]
[COMMON] fimc-is2: added a mutex sysreg_lock for sysreg sfr settings
Change-Id: I47b4cf055be04b4149260daef4972a2ce9e942c4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 6 Apr 2018 02:55:53 +0000 (11:55 +0900)]
[9610] camerapp: gdc: modify gdc out_scale factor value
Change-Id: I6dfe93a73e74048db64e633afe4a44d08d63a9da
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 22 Mar 2018 07:37:06 +0000 (16:37 +0900)]
[COMMON] fimc-is2: modify LDO setting for 3H1 sensor
Change-Id: I2157ba1f23a8c9fb3779e6b26fe53b7dbae70249
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 19 Mar 2018 05:08:06 +0000 (14:08 +0900)]
[COMMON] fimc-is2: sync sensor_interface with (DDK rev.9209)
Change-Id: I76c67c386b2be15b566ceeaac4c0a46ce2a2fdc7
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Mon, 19 Mar 2018 05:06:17 +0000 (14:06 +0900)]
[COMMON] fimc-is2: sync Metadata with (DDK rev.9209)
Change-Id: If602fa70beb9941be6edd2042099524647c02868
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 05:18:58 +0000 (14:18 +0900)]
[9610] fimc-is2: modify selecting MCSC OTF output path
Change-Id: If4e6f2c322477625fc24db62aae4dea9af666704
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:58:47 +0000 (13:58 +0900)]
[COMMON] fimc-is2: fixed pafstat compile error after LT sync.
Change-Id: I792faa6332f5b1882630f6eb8758292c25cd3aa6
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:22:41 +0000 (13:22 +0900)]
[COMMON] fimc-is2: fixed mcsc_v410 compile error after LT sync.
Change-Id: I1dda9bb59889ad57d5492871fdf7ff7eea4e69c9
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:20:47 +0000 (13:20 +0900)]
[9610] fimc-is2: fixed dvfs compile error after LT sync.
Change-Id: I69fc26793b2b53ed204bf8dca34afa98d97cb28f
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:43:23 +0000 (13:43 +0900)]
[9610] fimc-is2: BUG_ON to FIMC_BUG patch of ischain files
Change-Id: I9db13a3a88f169ae2dc4285a1fad1ac24465d8b5
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:52:02 +0000 (13:52 +0900)]
[9610] fimc-is2: remove unused fimc-is-interface-fd codes
Change-Id: I6270fe9e95023e4d8a677f5b80c3357b6fab288b
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 04:26:00 +0000 (13:26 +0900)]
[COMMON] fimc-is2: BUG_ON to FIMC_BUG patch of module_framework/cis files_2
Change-Id: Ic9cdece17dba90c593027106808ec0d206bdd8d5
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Mar 2018 01:47:52 +0000 (10:47 +0900)]
[9610] fimc-is2: add structure for fast FDAE
Change-Id: Ib177988ada248be4d80d396ec68bfa38e2bd2bde
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 2 Mar 2018 10:04:40 +0000 (19:04 +0900)]
[9610] fimc-is2: added FULL_OTF_GROUP_TAIL_ID define
Change-Id: I8bdc2cc34ca78a4ada19aca6b17588a48c5b4efd
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Wed, 7 Feb 2018 04:53:04 +0000 (13:53 +0900)]
[COMMON] fimc-is2: Modified to get hashkey value for timestamp in full-otf FRO hight speed recording
Change-Id: Ia3133def16e9281140d6ced07b07fb998d0e2808
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>