3.8: implement resolution whitelist/blacklist for HDMI

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>