When i first connected my PC to the TV the HDMI worked, i had problems with the image, but i uinstalled the graphics driver and it worked. Then i restarted the PC and the TV showed HDMI with no signal. Then i used my VGA cable, reinstalled the driver and it didn't repair it. I don't know if this was the exact order of things, but something like this. Graphics card is HD 7770, tv is a philips full hd 22". TLDR: HDMI worked first time, then it stopped working and now it doesn't even recognize it in Catalyst Control Center.
I reinstalled them, that's not important anymore.
I figured out the real problem, the HDMI connected TV is not being identified if the other monitor is not plugged in as well. Now that i took that monitor away, PC no longer indetifies the TV as "PHILIPS blabla", it just says Generic Non-PnP or something like that. How can i fix this? How can the TV be corectly indentified?