What do you mean by, all buttons made it restart? When you press Shutdown in Windows it restarts your pc?
If you press the Power Button on your PC and it restarts, you might need to check your Windows Power Settings, or perhaps you have plugged in the Power/Restart leds in the wrong position on your Motherboard.
i mean. when i press power on button the pc shut down and then restart by itself. when i press shut down at windows it made shut down and then it restart by it self.
Power/restart ledsare in right position on my MOBO i check it.
This sounds like a hardware issue rather than an issue with drivers. I am not sure what else could cause this other than the Motherboard leds being in the wrong position or that it could be a PSU issue.
Have you made any changes to your system other than moving over a new graphics card?
Does the same issue occur without any AMD drivers installed?