List of commits:
Subject Hash Author Date (UTC)
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
dyn pm second part continuation 95dd7b4754476a014d8f84854e5b2ce5c81d23b4 Sylvain BERTRAND 2014-02-12 20:15:03
beginning of dyn pm second part c32c19d884dbf1f440480bbea42140e9c5ed8cd3 Sylvain BERTRAND 2014-02-12 14:44:04
uvd does only mpeg, then switch off 7e36b98bcab47e9986a63093dbeed98ab290f85f Sylvain BERTRAND 2014-02-12 10:55:54
bug fixing, end of dyn pm first part 533a4bd6731205f71704886e5fa099063be985ea Sylvain BERTRAND 2014-02-11 13:49:27
bug fixing c3fc0d7b807c98d20c13f53dcfc09713309ad2fa Sylvain BERTRAND 2014-02-11 11:16:00
static bios tbls *must* be ok e050fa94c2f1e846bb051748347332e234a6b93a Sylvain BERTRAND 2014-02-10 10:17:33
bug fixing 7baa7069aa89a98d831d7def358766155771e9ca Sylvain BERTRAND 2014-02-07 15:08:53
bug fixing d4a1ef00d163bc42e277c83d0a763fa11476af56 Sylvain BERTRAND 2014-02-06 20:14:33
tbls fixes 4795a3090a17bc486056301bc6bef509b9c5e339 Sylvain BERTRAND 2014-02-05 15:09:41
log more accurately the smc tbls 3d88d2a589a89e9a34f4046242f4a72a76069ddb Sylvain BERTRAND 2014-02-05 10:51:39
log more 5018f3c130cb9ce53e1834fcc586f00614a3ed86 Sylvain BERTRAND 2014-02-04 21:46:05
smc sw regs dump code 46acefa1d42984757cb1ba48a32130f2f9674687 Sylvain BERTRAND 2014-02-04 20:44:26
Commit 69f94e04ea89c1fe9ccaef153da5f5ade232c2a1 - disable switch to low power when no display
Some systems may use the chips to full speed, even
without any display connected to the DCE
Author: Sylvain BERTRAND
Author date (UTC): 2014-02-17 09:59
Committer name: Sylvain BERTRAND
Committer date (UTC): 2014-02-17 09:59
Parent(s): 6f99d0a01491dd671174919d842a771ac4a81a4b
Signing key:
Tree: 3b19b0746fc26b4b659072a3ae3f8be148bd9939
File Lines added Lines deleted
drivers/gpu/alga/amd/si/dyn_pm/driver.c 8 0
drivers/gpu/alga/amd/si/dyn_pm/dyn_pm.c 1 1
drivers/gpu/alga/amd/si/smc.h 2 1
File drivers/gpu/alga/amd/si/dyn_pm/driver.c changed (mode: 100644) (index 79b1077..0ec93ee)
... ... long driver_set_performance(struct ctx *ctx)
700 700 dev_err(&ctx->dev->dev, "dyn_pm:init:smc:unable to switch on the thermal design power clamping\n"); dev_err(&ctx->dev->dev, "dyn_pm:init:smc:unable to switch on the thermal design power clamping\n");
701 701 return -SI_ERR; return -SI_ERR;
702 702 } }
703
704 /* some systems may use the chip without any display connected to it */
705 LOG("smc:disable low power state switch when there is no display");
706 r = smc_msg(ctx->dev, SMC_MSG_HAS_DISPLAY);
707 if (r == -SI_ERR) {
708 dev_err(&ctx->dev->dev, "dyn_pm:init:smc:unable to disable the switch to low power state when there is no display\n");
709 return -SI_ERR;
710 }
703 711 return 0; return 0;
704 712 } }
File drivers/gpu/alga/amd/si/dyn_pm/dyn_pm.c changed (mode: 100644) (index 673d0f4..09c1303)
... ... static long init(struct ctx *ctx)
815 815 smc_clk_start(ctx->dev); smc_clk_start(ctx->dev);
816 816
817 817 LOG("tell the smc there is no active display"); LOG("tell the smc there is no active display");
818 r = smc_msg(ctx->dev, SMG_MSG_NODISPLAY);
818 r = smc_msg(ctx->dev, SMG_MSG_NO_DISPLAY);
819 819 if (r == -SI_ERR) { if (r == -SI_ERR) {
820 820 dev_err(&ctx->dev->dev, "dyn_pm:init:unable to tell the smc there is no active display\n"); dev_err(&ctx->dev->dev, "dyn_pm:init:unable to tell the smc there is no active display\n");
821 821 goto err_clr_vc; goto err_clr_vc;
File drivers/gpu/alga/amd/si/smc.h changed (mode: 100644) (index 3289752..80095c3)
... ... void smc_halt_wait(struct pci_dev *dev);
32 32 #define SMC_MSG_CAC_DIS 0x0054 #define SMC_MSG_CAC_DIS 0x0054
33 33 #define SMC_TDP_CLAMPING_ON 0x0059 #define SMC_TDP_CLAMPING_ON 0x0059
34 34 #define SMC_TDP_CLAMPING_OFF 0x005a #define SMC_TDP_CLAMPING_OFF 0x005a
35 #define SMG_MSG_NODISPLAY 0x005d
35 #define SMG_MSG_NO_DISPLAY 0x005d
36 #define SMC_MSG_HAS_DISPLAY 0x005e
36 37 #define SMC_MSG_UVD_PWR_OFF 0x0060 #define SMC_MSG_UVD_PWR_OFF 0x0060
37 38 #define SMC_MSG_UVD_PWR_ON 0x0061 #define SMC_MSG_UVD_PWR_ON 0x0061
38 39 #define SMC_MSG_ULV_ENA 0x0062 #define SMC_MSG_ULV_ENA 0x0062
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/linux-gpu-amd-si

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/linux-gpu-amd-si

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/linux-gpu-amd-si

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main