Kodi + GTX 1080 + 4K hevc decode

I am using Kodi 16.1 on a windows 7 machine and recently I have installed an asus GTX 1080 video card which supports hardware decoding of hevc 4k.
I am tryting to play an mkv file 4k hevc but kid instead of using the video card to devode it is using software.

Can someone help me with this?
Is this supported in Kodi 16.1? Do I need to install any codecs?