Subject | Hash | Author | Date (UTC) |
---|---|---|---|
closed src or gnu gpl *not* v2 drivers are illegal | dc1de426b639ffee863b0a211e9cf0e349f855f0 | Sylvain BERTRAND | 2014-07-03 17:59:46 |
compiling with 3.16 rc2 new mc fw code | e00afdaeef8513da35c82cc82dcfee0745aa9129 | Sylvain BERTRAND | 2014-06-29 01:54:40 |
untested handling of new mc fw | eb89a71b0af7781d1fc9ee226c1269b6d5183749 | Sylvain BERTRAND | 2014-06-29 01:26:15 |
become legal | ef922b67f25aaf0c4f8cff5be572e53fb53bdfe5 | Sylvain BERTRAND | 2014-06-28 23:33:40 |
use usleep_range and fix a dp 1.1 time out | d4183ce73e6ec7d7f3baf9d710dd2ba015b4a6a9 | Sylvain BERTRAND | 2014-02-19 20:09:44 |
fix dac | a864ba601253674b679b07e4b1ddc00fb83a8cb6 | Sylvain BERTRAND | 2014-02-19 19:17:08 |
clear atombias dpm state and warn for instability | 28b598d81f6a873f90d1a9325e3e1002743487a5 | Sylvain BERTRAND | 2014-02-19 19:10:43 |
CFG_MEM_SZ upper 16bits may have garbage | f08f2e3471989e448d6d76ba02565fd9efc3293f | Sylvain BERTRAND | 2014-02-19 17:55:38 |
fix ena rbs mask performance critical bug | 289497449dd0f2acb09e03f65988e22e45948fb6 | Sylvain BERTRAND | 2014-02-19 17:15:18 |
upstream confirm bug, fixed | e2142c3fdfc01d51e7fec7687ec4d02f548ce763 | Sylvain BERTRAND | 2014-02-18 16:10:14 |
mainly bug fixing | 1650d6a6e13bd81a4df9bfaa84a5daef2989ccdf | Sylvain BERTRAND | 2014-02-18 12:46:40 |
dump smc sw regs | 5b42263039c858624ff411d94318f6ef5171a864 | Sylvain BERTRAND | 2014-02-17 12:22:26 |
disable switch to low power when no display | 69f94e04ea89c1fe9ccaef153da5f5ade232c2a1 | Sylvain BERTRAND | 2014-02-17 09:59:28 |
finish smc switch to driver power state | 6f99d0a01491dd671174919d842a771ac4a81a4b | Sylvain BERTRAND | 2014-02-17 09:47:02 |
pcie things and follow upstream for dyn pm init | f4fb120597276a3badc08eec30783b10d111f756 | Sylvain BERTRAND | 2014-02-17 09:00:00 |
dump performance state tbls | 06a22756b504ecf4523c86f657104e0b970195de | Sylvain BERTRAND | 2014-02-14 17:02:23 |
smc_mc_arb_tbl init for the driver state | 5d1868e75b11164dbb97caaddbc7992b252ab973 | Sylvain BERTRAND | 2014-02-14 13:01:26 |
smc_mc_reg tbl init for the driver state | e8aa12b1c87571031098c4427822733a74133afc | Sylvain BERTRAND | 2014-02-14 11:32:04 |
installation of the perf pwr state continued | 535c853e7d0a0ab04fbff3b0d5613ef9a34d525c | Sylvain BERTRAND | 2014-02-13 19:16:33 |
installation of the perf pwr state continued | b229eef2798acbe053aa09e47c213e23749638dd | Sylvain BERTRAND | 2014-02-13 10:48:02 |
File TODO changed (mode: 100644) (index c743832..5568fe3) | |||
1 | 1 | * handle displayport sink (~monitor) interrupts | * handle displayport sink (~monitor) interrupts |
2 | 2 | * parse more EDID timings | * parse more EDID timings |
3 | 3 | * suspend/resume code with minimal persistent state | * suspend/resume code with minimal persistent state |
4 | * support of latest AMD GPU power framework | ||
5 | * add mobility code path, but if too hairy then duplicate driver | ||
6 | * duplicate driver for IGP families (vram = system ram) | ||
4 | * duplicate driver for other types of GPU (integrated | ||
5 | , no dce...) |
File drivers/gpu/alga/amd/atombios/atb.h changed (mode: 100644) (index 0dcf568..23e65f2) | |||
1 | #ifndef _ATB_H | ||
2 | #define _ATB_H | ||
1 | #ifndef ATB_H | ||
2 | #define ATB_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct g_ctx | struct g_ctx |
9 | 9 | { | { |
File drivers/gpu/alga/amd/atombios/cm.c changed (mode: 100644) (index 90515d5..63769a0) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/amd/atombios/dce.c changed (mode: 100644) (index 09dd60a..223ea69) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | #include <linux/module.h> | #include <linux/module.h> |
File drivers/gpu/alga/amd/atombios/dp_paths.c changed (mode: 100644) (index bfd56a6..f7d546f) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/amd/atombios/iio_interpreter.c changed (mode: 100644) (index c1aab63..a5f55c5) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | #include <asm/io.h> | #include <asm/io.h> |
File drivers/gpu/alga/amd/atombios/iio_interpreter.h changed (mode: 100644) (index 18f1758..ee05486) | |||
1 | 1 | #ifndef _IIO_INTERPRETER_H | #ifndef _IIO_INTERPRETER_H |
2 | 2 | #define _IIO_INTERPRETER_H | #define _IIO_INTERPRETER_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | int iio_setup(struct atombios *atb); | int iio_setup(struct atombios *atb); |
9 | 9 | u32 iio_interpret(struct ictx *ictx, u16 iio_prog, u32 idx, u32 data); | u32 iio_interpret(struct ictx *ictx, u16 iio_prog, u32 idx, u32 data); |
File drivers/gpu/alga/amd/atombios/interpreter.c changed (mode: 100644) (index 571d0ea..c507cb9) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <asm/io.h> | #include <asm/io.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/amd/atombios/interpreter.h changed (mode: 100644) (index 9f31a61..9d5ad20) | |||
1 | #ifndef _INTERPRETER_H | ||
2 | #define _INTERPRETER_H | ||
1 | #ifndef INTERPRETER_H | ||
2 | #define INTERPRETER_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | struct ictx | struct ictx |
File drivers/gpu/alga/amd/atombios/log.h changed (mode: 100644) (index 4bb1cd6..d9feaca) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | /* mainly used for the messages which are too verbose */ | /* mainly used for the messages which are too verbose */ |
File drivers/gpu/alga/amd/atombios/mod.c changed (mode: 100644) (index a305686..d1811e0) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | #include <linux/module.h> | #include <linux/module.h> |
File drivers/gpu/alga/amd/atombios/pp.c changed (mode: 100644) (index 05e3a0d..89a2c67) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/amd/atombios/pp.h changed (mode: 100644) (index 7623de2..c85be66) | |||
1 | 1 | #ifndef PP_H | #ifndef PP_H |
2 | 2 | #define PP_H | #define PP_H |
3 | 3 | /* | /* |
4 | * Copyright 2013 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long pp_platform_caps_get(struct atombios *atb, u32 *platform_caps); | long pp_platform_caps_get(struct atombios *atb, u32 *platform_caps); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/atombios/regs.h changed (mode: 100644) (index 8bbac83..60d0149) | |||
1 | 1 | #ifndef REGS_H | #ifndef REGS_H |
2 | 2 | #define REGS_H | #define REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define SET(n, x) (((x) << n##_SHIFT) & n##_MASK) | #define SET(n, x) (((x) << n##_SHIFT) & n##_MASK) |
9 | 9 | #define GET(n, x) (((x) & n##_MASK) >> n##_SHIFT) | #define GET(n, x) (((x) & n##_MASK) >> n##_SHIFT) |
File drivers/gpu/alga/amd/atombios/scratch_pads.h changed (mode: 100644) (index e793d99..a1143ae) | |||
1 | 1 | #ifndef SCRATCH_PADS_H | #ifndef SCRATCH_PADS_H |
2 | 2 | #define SCRATCH_PADS_H | #define SCRATCH_PADS_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~scratch pad 0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~scratch pad 0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
10 | 10 | #define S0_DFP0 0x00010000L | #define S0_DFP0 0x00010000L |
File drivers/gpu/alga/amd/atombios/tables/asic_init.h changed (mode: 100644) (index a5f15e0..bfeb562) | |||
1 | #ifndef _TABLES_ASIC_INIT_H | ||
2 | #define _TABLES_ASIC_INIT_H | ||
1 | #ifndef TABLES_ASIC_INIT_H | ||
2 | #define TABLES_ASIC_INIT_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | struct asic_init_params { | struct asic_init_params { |
10 | 10 | __le32 default_eng_clk;/* in 10kHz unit */ | __le32 default_eng_clk;/* in 10kHz unit */ |
11 | 11 | __le32 default_mem_clk;/* in 10kHz unit */ | __le32 default_mem_clk;/* in 10kHz unit */ |
12 | 12 | } __packed; | } __packed; |
13 | #endif /* _TABLES_ASIC_INIT_H */ | ||
13 | #endif |
File drivers/gpu/alga/amd/atombios/tables/atb.h changed (mode: 100644) (index fe6b003..fd73245) | |||
1 | #ifndef _TABLES_ATB_H | ||
2 | #define _TABLES_ATB_H | ||
1 | #ifndef TABLES_ATB_H | ||
2 | #define TABLES_ATB_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | #ifndef __aligned | #ifndef __aligned |
10 | 10 | # error "no byte alignment cpp macro defined for your compiler" | # error "no byte alignment cpp macro defined for your compiler" |
... | ... | struct rom_hdr | |
42 | 42 | } __packed; | } __packed; |
43 | 43 | ||
44 | 44 | #define DFPx_MAX 6 | #define DFPx_MAX 6 |
45 | #endif /* _TABLES_ATB_H */ | ||
45 | #endif |
File drivers/gpu/alga/amd/atombios/tables/cmd.h changed (mode: 100644) (index f46ca97..91d7da7) | |||
1 | 1 | #ifndef TABLES_CMD_H | #ifndef TABLES_CMD_H |
2 | 2 | #define TABLES_CMD_H | #define TABLES_CMD_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* structures used in cmd.mtb */ | /* structures used in cmd.mtb */ |
10 | 10 | struct cmd_tbls_list | struct cmd_tbls_list |
... | ... | struct common_cmd_tbl_hdr | |
67 | 67 | ||
68 | 68 | #define ATTRIB_PS_SZ_MASK 0x7f | #define ATTRIB_PS_SZ_MASK 0x7f |
69 | 69 | #define ATTRIB_UPDATED_BY_UTILITY (1 << 7) /* ps_sz byte */ | #define ATTRIB_UPDATED_BY_UTILITY (1 << 7) /* ps_sz byte */ |
70 | #endif /* _TABLES_CMD_H */ | ||
70 | #endif |
File drivers/gpu/alga/amd/atombios/tables/crtc.h changed (mode: 100644) (index b2200be..19fa6d9) | |||
1 | #ifndef _TABLES_CRTC_H | ||
2 | #define _TABLES_CRTC_H | ||
1 | #ifndef TABLES_CRTC_H | ||
2 | #define TABLES_CRTC_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | #define CRTC_OFF 0 | #define CRTC_OFF 0 |
9 | 9 | #define CRTC_ON 1 | #define CRTC_ON 1 |
10 | 10 | struct crtc_params { | struct crtc_params { |
File drivers/gpu/alga/amd/atombios/tables/crtc_blank.h changed (mode: 100644) (index ad7b071..ed9b810) | |||
1 | #ifndef _TABLES_CRTC_BLANK_H | ||
2 | #define _TABLES_CRTC_BLANK_H | ||
1 | #ifndef TABLES_CRTC_BLANK_H | ||
2 | #define TABLES_CRTC_BLANK_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | #define CRTC_BLANK_OFF 0 | #define CRTC_BLANK_OFF 0 |
10 | 10 | #define CRTC_BLANK_ON 1 | #define CRTC_BLANK_ON 1 |
File drivers/gpu/alga/amd/atombios/tables/crtc_db_regs.h changed (mode: 100644) (index 58be06a..086c0eb) | |||
1 | #ifndef _TABLES_CRTC_DB_REGS_H | ||
2 | #define _TABLES_CRTC_DB_REGS_H | ||
1 | #ifndef TABLES_CRTC_DB_REGS_H | ||
2 | #define TABLES_CRTC_DB_REGS_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define CRTC_UNLOCK 0 | #define CRTC_UNLOCK 0 |
9 | 9 | #define CRTC_LOCK 1 | #define CRTC_LOCK 1 |
File drivers/gpu/alga/amd/atombios/tables/crtc_overscan.h changed (mode: 100644) (index cc032e7..d0cdc34) | |||
1 | #ifndef _TABLES_CRTC_OVERSCAN_H | ||
2 | #define _TABLES_CRTC_OVERSCAN_H | ||
1 | #ifndef TABLES_CRTC_OVERSCAN_H | ||
2 | #define TABLES_CRTC_OVERSCAN_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct crtc_overscan_params { | struct crtc_overscan_params { |
9 | 9 | __le16 right; | __le16 right; |
10 | 10 | __le16 left; | __le16 left; |
File drivers/gpu/alga/amd/atombios/tables/crtc_pair_pwr_gate.h changed (mode: 100644) (index 7c4cf6f..ae8e231) | |||
1 | #ifndef _TABLES_CRTC_PAIR_POWERGATE_H | ||
2 | #define _TABLES_CRTC_PAIR_POWERGATE_H | ||
1 | #ifndef TABLES_CRTC_PAIR_POWERGATE_H | ||
2 | #define TABLES_CRTC_PAIR_POWERGATE_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* | /* |
10 | 10 | * works on crtc pair | * works on crtc pair |
File drivers/gpu/alga/amd/atombios/tables/crtc_scaler.h changed (mode: 100644) (index bb31776..4046e02) | |||
1 | #ifndef _TABLES_CRTC_SCALER_H | ||
2 | #define _TABLES_CRTC_SCALER_H | ||
1 | #ifndef TABLES_CRTC_SCALER_H | ||
2 | #define TABLES_CRTC_SCALER_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | #define SCALER_DISABLE 0 | #define SCALER_DISABLE 0 |
10 | 10 | #define SCALER_CENTER 1 | #define SCALER_CENTER 1 |
File drivers/gpu/alga/amd/atombios/tables/crtc_timing.h changed (mode: 100644) (index 6cf7d27..2c3e54c) | |||
1 | #ifndef _TABLES_CRTC_TIMING_H | ||
2 | #define _TABLES_CRTC_TIMING_H | ||
1 | #ifndef TABLES_CRTC_TIMING_H | ||
2 | #define TABLES_CRTC_TIMING_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | #define INFO_H_CUTOFF 0x01 | #define INFO_H_CUTOFF 0x01 |
9 | 9 | #define INFO_HSYNC_POLARITY 0x02/* 0: high/positive, 1: low/negative */ | #define INFO_HSYNC_POLARITY 0x02/* 0: high/positive, 1: low/negative */ |
10 | 10 | #define INFO_VSYNC_POLARITY 0x04/* 0: high/positive, 1: low/negative */ | #define INFO_VSYNC_POLARITY 0x04/* 0: high/positive, 1: low/negative */ |
File drivers/gpu/alga/amd/atombios/tables/data.h changed (mode: 100644) (index 89654f9..a583eb9) | |||
1 | 1 | #ifndef TABLES_DATA_H | #ifndef TABLES_DATA_H |
2 | 2 | #define TABLES_DATA_H | #define TABLES_DATA_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* structures used in data.mtb */ | /* structures used in data.mtb */ |
10 | 10 | struct data_tbls_list | struct data_tbls_list |
... | ... | struct master_data_tbl | |
47 | 47 | u8 unused[4]; | u8 unused[4]; |
48 | 48 | struct data_tbls_list list; | struct data_tbls_list list; |
49 | 49 | } __packed; | } __packed; |
50 | #endif /* _TABLES_DATA_H */ | ||
50 | #endif |
File drivers/gpu/alga/amd/atombios/tables/dp_aux.h changed (mode: 100644) (index f418e38..b2f5395) | |||
1 | #ifndef _TABLES_DP_AUX_H | ||
2 | #define _TABLES_DP_AUX_H | ||
1 | #ifndef TABLES_DP_AUX_H | ||
2 | #define TABLES_DP_AUX_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | struct dp_aux_params {/* DCE4 */ | struct dp_aux_params {/* DCE4 */ |
10 | 10 | __le16 req; | __le16 req; |
File drivers/gpu/alga/amd/atombios/tables/enc_crtc_src.h changed (mode: 100644) (index ea4f33d..606f19e) | |||
1 | #ifndef _TABLES_ENC_CRTC_SRC_H | ||
2 | #define _TABLES_ENC_CRTC_SRC_H | ||
1 | #ifndef TABLES_ENC_CRTC_SRC_H | ||
2 | #define TABLES_ENC_CRTC_SRC_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct enc_crtc_src_params { | struct enc_crtc_src_params { |
9 | 9 | u8 crtc; | u8 crtc; |
10 | 10 | u8 enc_id; | u8 enc_id; |
File drivers/gpu/alga/amd/atombios/tables/enc_ctl.h changed (mode: 100644) (index d22e37e..a4d97e2) | |||
1 | #ifndef _TABLES_ENC_CTL_H | ||
2 | #define _TABLES_ENC_CTL_H | ||
1 | #ifndef TABLES_ENC_CTL_H | ||
2 | #define TABLES_ENC_CTL_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct enc_ctl_params { | struct enc_ctl_params { |
9 | 9 | __le16 pixel_clk; /* in 10kHz units */ | __le16 pixel_clk; /* in 10kHz units */ |
10 | 10 | u8 cfg; | u8 cfg; |
File drivers/gpu/alga/amd/atombios/tables/eng_pll_compute.h changed (mode: 100644) (index 367776e..63d203f) | |||
1 | 1 | #ifndef TABLES_ENG_PLL_COMPUTE_H | #ifndef TABLES_ENG_PLL_COMPUTE_H |
2 | 2 | #define TABLES_ENG_PLL_COMPUTE_H | #define TABLES_ENG_PLL_COMPUTE_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* upstream v3 */ | /* upstream v3 */ |
10 | 10 | struct eng_pll_compute_params { | struct eng_pll_compute_params { |
File drivers/gpu/alga/amd/atombios/tables/firmware_info.h changed (mode: 100644) (index 6c36cc2..937c559) | |||
1 | 1 | #ifndef TABLES_FIRMWARE_INFO_H | #ifndef TABLES_FIRMWARE_INFO_H |
2 | 2 | #define TABLES_FIRMWARE_INFO_H | #define TABLES_FIRMWARE_INFO_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* firmware_info_v2_2.caps */ | /* firmware_info_v2_2.caps */ |
10 | 10 | #define FIRMWARE_INFO_CAPS_FIRMWARE_POSTED BIT(0) | #define FIRMWARE_INFO_CAPS_FIRMWARE_POSTED BIT(0) |
... | ... | struct firmware_info_v2_2 { | |
53 | 53 | __le16 rsvd7; | __le16 rsvd7; |
54 | 54 | __le32 rsvd8[3]; | __le32 rsvd8[3]; |
55 | 55 | } __packed; | } __packed; |
56 | #endif /* _TABLES_FIRMWARE_INFO_H */ | ||
56 | #endif |
File drivers/gpu/alga/amd/atombios/tables/firmware_vram_usage.h changed (mode: 100644) (index f54daca..cef6e85) | |||
1 | #ifndef _TABLES_FIRMWARE_VRAM_USAGE | ||
2 | #define _TABLES_FIRMWARE_VRAM_USAGE | ||
1 | #ifndef TABLES_FIRMWARE_VRAM_USAGE | ||
2 | #define TABLES_FIRMWARE_VRAM_USAGE | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* | /* |
10 | 10 | * note1: from rv770, the memory is more than 32bits addressable, so we will | * note1: from rv770, the memory is more than 32bits addressable, so we will |
... | ... | struct firmware_vram_usage | |
28 | 28 | struct common_tbl_hdr hdr; | struct common_tbl_hdr hdr; |
29 | 29 | struct firmware_vram_reserve_info info; | struct firmware_vram_reserve_info info; |
30 | 30 | } __packed; | } __packed; |
31 | #endif /* _TABLES_FIRMWARE_VRAM_USAGE */ | ||
31 | #endif |
File drivers/gpu/alga/amd/atombios/tables/gpio_pin_lut.h changed (mode: 100644) (index 6e8fb79..0002713) | |||
1 | #ifndef _GPIO_PIN_LUT_H | ||
2 | #define _GPIO_PIN_LUT_H | ||
1 | #ifndef GPIO_PIN_LUT_H | ||
2 | #define GPIO_PIN_LUT_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct gpio_pin_assignment | struct gpio_pin_assignment |
9 | 9 | { | { |
10 | 10 | __le16 reg_idx; | __le16 reg_idx; |
... | ... | struct gpio_pin_lut | |
17 | 17 | struct common_tbl_hdr hdr; | struct common_tbl_hdr hdr; |
18 | 18 | struct gpio_pin_assignment pin; | struct gpio_pin_assignment pin; |
19 | 19 | } __packed; | } __packed; |
20 | #endif /* GPIO_PIN_LUT_H */ | ||
20 | #endif |
File drivers/gpu/alga/amd/atombios/tables/i2c.h changed (mode: 100644) (index 1c4960b..7cc0318) | |||
1 | 1 | #ifndef TABLES_I2C_H | #ifndef TABLES_I2C_H |
2 | 2 | #define TABLES_I2C_H | #define TABLES_I2C_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | struct gpio_i2c_assignment { | struct gpio_i2c_assignment { |
10 | 10 | __le16 clk_mask_reg_idx; | __le16 clk_mask_reg_idx; |
... | ... | struct gpio_i2c_info { | |
44 | 44 | struct hw_i2c_one_data_byte_wr_params { | struct hw_i2c_one_data_byte_wr_params { |
45 | 45 | u16 unused[6]; | u16 unused[6]; |
46 | 46 | } __packed; | } __packed; |
47 | #endif /* _TABLES_I2C_H */ | ||
47 | #endif |
File drivers/gpu/alga/amd/atombios/tables/iio.h changed (mode: 100644) (index 0847065..8606e92) | |||
1 | #ifndef _TABLES_IIO_H | ||
2 | #define _TABLES_IIO_H | ||
1 | #ifndef TABLES_IIO_H | ||
2 | #define TABLES_IIO_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | #define IIO_NOP 0 | #define IIO_NOP 0 |
10 | 10 | #define IIO_START 1 | #define IIO_START 1 |
... | ... | struct iio_end | |
62 | 62 | u8 opcode; | u8 opcode; |
63 | 63 | u8 unknown[2]; | u8 unknown[2]; |
64 | 64 | } __packed; | } __packed; |
65 | #endif /* _TABLES_IIO_H */ | ||
65 | #endif |
File drivers/gpu/alga/amd/atombios/tables/mem_pll_compute.h changed (mode: 100644) (index 1137c7e..cdc5010) | |||
1 | 1 | #ifndef TABLES_MEM_PLL_COMPUTE_H | #ifndef TABLES_MEM_PLL_COMPUTE_H |
2 | 2 | #define TABLES_MEM_PLL_COMPUTE_H | #define TABLES_MEM_PLL_COMPUTE_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | struct mem_pll_compute_params { | struct mem_pll_compute_params { |
10 | 10 | union { | union { |
File drivers/gpu/alga/amd/atombios/tables/obj_hdr.h changed (mode: 100644) (index bddfcce..5c9435c) | |||
1 | #ifndef _OBJ_HDR_H | ||
2 | #define _OBJ_HDR_H | ||
1 | #ifndef OBJ_HDR_H | ||
2 | #define OBJ_HDR_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* path->conn/gpu/grph_id, obj->id*/ | /* path->conn/gpu/grph_id, obj->id*/ |
10 | 10 | #define ID_SUB_ID_MASK 0x00ff | #define ID_SUB_ID_MASK 0x00ff |
... | ... | struct atb_src_dst_tbl_for_one_obj | |
242 | 242 | u8 num_of_dst; | u8 num_of_dst; |
243 | 243 | u16 dst_obj_id[1]; | u16 dst_obj_id[1]; |
244 | 244 | } __packed; | } __packed; |
245 | #endif /* _OBJ_HDR_H */ | ||
245 | #endif |
File drivers/gpu/alga/amd/atombios/tables/pixel_clock_set.h changed (mode: 100644) (index 8f41874..4919dd1) | |||
1 | #ifndef _TABLES_PIXEL_CLK_SET_H | ||
2 | #define _TABLES_PIXEL_CLK_SET_H | ||
1 | #ifndef TABLES_PIXEL_CLK_SET_H | ||
2 | #define TABLES_PIXEL_CLK_SET_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct pixel_clk_set_params { | struct pixel_clk_set_params { |
9 | 9 | union { | union { |
10 | 10 | __le32 disp_eng_clk; | __le32 disp_eng_clk; |
File drivers/gpu/alga/amd/atombios/tables/pll_compute.h changed (mode: 100644) (index 114f13c..e8b27c4) | |||
1 | 1 | #ifndef TABLES_PLL_COMPUTE_H | #ifndef TABLES_PLL_COMPUTE_H |
2 | 2 | #define TABLES_PLL_COMPUTE_H | #define TABLES_PLL_COMPUTE_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* common to eng_mem_pll_compute and mem_pll_compute */ | /* common to eng_mem_pll_compute and mem_pll_compute */ |
10 | 10 |
File drivers/gpu/alga/amd/atombios/tables/pp.h changed (mode: 100644) (index f224d4b..0290c17) | |||
1 | 1 | #ifndef TABLES_PP_H | #ifndef TABLES_PP_H |
2 | 2 | #define TABLES_PP_H | #define TABLES_PP_H |
3 | 3 | /* | /* |
4 | * Copyright 2013 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | //------------------------------------------------------------------------------ | ||
9 | /*----------------------------------------------------------------------------*/ | ||
10 | 10 | #define PP_FAN_PARAMS_TACHOMETER_PULSES_PER_REVOLUTION_MASK 0x0f | #define PP_FAN_PARAMS_TACHOMETER_PULSES_PER_REVOLUTION_MASK 0x0f |
11 | 11 | #define PP_FAN_PARAMS_NOFAN 0x80 | #define PP_FAN_PARAMS_NOFAN 0x80 |
12 | 12 | ||
... | ... | struct pp_thermal_ctrler { | |
56 | 56 | u8 rsvd; | u8 rsvd; |
57 | 57 | u8 flgs; | u8 flgs; |
58 | 58 | } __packed; | } __packed; |
59 | //------------------------------------------------------------------------------ | ||
59 | /*----------------------------------------------------------------------------*/ | ||
60 | 60 | ||
61 | //------------------------------------------------------------------------------ | ||
61 | /*----------------------------------------------------------------------------*/ | ||
62 | 62 | #define PP_PLATFORM_CAPS_BACKBIAS BIT(0) | #define PP_PLATFORM_CAPS_BACKBIAS BIT(0) |
63 | 63 | #define PP_PLATFORM_CAPS_PP BIT(1) | #define PP_PLATFORM_CAPS_PP BIT(1) |
64 | 64 | #define PP_PLATFORM_CAPS_SBIOS_PWR_SRC BIT(2) | #define PP_PLATFORM_CAPS_SBIOS_PWR_SRC BIT(2) |
... | ... | struct pp0 { | |
124 | 124 | __le16 boot_clk_of; | __le16 boot_clk_of; |
125 | 125 | __le16 boot_non_clk_of; | __le16 boot_non_clk_of; |
126 | 126 | } __packed; | } __packed; |
127 | //------------------------------------------------------------------------------ | ||
127 | /*----------------------------------------------------------------------------*/ | ||
128 | 128 | ||
129 | 129 | struct pp1 { | struct pp1 { |
130 | 130 | struct pp0 pp0; | struct pp0 pp0; |
File drivers/gpu/alga/amd/atombios/tables/records.h changed (mode: 100644) (index b916a5b..0e8bdf1) | |||
1 | #ifndef _RECORDS_H | ||
2 | #define _RECORDS_H | ||
1 | #ifndef RECORDS_H | ||
2 | #define RECORDS_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | /* struct rec_hdr->type */ | /* struct rec_hdr->type */ |
9 | 9 | #define REC_TYPE_I2C 1 | #define REC_TYPE_I2C 1 |
10 | 10 | #define REC_TYPE_HPD_INT 2 | #define REC_TYPE_HPD_INT 2 |
... | ... | struct hpd_int | |
66 | 66 | u8 gpio_id; | u8 gpio_id; |
67 | 67 | u8 plugged_pinstate; | u8 plugged_pinstate; |
68 | 68 | } __packed; | } __packed; |
69 | #endif /* _RECORDS_H */ | ||
69 | #endif |
File drivers/gpu/alga/amd/atombios/tables/ss_info.h changed (mode: 100644) (index 435bdac..cde34db) | |||
1 | 1 | #ifndef TABLES_SS_INFO_H | #ifndef TABLES_SS_INFO_H |
2 | 2 | #define TABLES_SS_INFO_H | #define TABLES_SS_INFO_H |
3 | 3 | /* | /* |
4 | * Copyright 2013 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | /* | /* |
10 | 10 | * ss_info_entry.clk_id, use the ids below to search if ss is required/enabled | * ss_info_entry.clk_id, use the ids below to search if ss is required/enabled |
File drivers/gpu/alga/amd/atombios/tables/trans_ctl.h changed (mode: 100644) (index 43da9aa..24980d2) | |||
1 | #ifndef _TABLES_TRANS_CTL_H | ||
2 | #define _TABLES_TRANS_CTL_H | ||
1 | #ifndef TABLES_TRANS_CTL_H | ||
2 | #define TABLES_TRANS_CTL_H | ||
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | struct trans_ctl_params { | struct trans_ctl_params { |
9 | 9 | __le16 symbol_clk; /* link_clock/10 in 10kHz units */ | __le16 symbol_clk; /* link_clock/10 in 10kHz units */ |
10 | 10 | u8 id; | u8 id; |
File drivers/gpu/alga/amd/atombios/tables/volt_info.h changed (mode: 100644) (index 71205a8..801f78c) | |||
1 | 1 | #ifndef TABLES_VOLT_INFO_H | #ifndef TABLES_VOLT_INFO_H |
2 | 2 | #define TABLES_VOLT_INFO_H | #define TABLES_VOLT_INFO_H |
3 | 3 | /* | /* |
4 | * Copyright 2013 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | ||
9 | 9 | struct volt_info_obj_hdr { | struct volt_info_obj_hdr { |
10 | 10 | /* volt src: vddc, mvddc, mvddq or mvddci */ | /* volt src: vddc, mvddc, mvddq or mvddci */ |
File drivers/gpu/alga/amd/atombios/tables/vram_info.h changed (mode: 100644) (index 8bb4521..7d8120b) | |||
1 | 1 | #ifndef TABLES_VRAM_INFO_H | #ifndef TABLES_VRAM_INFO_H |
2 | 2 | #define TABLES_VRAM_INFO_H | #define TABLES_VRAM_INFO_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define REG_SETS_N_MAX 20 | #define REG_SETS_N_MAX 20 |
File drivers/gpu/alga/amd/atombios/vm.c changed (mode: 100644) (index 1dda9c9..2331ead) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/amd/atombios/vm.h changed (mode: 100644) (index 928c9b3..544038d) | |||
1 | 1 | #ifndef VM_H | #ifndef VM_H |
2 | 2 | #define VM_H | #define VM_H |
3 | 3 | /* | /* |
4 | * Copyright 2011 Sylvain Bertrand (digital.ragnarok@gmail.com) | ||
5 | * This fork is protected by the GNU affero GPLv3 with additionnal rights | ||
6 | * Original code from Advanced Micro Devices, Inc. | ||
7 | */ | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
8 | 8 | long volt_get(struct atombios *atb, u8 type, u16 id, u16 *mv); | long volt_get(struct atombios *atb, u8 type, u16 id, u16 *mv); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/atombios/vram.c changed (mode: 100644) (index 1c192fe..e1d0df9) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | #include <linux/module.h> | #include <linux/module.h> |
File drivers/gpu/alga/amd/dce6/crtc.c changed (mode: 100644) (index 0a71e8a..5508ab8) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/amd/dce6/crtc.h changed (mode: 100644) (index bef4890..b67d042) | |||
1 | 1 | #ifndef CRTC_H | #ifndef CRTC_H |
2 | 2 | #define CRTC_H | #define CRTC_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long crtc_fb(struct dce6 *dce, u8 i, struct sink_db_fb *db_fb); | long crtc_fb(struct dce6 *dce, u8 i, struct sink_db_fb *db_fb); |
9 | 9 | void crtc_lut(struct dce6 *dce, u8 i); | void crtc_lut(struct dce6 *dce, u8 i); |
File drivers/gpu/alga/amd/dce6/dce6.h changed (mode: 100644) (index 0faeb08..3fe78f9) | |||
1 | 1 | #ifndef DCE6_H | #ifndef DCE6_H |
2 | 2 | #define DCE6_H | #define DCE6_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifdef __MOD_C__ | #ifdef __MOD_C__ |
File drivers/gpu/alga/amd/dce6/dp_link_train.c changed (mode: 100644) (index 69ce275..73369b6) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | /* | /* |
File drivers/gpu/alga/amd/dce6/dp_link_train.h changed (mode: 100644) (index b699897..df10d24) | |||
1 | #ifndef _DP_LINK_TRAIN_H | ||
2 | #define _DP_LINK_TRAIN_H | ||
1 | #ifndef DP_LINK_TRAIN_H | ||
2 | #define DP_LINK_TRAIN_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long dp_link_train(struct dce6 *dce, u8 i); | long dp_link_train(struct dce6 *dce, u8 i); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/dce6/dpcd.c changed (mode: 100644) (index a3c1f2f..42d2217) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/device.h> | #include <linux/device.h> |
7 | 7 | #include <linux/i2c.h> | #include <linux/i2c.h> |
File drivers/gpu/alga/amd/dce6/dpcd.h changed (mode: 100644) (index 1444a53..69a0241) | |||
1 | #ifndef _DPCD_H | ||
2 | #define _DPCD_H | ||
1 | #ifndef DPCD_H | ||
2 | #define DPCD_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long dpcd_wr(struct dce6 *dce, u8 i, u16 addr, u8 byte); | long dpcd_wr(struct dce6 *dce, u8 i, u16 addr, u8 byte); |
9 | 9 | long dpcd_lanes_vs_pre_emph_wr(struct dce6 *dce, u8 i, u8 vs_pre_emph); | long dpcd_lanes_vs_pre_emph_wr(struct dce6 *dce, u8 i, u8 vs_pre_emph); |
File drivers/gpu/alga/amd/dce6/hpd.c changed (mode: 100644) (index ae46011..42b29f7) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/device.h> | #include <linux/device.h> |
7 | 7 | #include <linux/module.h> | #include <linux/module.h> |
File drivers/gpu/alga/amd/dce6/hpd.h changed (mode: 100644) (index bc2ae85..e942c01) | |||
1 | #ifndef _HPD_H | ||
2 | #define _HPD_H | ||
1 | #ifndef HPD_H | ||
2 | #define HPD_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void hpds_init(struct dce6 *dce); | void hpds_init(struct dce6 *dce); |
9 | 9 | void hpd_polarity_rearm(struct dce6 *dce, u8 hpd, u8 connected); | void hpd_polarity_rearm(struct dce6 *dce, u8 hpd, u8 connected); |
File drivers/gpu/alga/amd/dce6/i2c.c changed (mode: 100644) (index c6ded6d..9a5b14b) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/i2c.h> | #include <linux/i2c.h> |
File drivers/gpu/alga/amd/dce6/i2c.h changed (mode: 100644) (index b067f69..c72f4f3) | |||
1 | #ifndef _ALGA_AMD_DCE6_I2C_H | ||
2 | #define _ALGA_AMD_DCE6_I2C_H | ||
1 | #ifndef ALGA_AMD_DCE6_I2C_H | ||
2 | #define ALGA_AMD_DCE6_I2C_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long dp_i2c_adapter_init(struct dce6 *dce, u8 i); | long dp_i2c_adapter_init(struct dce6 *dce, u8 i); |
9 | 9 | void dp_i2c_cleanup(struct dce6 *dce); | void dp_i2c_cleanup(struct dce6 *dce); |
File drivers/gpu/alga/amd/dce6/irq.c changed (mode: 100644) (index 5e5b89a..1ce0190) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/amd/dce6/mod.c changed (mode: 100644) (index 2218c63..29bb03e) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/amd/dce6/regs.h changed (mode: 100644) (index f7b1bce..1ee4394) | |||
1 | 1 | #ifndef REGS_H | #ifndef REGS_H |
2 | 2 | #define REGS_H | #define REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* | /* |
File drivers/gpu/alga/amd/dce6/sink.c changed (mode: 100644) (index 9a812ac..7115a86) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/i2c.h> | #include <linux/i2c.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/amd/dce6/sink.h changed (mode: 100644) (index 29f5474..33e9f0a) | |||
1 | 1 | #ifndef ALGA_AMD_DCE6_SINK_H | #ifndef ALGA_AMD_DCE6_SINK_H |
2 | 2 | #define ALGA_AMD_DCE6_SINK_H | #define ALGA_AMD_DCE6_SINK_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct sink_db_fb { | struct sink_db_fb { |
9 | 9 | u64 primary; | u64 primary; |
File drivers/gpu/alga/amd/dce6/sysfs.c changed (mode: 100644) (index 517a5b2..d606ab1) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/amd/dce6/sysfs.h changed (mode: 100644) (index 8e228fa..c653df1) | |||
1 | #ifndef _SYSFS_H | ||
2 | #define _SYSFS_H | ||
1 | #ifndef SYSFS_H | ||
2 | #define SYSFS_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long sysfs_add(struct dce6 *dce, u8 i); | long sysfs_add(struct dce6 *dce, u8 i); |
9 | 9 | void sysfs_remove(struct dce6 *dce, u8 i); | void sysfs_remove(struct dce6 *dce, u8 i); |
File drivers/gpu/alga/amd/si/ba.c changed (mode: 100644) (index 9a44f9f..0da9aee) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/ba.h changed (mode: 100644) (index 406016d..4ab93e6) | |||
1 | 1 | #ifndef BUS_BA_H | #ifndef BUS_BA_H |
2 | 2 | #define BUS_BA_H | #define BUS_BA_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define BA_ERR 901 | #define BA_ERR 901 |
9 | 9 |
File drivers/gpu/alga/amd/si/ba_private.h changed (mode: 100644) (index 32a59cb..93be84c) | |||
1 | 1 | #ifndef BUS_BA_PRIVATE_H | #ifndef BUS_BA_PRIVATE_H |
2 | 2 | #define BUS_BA_PRIVATE_H | #define BUS_BA_PRIVATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define PTE_SZ sizeof(u64) | #define PTE_SZ sizeof(u64) |
9 | 9 |
File drivers/gpu/alga/amd/si/bif.c changed (mode: 100644) (index 3b1c47e..e944859) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/bif.h changed (mode: 100644) (index 80e66b5..5ee981f) | |||
1 | 1 | #ifndef BIF_H | #ifndef BIF_H |
2 | 2 | #define BIF_H | #define BIF_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void bif_hdp_ena(struct pci_dev *dev); | void bif_hdp_ena(struct pci_dev *dev); |
9 | 9 | void bif_hdp_dis(struct pci_dev *dev); | void bif_hdp_dis(struct pci_dev *dev); |
File drivers/gpu/alga/amd/si/bif_regs.h changed (mode: 100644) (index c340a57..4fd5d75) | |||
1 | 1 | #ifndef BIF_REGS_H | #ifndef BIF_REGS_H |
2 | 2 | #define BIF_REGS_H | #define BIF_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define BIF_HDP_ENA 0x5490 | #define BIF_HDP_ENA 0x5490 |
9 | 9 | #define BHE_HDP_RD_ENA BIT(0) | #define BHE_HDP_RD_ENA BIT(0) |
File drivers/gpu/alga/amd/si/cm.c changed (mode: 100644) (index 072c482..bc714c8) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/cm.h changed (mode: 100644) (index 3af4da8..1d4c137) | |||
1 | 1 | #ifndef CM_H | #ifndef CM_H |
2 | 2 | #define CM_H | #define CM_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void cg_ena(struct pci_dev *dev); | void cg_ena(struct pci_dev *dev); |
9 | 9 | void cg_dis(struct pci_dev *dev); | void cg_dis(struct pci_dev *dev); |
File drivers/gpu/alga/amd/si/cps.c changed (mode: 100644) (index a66108c..bc03e31) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/cps.h changed (mode: 100644) (index 022552e..72eb502) | |||
1 | 1 | #ifndef CPS_H | #ifndef CPS_H |
2 | 2 | #define CPS_H | #define CPS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* do get raw u32 value from a 32 bits float */ | /* do get raw u32 value from a 32 bits float */ |
File drivers/gpu/alga/amd/si/dmas.c changed (mode: 100644) (index ff8187e..883e5de) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dmas.h changed (mode: 100644) (index a385e96..28df31e) | |||
1 | 1 | #ifndef DMA_H | #ifndef DMA_H |
2 | 2 | #define DMA_H | #define DMA_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define DMAS_ERR 903 | #define DMAS_ERR 903 |
File drivers/gpu/alga/amd/si/dmas_regs.h changed (mode: 100644) (index e9d4c93..87428fb) | |||
1 | 1 | #ifndef REGS_DMA_H | #ifndef REGS_DMA_H |
2 | 2 | #define REGS_DMA_H | #define REGS_DMA_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* ASYNC DMA - first instance at 0xd000, second at 0xd800 */ | /* ASYNC DMA - first instance at 0xd000, second at 0xd800 */ |
File drivers/gpu/alga/amd/si/drv.c changed (mode: 100644) (index 5a3a0eb..9935155) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/drv.h changed (mode: 100644) (index abaef6b..525c68b) | |||
1 | 1 | #ifndef DRV_H | #ifndef DRV_H |
2 | 2 | #define DRV_H | #define DRV_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define TAHITI 0 | #define TAHITI 0 |
9 | 9 | #define PITCAIRN 1 | #define PITCAIRN 1 |
File drivers/gpu/alga/amd/si/dyn_pm/ctx.c changed (mode: 100644) (index d562828..828e5c5) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/ctx.h changed (mode: 100644) (index 87a22ec..b07c888) | |||
1 | 1 | #ifndef DYN_PM_CTX_H | #ifndef DYN_PM_CTX_H |
2 | 2 | #define DYN_PM_CTX_H | #define DYN_PM_CTX_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* used to track what was done */ | /* used to track what was done */ |
File drivers/gpu/alga/amd/si/dyn_pm/driver.c changed (mode: 100644) (index 1462f03..4da1aa1) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/driver.h changed (mode: 100644) (index 030cf3a..6f80d69) | |||
1 | 1 | #ifndef DYN_PM_DRIVER_STATE_H | #ifndef DYN_PM_DRIVER_STATE_H |
2 | 2 | #define DYN_PM_DRIVER_STATE_H | #define DYN_PM_DRIVER_STATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long driver_set_performance(struct ctx *ctx); | long driver_set_performance(struct ctx *ctx); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/dyn_pm/dyn_pm.c changed (mode: 100644) (index 804a7d6..1a5818c) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/dyn_pm.h changed (mode: 100644) (index d9cf9b4..b9ff2ff) | |||
1 | 1 | #ifndef DYN_PM_H | #ifndef DYN_PM_H |
2 | 2 | #define DYN_PM_H | #define DYN_PM_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long dyn_pm_ena(struct pci_dev *dev); | long dyn_pm_ena(struct pci_dev *dev); |
9 | 9 | void dyn_pm_dis(struct pci_dev *dev); | void dyn_pm_dis(struct pci_dev *dev); |
File drivers/gpu/alga/amd/si/dyn_pm/emergency.c changed (mode: 100644) (index a105ffe..f082206) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/emergency.h changed (mode: 100644) (index 74ea1d7..d5ac656) | |||
1 | 1 | #ifndef DYN_PM_EMERGENCY_STATE_H | #ifndef DYN_PM_EMERGENCY_STATE_H |
2 | 2 | #define DYN_PM_EMERGENCY_STATE_H | #define DYN_PM_EMERGENCY_STATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long smc_state_tbl_emergency_init(struct ctx *ctx, struct smc_state_tbl *tbl); | long smc_state_tbl_emergency_init(struct ctx *ctx, struct smc_state_tbl *tbl); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/dyn_pm/fixp.h changed (mode: 100644) (index 6e9e46e..90dc2b6) | |||
1 | 1 | #ifndef DYN_PM_FIX_P_H | #ifndef DYN_PM_FIX_P_H |
2 | 2 | #define DYN_PM_FIX_P_H | #define DYN_PM_FIX_P_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* drm refactor */ | /* drm refactor */ |
File drivers/gpu/alga/amd/si/dyn_pm/initial.c changed (mode: 100644) (index 3b53103..74c79b0) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/initial.h changed (mode: 100644) (index 5f1786c..9445dfa) | |||
1 | 1 | #ifndef DYN_PM_INITIAL_STATE_H | #ifndef DYN_PM_INITIAL_STATE_H |
2 | 2 | #define DYN_PM_INITIAL_STATE_H | #define DYN_PM_INITIAL_STATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void smc_state_tbl_initial_init(struct ctx *ctx, struct smc_state_tbl *tbl); | void smc_state_tbl_initial_init(struct ctx *ctx, struct smc_state_tbl *tbl); |
9 | 9 | long smc_mc_arb_tbl_initial_init(struct ctx *ctx, | long smc_mc_arb_tbl_initial_init(struct ctx *ctx, |
File drivers/gpu/alga/amd/si/dyn_pm/private.h changed (mode: 100644) (index 5a67f67..6e966e0) | |||
1 | 1 | #ifndef DYN_PM_PRIVATE_H | #ifndef DYN_PM_PRIVATE_H |
2 | 2 | #define DYN_PM_PRIVATE_H | #define DYN_PM_PRIVATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | #define LOG(fmt,...) printk(KERN_INFO "dyn_pm:" fmt "\n", ##__VA_ARGS__) | #define LOG(fmt,...) printk(KERN_INFO "dyn_pm:" fmt "\n", ##__VA_ARGS__) |
File drivers/gpu/alga/amd/si/dyn_pm/pwrtune.c changed (mode: 100644) (index 9868163..f9ca418) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/pwrtune.h changed (mode: 100644) (index cec9d0c..58b3355) | |||
1 | 1 | #ifndef DYN_PM_PWRTUNE_H | #ifndef DYN_PM_PWRTUNE_H |
2 | 2 | #define DYN_PM_PWRTUNE_H | #define DYN_PM_PWRTUNE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define DC_CAC_LVL_0 0 | #define DC_CAC_LVL_0 0 |
9 | 9 | #define DC_CAC_LVL_1 1 | #define DC_CAC_LVL_1 1 |
File drivers/gpu/alga/amd/si/dyn_pm/smc_cac_cfg_regs.c changed (mode: 100644) (index 9c934ba..0ee17c7) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_cac_cfg_regs.h changed (mode: 100644) (index 1c71e68..0ee830f) | |||
1 | 1 | #ifndef DYN_PM_SMC_CAC_CFG_REGS_H | #ifndef DYN_PM_SMC_CAC_CFG_REGS_H |
2 | 2 | #define DYN_PM_SMC_CAC_CFG_REGS_H | #define DYN_PM_SMC_CAC_CFG_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void smc_cac_cfg_regs_init(struct pci_dev *dev); | void smc_cac_cfg_regs_init(struct pci_dev *dev); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/dyn_pm/smc_cac_cfg_tbl.c changed (mode: 100644) (index d7666c9..77ee6a4) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_cac_cfg_tbl.h changed (mode: 100644) (index 541116a..eed22c8) | |||
1 | 1 | #ifndef DYN_PM_SMC_CAC_CFG_TBL_H | #ifndef DYN_PM_SMC_CAC_CFG_TBL_H |
2 | 2 | #define DYN_PM_SMC_CAC_CFG_TBL_H | #define DYN_PM_SMC_CAC_CFG_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_cac_cfg_tbl_dump(struct smc_cac_cfg_tbl *tbl); | void smc_cac_cfg_tbl_dump(struct smc_cac_cfg_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_dte_cfg_tbl.c changed (mode: 100644) (index 97b3642..0923162) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_dte_cfg_tbl.h changed (mode: 100644) (index cdd590b..0d5b2d9) | |||
1 | 1 | #ifndef DYN_PM_SMC_DTE_CFG_TBL_H | #ifndef DYN_PM_SMC_DTE_CFG_TBL_H |
2 | 2 | #define DYN_PM_SMC_DTE_CFG_TBL_H | #define DYN_PM_SMC_DTE_CFG_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_dte_cfg_tbl_dump(struct smc_dte_cfg_tbl *tbl); | void smc_dte_cfg_tbl_dump(struct smc_dte_cfg_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_eng_clk.c changed (mode: 100644) (index 266c773..e115541) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_eng_clk.h changed (mode: 100644) (index 3aa74b9..35da802) | |||
1 | 1 | #ifndef DYN_PM_SMC_ENG_CLK_H | #ifndef DYN_PM_SMC_ENG_CLK_H |
2 | 2 | #define DYN_PM_SMC_ENG_CLK_H | #define DYN_PM_SMC_ENG_CLK_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_eng_clk_dump(struct smc_eng_clk *tbl); | void smc_eng_clk_dump(struct smc_eng_clk *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_eng_pll_tbl.c changed (mode: 100644) (index 305e519..6e12a4d) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_eng_pll_tbl.h changed (mode: 100644) (index 1779082..d9b6d8e) | |||
1 | 1 | #ifndef DYN_PM_SMC_ENG_PLL_TBL_H | #ifndef DYN_PM_SMC_ENG_PLL_TBL_H |
2 | 2 | #define DYN_PM_SMC_ENG_PLL_TBL_H | #define DYN_PM_SMC_ENG_PLL_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_eng_pll_tbl_dump(struct smc_eng_pll_tbl *tbl); | void smc_eng_pll_tbl_dump(struct smc_eng_pll_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_lvl.c changed (mode: 100644) (index 25daad2..b0e38d2) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_lvl.h changed (mode: 100644) (index 6ff301f..0cd83ed) | |||
1 | 1 | #ifndef DYN_PM_SMC_LVL_H | #ifndef DYN_PM_SMC_LVL_H |
2 | 2 | #define DYN_PM_SMC_LVL_H | #define DYN_PM_SMC_LVL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_lvl_dump(struct smc_lvl *lvl); | void smc_lvl_dump(struct smc_lvl *lvl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mc_arb_tbl.c changed (mode: 100644) (index a10de0a..abc0790) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mc_arb_tbl.h changed (mode: 100644) (index 98d49a6..944d3b8) | |||
1 | 1 | #ifndef DYN_PM_SMC_MC_ARB_TBL_H | #ifndef DYN_PM_SMC_MC_ARB_TBL_H |
2 | 2 | #define DYN_PM_SMC_MC_ARB_TBL_H | #define DYN_PM_SMC_MC_ARB_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_mc_arb_tbl_dump(struct smc_mc_arb_tbl *tbl); | void smc_mc_arb_tbl_dump(struct smc_mc_arb_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mc_reg_tbl.c changed (mode: 100644) (index 51f96bb..431f8c6) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mc_reg_tbl.h changed (mode: 100644) (index d423f9e..0c60fe8) | |||
1 | 1 | #ifndef DYN_PM_SMC_MC_REG_TBL_H | #ifndef DYN_PM_SMC_MC_REG_TBL_H |
2 | 2 | #define DYN_PM_SMC_MC_REG_TBL_H | #define DYN_PM_SMC_MC_REG_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_mc_reg_tbl_dump(struct smc_mc_reg_tbl *tbl); | void smc_mc_reg_tbl_dump(struct smc_mc_reg_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mem_clk.c changed (mode: 100644) (index 8baa264..444c1b3) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_mem_clk.h changed (mode: 100644) (index 3d4e325..1a49c48) | |||
1 | 1 | #ifndef DYN_PM_SMC_MEM_CLK_H | #ifndef DYN_PM_SMC_MEM_CLK_H |
2 | 2 | #define DYN_PM_SMC_MEM_CLK_H | #define DYN_PM_SMC_MEM_CLK_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_mem_clk_dump(struct smc_mem_clk *tbl); | void smc_mem_clk_dump(struct smc_mem_clk *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_state_tbl.c changed (mode: 100644) (index 746cc7c..36be9e4) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_state_tbl.h changed (mode: 100644) (index ddeb36c..5b2a315) | |||
1 | 1 | #ifndef DYN_PM_SMC_STATE_TBL_H | #ifndef DYN_PM_SMC_STATE_TBL_H |
2 | 2 | #define DYN_PM_SMC_STATE_TBL_H | #define DYN_PM_SMC_STATE_TBL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_state_tbl_dump(struct smc_state_tbl *tbl); | void smc_state_tbl_dump(struct smc_state_tbl *tbl); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_sw_regs.c changed (mode: 100644) (index 504ba25..ae12d98) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_sw_regs.h changed (mode: 100644) (index 2617a38..c456e5e) | |||
1 | 1 | #ifndef DYN_PM_SMC_SW_REGS_H | #ifndef DYN_PM_SMC_SW_REGS_H |
2 | 2 | #define DYN_PM_SMC_SW_REGS_H | #define DYN_PM_SMC_SW_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG | #ifdef CONFIG_ALGA_AMD_SI_DYN_PM_LOG |
9 | 9 | void smc_sw_regs_dump(struct pci_dev *dev); | void smc_sw_regs_dump(struct pci_dev *dev); |
File drivers/gpu/alga/amd/si/dyn_pm/smc_tbls.c changed (mode: 100644) (index d9449fc..51a7c11) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_tbls.h changed (mode: 100644) (index baf91cd..ffeee8f) | |||
1 | 1 | #ifndef DYN_PM_SMC_TBLS_H | #ifndef DYN_PM_SMC_TBLS_H |
2 | 2 | #define DYN_PM_SMC_TBLS_H | #define DYN_PM_SMC_TBLS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long smc_tbls_init(struct ctx *ctx); | long smc_tbls_init(struct ctx *ctx); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/dyn_pm/smc_volt.c changed (mode: 100644) (index 851c80f..b44512b) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/smc_volt.h changed (mode: 100644) (index cdba14b..85f5a95) | |||
1 | 1 | #ifndef DYN_PM_SMC_VOLT_H | #ifndef DYN_PM_SMC_VOLT_H |
2 | 2 | #define DYN_PM_SMC_VOLT_H | #define DYN_PM_SMC_VOLT_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define IS_VDDC_LKGE_IDX(x) (((x) & 0xff00) == 0xff00) | #define IS_VDDC_LKGE_IDX(x) (((x) & 0xff00) == 0xff00) |
9 | 9 |
File drivers/gpu/alga/amd/si/dyn_pm/ulv.c changed (mode: 100644) (index 1e5b8ea..cff0300) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/dyn_pm/ulv.h changed (mode: 100644) (index 2b698d3..e484609) | |||
1 | 1 | #ifndef DYN_PM_ULV_STATE_H | #ifndef DYN_PM_ULV_STATE_H |
2 | 2 | #define DYN_PM_ULV_STATE_H | #define DYN_PM_ULV_STATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long smc_state_tbl_ulv_init(struct ctx *ctx, struct smc_state_tbl *tbl); | long smc_state_tbl_ulv_init(struct ctx *ctx, struct smc_state_tbl *tbl); |
9 | 9 | void ulv_program(struct pci_dev *dev); | void ulv_program(struct pci_dev *dev); |
File drivers/gpu/alga/amd/si/fence.c changed (mode: 100644) (index 3e30a93..00a329e) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/fence.h changed (mode: 100644) (index a23cad2..39528b2) | |||
1 | 1 | #ifndef FENCE_H | #ifndef FENCE_H |
2 | 2 | #define FENCE_H | #define FENCE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define FENCE_TIMEOUT 906 | #define FENCE_TIMEOUT 906 |
File drivers/gpu/alga/amd/si/fops/dce.c changed (mode: 100644) (index fdbf02a..fac2c59) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/fops/dce.h changed (mode: 100644) (index 98d8021..d1cc026) | |||
1 | 1 | #ifndef FOPS_DCE_H | #ifndef FOPS_DCE_H |
2 | 2 | #define FOPS_DCE_H | #define FOPS_DCE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long fops_dce_dp_set(struct pci_dev *dev, void __user *user); | long fops_dce_dp_set(struct pci_dev *dev, void __user *user); |
9 | 9 | long fops_dce_dp_dpm(struct pci_dev *dev, u8 __user *user_i); | long fops_dce_dp_dpm(struct pci_dev *dev, u8 __user *user_i); |
File drivers/gpu/alga/amd/si/fops/dma.c changed (mode: 100644) (index 012feb3..1a4533c) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/fops/dma.h changed (mode: 100644) (index 988e185..c6d0c39) | |||
1 | 1 | #ifndef FOPS_DMA_H | #ifndef FOPS_DMA_H |
2 | 2 | #define FOPS_DMA_H | #define FOPS_DMA_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long fops_dma_l2l(struct pci_dev *dev, struct si_dma *dma); | long fops_dma_l2l(struct pci_dev *dev, struct si_dma *dma); |
9 | 9 | long fops_dma_u32_fill(struct pci_dev *dev, struct si_dma *dma); | long fops_dma_u32_fill(struct pci_dev *dev, struct si_dma *dma); |
File drivers/gpu/alga/amd/si/fops/fops.c changed (mode: 100644) (index b2890f2..6c93db8) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/fops/fops.h changed (mode: 100644) (index 864fe4d..d2d16ed) | |||
1 | 1 | #ifndef FOPS_FOPS_H | #ifndef FOPS_FOPS_H |
2 | 2 | #define FOPS_FOPS_H | #define FOPS_FOPS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct file_private_data { | struct file_private_data { |
9 | 9 | struct list_head n; | struct list_head n; |
File drivers/gpu/alga/amd/si/fops/mmap.c changed (mode: 100644) (index b7e2975..eed5792) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/fops/mmap.h changed (mode: 100644) (index b74a7f0..cc0bed0) | |||
1 | 1 | #ifndef FOPS_MMAP_H | #ifndef FOPS_MMAP_H |
2 | 2 | #define FOPS_MMAP_H | #define FOPS_MMAP_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct vma_private_data { | struct vma_private_data { |
9 | 9 | atomic_t refs_n; | atomic_t refs_n; |
File drivers/gpu/alga/amd/si/fops/private.h changed (mode: 100644) (index d79489d..49c8f54) | |||
1 | 1 | #ifndef FOPS_PRIVATE_H | #ifndef FOPS_PRIVATE_H |
2 | 2 | #define FOPS_PRIVATE_H | #define FOPS_PRIVATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* we derive the si_evt from the ioctls */ | /* we derive the si_evt from the ioctls */ |
File drivers/gpu/alga/amd/si/golden.c changed (mode: 100644) (index b19b14b..36fb78e) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/golden.h changed (mode: 100644) (index 92380ff..3614875) | |||
1 | 1 | #ifndef GOLDEN_H | #ifndef GOLDEN_H |
2 | 2 | #define GOLDEN_H | #define GOLDEN_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void golden_regs(struct pci_dev *dev); | void golden_regs(struct pci_dev *dev); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/gpu.c changed (mode: 100644) (index e9dccaf..4c9c58a) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/gpu.h changed (mode: 100644) (index 3578e7c..7c21f4b) | |||
1 | 1 | #ifndef GPU_H | #ifndef GPU_H |
2 | 2 | #define GPU_H | #define GPU_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct gpu_cfg { | struct gpu_cfg { |
9 | 9 | u8 hw_ctxs_n; | u8 hw_ctxs_n; |
File drivers/gpu/alga/amd/si/hdp.c changed (mode: 100644) (index cb9dc67..cb86828) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/hdp.h changed (mode: 100644) (index 2973ffc..9f7b321) | |||
1 | 1 | #ifndef HDP_H | #ifndef HDP_H |
2 | 2 | #define HDP_H | #define HDP_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void hdp_init(struct pci_dev *dev); | void hdp_init(struct pci_dev *dev); |
9 | 9 |
File drivers/gpu/alga/amd/si/hdp_regs.h changed (mode: 100644) (index bb9e5ae..e0cd970) | |||
1 | 1 | #ifndef HDP_REGS_H | #ifndef HDP_REGS_H |
2 | 2 | #define HDP_REGS_H | #define HDP_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define HDP_HOST_PATH_CTL 0x2c00 | #define HDP_HOST_PATH_CTL 0x2c00 |
9 | 9 | #define HHPC_CG_DIS BIT(23) | #define HHPC_CG_DIS BIT(23) |
File drivers/gpu/alga/amd/si/ih.c changed (mode: 100644) (index 3b14ec8..18c43ba) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/interrupt.h> | #include <linux/interrupt.h> |
File drivers/gpu/alga/amd/si/ih.h changed (mode: 100644) (index 71c04a3..9c57d39) | |||
1 | #ifndef _IH_H | ||
2 | #define _IH_H | ||
1 | #ifndef IH_H | ||
2 | #define IH_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define IH_RING_LOG2_DWS 14 | #define IH_RING_LOG2_DWS 14 |
9 | 9 | #define IH_RING_MASK (((1 << IH_RING_LOG2_DWS) * 4) - 1) | #define IH_RING_MASK (((1 << IH_RING_LOG2_DWS) * 4) - 1) |
... | ... | void ih_init(struct pci_dev *dev); | |
19 | 19 | #define IRQ_THD_DIS 0 | #define IRQ_THD_DIS 0 |
20 | 20 | #define IRQ_THD_ENA 1 | #define IRQ_THD_ENA 1 |
21 | 21 | u8 ih_parse(struct pci_dev *dev); | u8 ih_parse(struct pci_dev *dev); |
22 | #endif /* _IH_H */ | ||
22 | #endif |
File drivers/gpu/alga/amd/si/intr_irq.c changed (mode: 100644) (index 5d9ee8f..10ea10a) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/irqreturn.h> | #include <linux/irqreturn.h> |
File drivers/gpu/alga/amd/si/intr_irq.h changed (mode: 100644) (index 2c5f11f..4d98640) | |||
1 | #ifndef _INTR_IRQ_H | ||
2 | #define _INTR_IRQ_H | ||
1 | #ifndef INTR_IRQ_H | ||
2 | #define INTR_IRQ_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void intrs_reset(struct pci_dev *dev); | void intrs_reset(struct pci_dev *dev); |
9 | 9 | irqreturn_t irq_thd(int irq, void *dev_id); | irqreturn_t irq_thd(int irq, void *dev_id); |
File drivers/gpu/alga/amd/si/mapping_core_coherent.c changed (mode: 100644) (index 1fda557..b271dd8) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/mapping_core_coherent.h changed (mode: 100644) (index 8398ae2..53bd4ed) | |||
1 | 1 | #ifndef BUS_CORE_COHERENT_H | #ifndef BUS_CORE_COHERENT_H |
2 | 2 | #define BUS_CORE_COHERENT_H | #define BUS_CORE_COHERENT_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long core_coherent_map(struct pci_dev *dev, u64 sz, struct ba_map **m); | long core_coherent_map(struct pci_dev *dev, u64 sz, struct ba_map **m); |
9 | 9 | void core_coherent_cleanup(struct pci_dev *dev, struct ba_map *m, u8 flgs); | void core_coherent_cleanup(struct pci_dev *dev, struct ba_map *m, u8 flgs); |
File drivers/gpu/alga/amd/si/mapping_core_sg_kernel.c changed (mode: 100644) (index e5d60c0..54e2619) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/mapping_core_sg_kernel.h changed (mode: 100644) (index bd1810e..7c08f08) | |||
1 | 1 | #ifndef BUS_CORE_SG_KERNEL_H | #ifndef BUS_CORE_SG_KERNEL_H |
2 | 2 | #define BUS_CORE_SG_KERNEL_H | #define BUS_CORE_SG_KERNEL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long core_sg_kernel_map(struct pci_dev *dev, u64 sz, struct ba_map **m); | long core_sg_kernel_map(struct pci_dev *dev, u64 sz, struct ba_map **m); |
9 | 9 | void core_sg_kernel_cleanup(struct pci_dev *dev, struct ba_map *m, u8 flgs); | void core_sg_kernel_cleanup(struct pci_dev *dev, struct ba_map *m, u8 flgs); |
File drivers/gpu/alga/amd/si/mapping_sg_user.c changed (mode: 100644) (index 1eac651..eeeed45) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/mapping_sg_user.h changed (mode: 100644) (index b5f41fa..3646d23) | |||
1 | 1 | #ifndef BUS_SG_USER_H | #ifndef BUS_SG_USER_H |
2 | 2 | #define BUS_SG_USER_H | #define BUS_SG_USER_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long sg_user_map(struct pci_dev *dev, void __iomem *cpu_addr, | long sg_user_map(struct pci_dev *dev, void __iomem *cpu_addr, |
9 | 9 | struct sg_table *sg_table, int nents); | struct sg_table *sg_table, int nents); |
File drivers/gpu/alga/amd/si/mc.c changed (mode: 100644) (index 274ade8..08969f1) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/mc.h changed (mode: 100644) (index 6321f46..f5849ba) | |||
1 | 1 | #ifndef MC_H | #ifndef MC_H |
2 | 2 | #define MC_H | #define MC_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define GPU_PAGE_SZ 4096 | #define GPU_PAGE_SZ 4096 |
9 | 9 | #define GPU_PAGE_SHIFT 12 | #define GPU_PAGE_SHIFT 12 |
File drivers/gpu/alga/amd/si/pcie_regs.h changed (mode: 100644) (index 13d4d39..0cac59d) | |||
1 | 1 | #ifndef BUS_REGS_PCIE_H | #ifndef BUS_REGS_PCIE_H |
2 | 2 | #define BUS_REGS_PCIE_H | #define BUS_REGS_PCIE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define PCIE_IDX 0x0030 | #define PCIE_IDX 0x0030 |
File drivers/gpu/alga/amd/si/regs.h changed (mode: 100644) (index 4af1944..9d3982e) | |||
1 | 1 | #ifndef REGS_H | #ifndef REGS_H |
2 | 2 | #define REGS_H | #define REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* | /* |
File drivers/gpu/alga/amd/si/ring.c changed (mode: 100644) (index 358e43f..0219a3c) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/delay.h> | #include <linux/delay.h> |
File drivers/gpu/alga/amd/si/ring.h changed (mode: 100644) (index 3c01a5f..4719428) | |||
1 | 1 | #ifndef RINGS_H | #ifndef RINGS_H |
2 | 2 | #define RINGS_H | #define RINGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define RING_WAIT_TIMEOUT 907 | #define RING_WAIT_TIMEOUT 907 |
File drivers/gpu/alga/amd/si/rlc.c changed (mode: 100644) (index 1131242..2fac6ad) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/rlc.h changed (mode: 100644) (index daf9975..db12d63) | |||
1 | 1 | #ifndef RCL_RCL_H | #ifndef RCL_RCL_H |
2 | 2 | #define RLC_RCL_H | #define RLC_RCL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct rlc { | struct rlc { |
9 | 9 | u64 save_restore; /* gpu address */ | u64 save_restore; /* gpu address */ |
File drivers/gpu/alga/amd/si/rlc_clearstate.c changed (mode: 100644) (index ea22e88..ebb90be) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/pci.h> | #include <linux/pci.h> |
File drivers/gpu/alga/amd/si/rlc_clearstate.h changed (mode: 100644) (index b7c09ad..0dbf5c6) | |||
1 | 1 | #ifndef RLC_CLEARSTATE_H | #ifndef RLC_CLEARSTATE_H |
2 | 2 | #define RLC_CLEARSTATE_H | #define RLC_CLEARSTATE_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long clearstate_init(struct pci_dev *dev); | long clearstate_init(struct pci_dev *dev); |
9 | 9 | #endif | #endif |
File drivers/gpu/alga/amd/si/rlc_regs.h changed (mode: 100644) (index 4d7a01d..6825f17) | |||
1 | 1 | #ifndef RLC_REGS_H | #ifndef RLC_REGS_H |
2 | 2 | #define RLC_REGS_H | #define RLC_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define RLC_CTL 0xc300 | #define RLC_CTL 0xc300 |
9 | 9 | #define RC_RLC_ENA BIT(0) | #define RC_RLC_ENA BIT(0) |
File drivers/gpu/alga/amd/si/smc.c changed (mode: 100644) (index 9a29609..d6f8a7a) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/smc.h changed (mode: 100644) (index 80095c3..38c11bf) | |||
1 | 1 | #ifndef SMC_H | #ifndef SMC_H |
2 | 2 | #define SMC_H | #define SMC_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | u32 smc_r32(struct pci_dev *dev, u32 addr); | u32 smc_r32(struct pci_dev *dev, u32 addr); |
9 | 9 | void smc_w32(struct pci_dev *dev, u32 val, u32 addr); | void smc_w32(struct pci_dev *dev, u32 val, u32 addr); |
File drivers/gpu/alga/amd/si/smc_regs.h changed (mode: 100644) (index 3260fe3..ad74ea6) | |||
1 | 1 | #ifndef SMC_REGS_H | #ifndef SMC_REGS_H |
2 | 2 | #define SMC_REGS_H | #define SMC_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /* start of the xRBM register area--------------------------------------------*/ | /* start of the xRBM register area--------------------------------------------*/ |
File drivers/gpu/alga/amd/si/smc_tbls.h changed (mode: 100644) (index b0c6316..607cbd5) | |||
1 | 1 | #ifndef SMC_TBLS_H | #ifndef SMC_TBLS_H |
2 | 2 | #define SMC_TBLS_H | #define SMC_TBLS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /*============================================================================*/ | /*============================================================================*/ |
File drivers/gpu/alga/amd/si/tiling.c changed (mode: 100644) (index e36f238..c9ca44f) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/cdev.h> | #include <linux/cdev.h> |
File drivers/gpu/alga/amd/si/tiling.h changed (mode: 100644) (index 551dee0..b591265) | |||
1 | #ifndef _GPU_TILING_H | ||
2 | #define _GPU_TILING_H | ||
1 | #ifndef GPU_TILING_H | ||
2 | #define GPU_TILING_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define TILE_MODE_STATES_N 32 | #define TILE_MODE_STATES_N 32 |
9 | 9 | void tiling_modes_tbl_init(struct pci_dev *dev, u32 mem_row_sz_kb); | void tiling_modes_tbl_init(struct pci_dev *dev, u32 mem_row_sz_kb); |
File drivers/gpu/alga/amd/si/tiling_regs.h changed (mode: 100644) (index fb0b053..42a5801) | |||
1 | 1 | #ifndef TILING_REGS_H | #ifndef TILING_REGS_H |
2 | 2 | #define TILING_REGS_H | #define TILING_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | /* start of configuration register area: 0x8000-0xb000----------------------------------*/ | /* start of configuration register area: 0x8000-0xb000----------------------------------*/ |
9 | 9 | #define GB_TILE_MODE_00 0x9910 | #define GB_TILE_MODE_00 0x9910 |
File drivers/gpu/alga/amd/si/ucode.c changed (mode: 100644) (index 38e6874..173b6df) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <linux/firmware.h> | #include <linux/firmware.h> |
File drivers/gpu/alga/amd/si/ucode.h changed (mode: 100644) (index 189564d..607b27b) | |||
1 | #ifndef _UCODE_H | ||
2 | #define _UCODE_H | ||
1 | #ifndef UCODE_H | ||
2 | #define UCODE_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | long ucode_load(struct pci_dev *dev, const struct firmware **fw, | long ucode_load(struct pci_dev *dev, const struct firmware **fw, |
9 | 9 | const char *fw_str, u32 fw_dws); | const char *fw_str, u32 fw_dws); |
File drivers/gpu/alga/amd/si/vm.c changed (mode: 100644) (index 180df2a..52aeb86) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/pci.h> | #include <linux/pci.h> |
7 | 7 | #include <asm/byteorder.h> | #include <asm/byteorder.h> |
File drivers/gpu/alga/amd/si/vm.h changed (mode: 100644) (index 54f24b1..697cf47) | |||
1 | 1 | #ifndef VM_H | #ifndef VM_H |
2 | 2 | #define VM_H | #define VM_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void vg_ena(struct pci_dev *dev); | void vg_ena(struct pci_dev *dev); |
9 | 9 | void vg_dis(struct pci_dev *dev); | void vg_dis(struct pci_dev *dev); |
File drivers/gpu/alga/helpers/dp.c changed (mode: 100644) (index 1a47cd5..d4be85c) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/slab.h> | #include <linux/slab.h> |
File drivers/gpu/alga/helpers/edid.c changed (mode: 100644) (index 205ef51..1bb9776) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | #include <linux/device.h> | #include <linux/device.h> |
File drivers/gpu/alga/helpers/mod.c changed (mode: 100644) (index d68402a..98fe939) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | #include <linux/module.h> | #include <linux/module.h> |
7 | 7 | static int init(void) | static int init(void) |
File drivers/gpu/alga/helpers/rng_mng.c changed (mode: 100644) (index 1489416..905b5b9) | |||
1 | 1 | /* | /* |
2 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
3 | Protected by GNU Affero GPL v3 with some exceptions. | ||
4 | See README at root of alga tree. | ||
2 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
3 | Protected by linux GNU GPLv2 | ||
4 | Copyright 2012-2014 | ||
5 | 5 | */ | */ |
6 | 6 | ||
7 | 7 | /* Very simple range manager */ | /* Very simple range manager */ |
File drivers/gpu/alga/helpers/vesa_dmts.h changed (mode: 100644) (index e55a0b8..637a1f8) | |||
1 | #ifndef _ALGA_HELPERS_VESA_DMTS_H | ||
2 | #define _ALGA_HELPERS_VESA_DMTS_H | ||
1 | #ifndef ALGA_HELPERS_VESA_DMTS_H | ||
2 | #define ALGA_HELPERS_VESA_DMTS_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define VESA_DMTS_COUNT 0x51 | #define VESA_DMTS_COUNT 0x51 |
9 | 9 | struct dmt { | struct dmt { |
File include/alga/alga.h changed (mode: 100644) (index 458699c..1b296d6) | |||
1 | 1 | #ifndef ALGA_H | #ifndef ALGA_H |
2 | 2 | #define ALGA_H | #define ALGA_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define ALGA_ERR 900 | #define ALGA_ERR 900 |
9 | 9 | #endif | #endif |
File include/alga/amd/atombios/atb.h changed (mode: 100644) (index 3051de8..503543b) | |||
1 | #ifndef _ALGA_AMD_ATOMBIOS_ATB_H | ||
2 | #define _ALGA_AMD_ATOMBIOS_ATB_H | ||
1 | #ifndef ALGA_AMD_ATOMBIOS_ATB_H | ||
2 | #define ALGA_AMD_ATOMBIOS_ATB_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define ATB_ERR 800 | #define ATB_ERR 800 |
9 | 9 |
File include/alga/amd/atombios/atb_dev.h changed (mode: 100644) (index 4d07296..64ebca9) | |||
1 | #ifndef _ALGA_AMD_ATOMBIOS_ATB_DEV_H | ||
2 | #define _ALGA_AMD_ATOMBIOS_ATB_DEV_H | ||
1 | #ifndef ALGA_AMD_ATOMBIOS_ATB_DEV_H | ||
2 | #define ALGA_AMD_ATOMBIOS_ATB_DEV_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct atb_dev { | struct atb_dev { |
9 | 9 | struct device *dev; | struct device *dev; |
File include/alga/amd/atombios/cm.h changed (mode: 100644) (index 21953af..828af1e) | |||
1 | 1 | #ifndef ALGA_AMD_ATOMBIOS_CM_H | #ifndef ALGA_AMD_ATOMBIOS_CM_H |
2 | 2 | #define ALGA_AMD_ATOMBIOS_CM_H | #define ALGA_AMD_ATOMBIOS_CM_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | /*============================================================================*/ | /*============================================================================*/ |
File include/alga/amd/atombios/dce.h changed (mode: 100644) (index 6c1ca3b..1ab80f9) | |||
1 | #ifndef _ALGA_AMD_ATOMBIOS_DCE_H | ||
2 | #define _ALGA_AMD_ATOMBIOS_DCE_H | ||
1 | #ifndef ALGA_AMD_ATOMBIOS_DCE_H | ||
2 | #define ALGA_AMD_ATOMBIOS_DCE_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | void atb_lock(struct atombios *atb, u8 lock); | void atb_lock(struct atombios *atb, u8 lock); |
9 | 9 | long atb_trans_link_init(struct atombios *atb, u8 i, u8 edp); | long atb_trans_link_init(struct atombios *atb, u8 i, u8 edp); |
File include/alga/amd/atombios/dp_paths.h changed (mode: 100644) (index 3b1019a..84d7921) | |||
1 | #ifndef _DP_PATHS_H | ||
2 | #define _DP_PATHS_H | ||
1 | #ifndef DP_PATHS_H | ||
2 | #define DP_PATHS_H | ||
3 | /* | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | */ | ||
3 | 8 | struct atb_dp_path | struct atb_dp_path |
4 | 9 | { | { |
5 | 10 | u8 i; | u8 i; |
File include/alga/amd/atombios/pp.h changed (mode: 100644) (index b986d39..827ddcc) | |||
1 | 1 | #ifndef ALGA_AMD_ATOMBIOS_PP_H | #ifndef ALGA_AMD_ATOMBIOS_PP_H |
2 | 2 | #define ALGA_AMD_ATOMBIOS_PP_H | #define ALGA_AMD_ATOMBIOS_PP_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct atb_pp_defaults { | struct atb_pp_defaults { |
9 | 9 | u32 eng_clk; /* 10 kHz units */ | u32 eng_clk; /* 10 kHz units */ |
File include/alga/amd/atombios/vm.h changed (mode: 100644) (index 42695ce..ebf5a71) | |||
1 | 1 | #ifndef ALGA_AMD_ATOMBIOS_VM_H | #ifndef ALGA_AMD_ATOMBIOS_VM_H |
2 | 2 | #define ALGA_AMD_ATOMBIOS_VM_H | #define ALGA_AMD_ATOMBIOS_VM_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define ATB_DONT_HAVE_VDDC_CTL 0 | #define ATB_DONT_HAVE_VDDC_CTL 0 |
9 | 9 | #define ATB_HAVE_VDDC_CTL 1 | #define ATB_HAVE_VDDC_CTL 1 |
File include/alga/amd/atombios/vram_info.h changed (mode: 100644) (index 41212bb..3656431) | |||
1 | 1 | #ifndef ALGA_AMD_ATOMBIOS_VRAM_INFO_H | #ifndef ALGA_AMD_ATOMBIOS_VRAM_INFO_H |
2 | 2 | #define ALGA_AMD_ATOMBIOS_VRAM_INFO_H | #define ALGA_AMD_ATOMBIOS_VRAM_INFO_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define ATB_MC_REGS_N_MAX 32 | #define ATB_MC_REGS_N_MAX 32 |
File include/alga/amd/dce6/dce6_dev.h changed (mode: 100644) (index 8ab8c50..a46bfe0) | |||
1 | #ifndef _ALGA_AMD_DCE6_DCE6_DEV_H | ||
2 | #define _ALGA_AMD_DCE6_DCE6_DEV_H | ||
1 | #ifndef ALGA_AMD_DCE6_DCE6_DEV_H | ||
2 | #define ALGA_AMD_DCE6_DCE6_DEV_H | ||
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct dce6_dev {/* provides device specific services for dce6 */ | struct dce6_dev {/* provides device specific services for dce6 */ |
9 | 9 | struct device *dev; | struct device *dev; |
File include/alga/dp.h changed (mode: 100644) (index 89f4747..1bfce2b) | |||
1 | 1 | #ifndef ALGA_DP_H | #ifndef ALGA_DP_H |
2 | 2 | #define ALGA_DP_H | #define ALGA_DP_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define DP_MAX_LANES_N 4 | #define DP_MAX_LANES_N 4 |
File include/alga/edid.h changed (mode: 100644) (index 5008e70..edf6c9f) | |||
1 | 1 | #ifndef ALGA_EDID_H | #ifndef ALGA_EDID_H |
2 | 2 | #define ALGA_EDID_H | #define ALGA_EDID_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define EDID_BLK_SZ 128 | #define EDID_BLK_SZ 128 |
9 | 9 | /* max size for a sysfs attribute is PAGE_SIZE - 1 */ | /* max size for a sysfs attribute is PAGE_SIZE - 1 */ |
File include/alga/rng_mng.h changed (mode: 100644) (index ca733b1..cef5a48) | |||
1 | 1 | #ifndef ALGA_RNG_MNG_H | #ifndef ALGA_RNG_MNG_H |
2 | 2 | #define ALGA_RNG_MNG_H | #define ALGA_RNG_MNG_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | struct rng { | struct rng { |
9 | 9 | u64 s; | u64 s; |
File include/alga/timing.h changed (mode: 100644) (index 2e1fa80..b141ebb) | |||
1 | 1 | #ifndef ALGA_TIMING_H | #ifndef ALGA_TIMING_H |
2 | 2 | #define ALGA_TIMING_H | #define ALGA_TIMING_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define ALGA_TIMINGS_MAX 32 | #define ALGA_TIMINGS_MAX 32 |
9 | 9 | struct alga_timing { | struct alga_timing { |
File include/uapi/alga/amd/dce6/dce6.h changed (mode: 100644) (index 3b502f8..f3719e3) | |||
1 | 1 | #ifndef ALGA_AMD_DCE6_DCE6_H | #ifndef ALGA_AMD_DCE6_DCE6_H |
2 | 2 | #define ALGA_AMD_DCE6_DCE6_H | #define ALGA_AMD_DCE6_DCE6_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define CRTCS_N_MAX 6 | #define CRTCS_N_MAX 6 |
File include/uapi/alga/amd/si/cps_regs.h changed (mode: 100644) (index 596feb7..77cfa6c) | |||
1 | 1 | #ifndef ALGA_AMD_SI_CPS_REGS_H | #ifndef ALGA_AMD_SI_CPS_REGS_H |
2 | 2 | #define ALGA_AMD_SI_CPS_REGS_H | #define ALGA_AMD_SI_CPS_REGS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifndef __KERNEL__ | #ifndef __KERNEL__ |
File include/uapi/alga/amd/si/gpu_regs_cfg.h changed (mode: 100644) (index bfba57b..2bcc0e3) | |||
1 | 1 | #ifndef ALGA_AMD_SI_GPU_REGS_CFG_H | #ifndef ALGA_AMD_SI_GPU_REGS_CFG_H |
2 | 2 | #define ALGA_AMD_SI_GPU_REGS_CFG_H | #define ALGA_AMD_SI_GPU_REGS_CFG_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifndef __KERNEL__ | #ifndef __KERNEL__ |
File include/uapi/alga/amd/si/gpu_regs_ctx.h changed (mode: 100644) (index 8e2103b..3a75b4a) | |||
1 | 1 | #ifndef ALGA_AMD_SI_GPU_REGS_CTX_H | #ifndef ALGA_AMD_SI_GPU_REGS_CTX_H |
2 | 2 | #define ALGA_AMD_SI_GPU_REGS_CTX_H | #define ALGA_AMD_SI_GPU_REGS_CTX_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifndef __KERNEL__ | #ifndef __KERNEL__ |
File include/uapi/alga/amd/si/gpu_regs_sh.h changed (mode: 100644) (index 0302386..43fd7f2) | |||
1 | 1 | #ifndef ALGA_AMD_SI_GPU_REGS_SH_H | #ifndef ALGA_AMD_SI_GPU_REGS_SH_H |
2 | 2 | #define ALGA_AMD_SI_GPU_REGS_SH_H | #define ALGA_AMD_SI_GPU_REGS_SH_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifndef __KERNEL__ | #ifndef __KERNEL__ |
File include/uapi/alga/amd/si/ioctl.h changed (mode: 100644) (index 5b02c6b..c93b72b) | |||
1 | 1 | #ifndef ALGA_AMD_SI_IOCTL_H | #ifndef ALGA_AMD_SI_IOCTL_H |
2 | 2 | #define ALGA_AMD_SI_IOCTL_H | #define ALGA_AMD_SI_IOCTL_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | #define SI_NOP 0 | #define SI_NOP 0 |
9 | 9 | #define SI_CONTEXT_LOST_ACK 1/* for instance, back from suspend */ | #define SI_CONTEXT_LOST_ACK 1/* for instance, back from suspend */ |
File include/uapi/alga/amd/si/pkt.h changed (mode: 100644) (index f85b37b..d230057) | |||
1 | 1 | #ifndef ALGA_AMD_SI_PKT_H | #ifndef ALGA_AMD_SI_PKT_H |
2 | 2 | #define ALGA_AMD_SI_PKT_H | #define ALGA_AMD_SI_PKT_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #ifndef __KERNEL__ | #ifndef __KERNEL__ |
File include/uapi/alga/pixel_fmts.h changed (mode: 100644) (index 4d227ac..f625c0e) | |||
1 | 1 | #ifndef ALGA_PIXEL_FMTS_H | #ifndef ALGA_PIXEL_FMTS_H |
2 | 2 | #define ALGA_PIXEL_FMTS_H | #define ALGA_PIXEL_FMTS_H |
3 | 3 | /* | /* |
4 | author Sylvain Bertrand <digital.ragnarok@gmail.com> | ||
5 | Protected by GNU Affero GPL v3 with some exceptions. | ||
6 | See README at root of alga tree. | ||
4 | author Sylvain Bertrand <sylvain.bertrand@gmail.com> | ||
5 | Protected by linux GNU GPLv2 | ||
6 | Copyright 2012-2014 | ||
7 | 7 | */ | */ |
8 | 8 | ||
9 | 9 | #define ALGA_PIXEL_FMTS_MAX 64 | #define ALGA_PIXEL_FMTS_MAX 64 |