This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0+ | |
/* | |
* Copyright 2018 SiFive, Inc. | |
* Copyright 2019 Bhargav Shah <bhargavshah1988@gmail.com> | |
* | |
* SiFive SPI controller driver (master mode only) | |
*/ | |
#include <common.h> | |
#include <dm.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> python-scipy 1.4.1 Extracting | |
gzip -d -c /home/jagan/work/code/buildroot/dl/python-scipy/scipy-1.4.1.tar.gz | tar --strip-components=1 -C /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1 -xf - | |
>>> python-scipy 1.4.1 Patching | |
>>> python-scipy 1.4.1 Configuring | |
rm -f /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg | |
echo "[DEFAULT]" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg | |
echo "library_dirs = /home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg | |
echo "include_dirs = /home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg | |
>>> python-scipy 1.4.1 Building | |
(cd /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1//; _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata__linux_aarch64-linux-gnu" PATH="/home/jagan/work/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd output/build/python-tensorflow-2.2.0-rc1 | |
add endof WORKSPACE file | |
new_local_repository( | |
name = "aarch64_compiler", | |
path = "/mnt/br/output/host", | |
build_file = "aarch64-compiler/aarch64_compiler.BUILD", | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 92243d1e1b073fa0c366c8e842344f42c04ac6b4 Mon Sep 17 00:00:00 2001 | |
From: Jagan Teki <jagan@amarulasolutions.com> | |
Date: Thu, 20 Feb 2020 23:35:00 +0530 | |
Subject: [PATCH] rkcamsrc: Fix build error with | |
-Werror=deprecated-declarations | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
Fixes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
index 94f24c5e2dc5..ffb7906054e5 100644 | |
--- a/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
+++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
@@ -338,8 +338,9 @@ static void sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, | |
u32 block_space, start_delay; | |
u32 tcon_div; | |
- tcon->dclk_min_div = bpp/lanes; | |
- tcon->dclk_max_div = bpp/lanes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
index 94f24c5e2dc5..4febd51429b6 100644 | |
--- a/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
+++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c | |
@@ -338,8 +338,9 @@ static void sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, | |
u32 block_space, start_delay; | |
u32 tcon_div; | |
- tcon->dclk_min_div = bpp/lanes; | |
- tcon->dclk_max_div = bpp/lanes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/sun4i/sun4i_dotclock.c b/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
index 778562b31598..32d84c10f876 100644 | |
--- a/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
+++ b/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
@@ -74,14 +74,17 @@ static long sun4i_dclk_round_rate(struct clk_hw *hw, unsigned long rate, | |
struct sun4i_dclk *dclk = hw_to_dclk(hw); | |
struct sun4i_tcon *tcon = dclk->tcon; | |
unsigned long best_parent = 0; | |
+ u64 ideal = (u64)rate * tcon->dclk_mul; | |
u8 best_div = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 2.500602] printk: console [ttyS0] enabled | |
[ 2.506767] sun6i-mipi-dsi 1ca0000.dsi: Attached device ts8550b | |
[ 2.542180] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) | |
[ 2.551519] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops) | |
[ 2.559042] sun4i_dclk_recalc_rate: val = 1, rate = 594000000 | |
[ 2.565017] sun4i-drm display-engine: No panel or bridge found... RGB output disabled | |
[ 2.572875] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops) | |
[ 2.581096] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops) | |
[ 2.589125] 0.0 drm_connector_init | |
[ 2.592541] 0. 282992392-1-0 (null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1.784128] sun6i-mipi-dsi 1ca0000.dsi: Attached device fy07024di26a30d | |
[ 1.820927] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops) | |
[ 1.830167] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops) | |
[ 1.837688] sun4i_dclk_recalc_rate: val = 1, rate = 588000000 | |
[ 1.843683] sun4i-drm display-engine: No panel or bridge found... RGB output disabled | |
[ 1.851542] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops) | |
[ 1.859766] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops) | |
[ 1.867796] 0.0 drm_connector_init | |
[ 1.871213] 0. 282992392-1-0 (null) | |
[ 1.874714] 0.1 drm_connector_init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/sun4i/sun4i_dotclock.c b/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
index 778562b31598..4e59f672455f 100644 | |
--- a/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
+++ b/drivers/gpu/drm/sun4i/sun4i_dotclock.c | |
@@ -95,10 +95,11 @@ static long sun4i_dclk_round_rate(struct clk_hw *hw, unsigned long rate, | |
rounded = clk_hw_round_rate(clk_hw_get_parent(hw), | |
ideal); | |
- printk("ideal = %d, rounded = %d\n", ideal, rounded); | |
+ printk("ideal = %d, rounded = %d, i = %d\n", ideal, rounded, i); |