Code Monkey home page Code Monkey logo

dwarfing's People

Contributors

rumatoest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwarfing's Issues

amdgpu-mod.sh: function: not found

sh amdgpu-mod.sh


amdgpu-mod.sh: 21: amdgpu-mod.sh: function: not found
-e
____________________________________________________
|              _    __   _                 _    _  |
|  /\   |\/|  | \  /__  |_)  | |    |\/|  / \  | \ |
| /--\  |  |  |_/  \_|  |    |_|    |  |  \_/  |_/ |
|__________________________________________________|

amdgpu-mod.sh: 29: amdgpu-mod.sh: Syntax error: "}" unexpected

doesn't compile with 4.16 ( error: 'struct pp_hwmgr' has no member named 'gfx_arbiter' )

hi it doesn't compile with 4.16

drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c: In function 'polaris10_update_sclk_threshold':
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:2382:12: error: 'struct pp_hwmgr' has no member named 'gfx_arbiter'
   && (hwmgr->gfx_arbiter.sclk_threshold !=
            ^~
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:2385:10: error: 'struct pp_hwmgr' has no member named 'gfx_arbiter'
     hwmgr->gfx_arbiter.sclk_threshold;
          ^~
make[6]: *** [scripts/Makefile.build:324: drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.o] Error 1
make[5]: *** [scripts/Makefile.build:583: drivers/gpu/drm/amd/amdgpu] Error 2
make[4]: *** [scripts/Makefile.build:583: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:583: drivers/gpu] Error 2

Can not build! (for 17.40)

hi, I attempted to run your amdgpu-mod and got this output:

BUILDING new amdgpu.ko file
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Hunk #3 succeeded at 780 (offset 4 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/smumgr/polaris10_smc.c
Patch file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
patching file /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
Hunk #1 succeeded at 4403 (offset 24 lines).
File patched: /usr/src/amdgpu-17.40-483984/amd/powerplay/hwmgr/smu7_hwmgr.c
make: Entering directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
LD /usr/src/amdgpu-17.40-483984/built-in.o
LD /usr/src/amdgpu-17.40-483984/amd/amdgpu/built-in.o
CC [M] /usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o
In file included from /usr/src/amdgpu-17.40-483984/amd/amdgpu/../include/../backport/backport.h:14:0,
from :0:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/usr/src/amdgpu-17.40-483984/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
return reservation_object_copy_fences(dst, src);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu/amdgpu_drv.o] Error 1
scripts/Makefile.build:553: recipe for target '/usr/src/amdgpu-17.40-483984/amd/amdgpu' failed
make[1]: *** [/usr/src/amdgpu-17.40-483984/amd/amdgpu] Error 2
Makefile:1492: recipe for target 'module/usr/src/amdgpu-17.40-483984' failed
make: *** [module/usr/src/amdgpu-17.40-483984] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-kfd-compute-rocm-rel-1.6-180'
/home/james/Downloads/dwarfing-master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.