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
#ifdef __KERNEL__ | |
#include <linux/delay.h> | |
#include <linux/io.h> | |
#include <linux/module.h> | |
#define abort() {pr_err("%s: %d\n", __func__, __LINE__); errored = 1; return;} | |
#define assert(a) if (!(a)) abort() | |
#define msleep(d) mdelay(d) | |
#define sleep(d) mdelay((d) * 1000) |
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
/* | |
* gcc bug.c -I/usr/include/libdrm -ldrm | |
* | |
*/ | |
#include <assert.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <sys/mman.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
/* Vertex constants */ | |
.constants | |
/* Linker disassembly */ | |
/* Fragment disassembly */ | |
pseq_to_dw_exec_nb = 1 | |
alu_buffer_size = 1 | |
.constants |
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
General rules: | |
---------------------- | |
1. Use the master branches. | |
2. Install autotools and gcc. | |
3. Compile and install libdrm first. | |
4. Use the most recent mainline linux kernel or at least the most recent stable. | |
5. Update all libdrm / opentegra / mesa at once as there could be interdependencies, start from libdrm. | |
libdrm: | |
---------- |
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/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c | |
index 590b1cf1a8c4..9fb2835e8977 100644 | |
--- a/arch/arm/mach-tegra/tegra.c | |
+++ b/arch/arm/mach-tegra/tegra.c | |
@@ -116,6 +116,10 @@ static void __init tegra_dt_init_late(void) | |
if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC) && | |
of_machine_is_compatible("nvidia,tegra20")) | |
platform_device_register_simple("tegra20-cpufreq", -1, NULL, 0); | |
+ | |
+ if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) && |
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
/dts-v1/; | |
#include <dt-bindings/input/input.h> | |
#include "tegra20.dtsi" | |
/ { | |
model = "QEMU"; | |
compatible = "qemu", "nvidia,tegra20"; | |
memory { |
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 ffea1cc88d7480d0cd4e1ead196ff53555ccc5a4 Mon Sep 17 00:00:00 2001 | |
From: Dmitry Osipenko <digetx@gmail.com> | |
Date: Thu, 4 Oct 2018 16:46:38 +0300 | |
Subject: [PATCH] ramconsole | |
--- | |
drivers/staging/android/Kconfig | 2 + | |
drivers/staging/android/Makefile | 2 + | |
drivers/staging/android/ramconsole/Kconfig | 63 +++ | |
drivers/staging/android/ramconsole/Makefile | 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
/dts-v1/; | |
/memreserve/ 0xbeb00000 0x100000; | |
#include "tegra30.dtsi" | |
/ { | |
compatible = "asus,tilapia", "nvidia,tegra30"; | |
model = "ASUS Google Nexus 7 2012 (Project Bach)"; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <openssl/sha.h> | |
#include <stdbool.h> | |
#include <stdint-gcc.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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 5.6.0-rc6 Kernel Configuration | |
# | |
# | |
# Compiler: armv7a-hardfloat-linux-gnueabi-gcc (Gentoo 9.2.0-r4 p5) 9.2.0 | |
# | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=90200 |
OlderNewer