drm/vc4_kms: Protect hvs dereference on fkms
authorDom Cobley <popcornmix@gmail.com>
Wed, 27 Apr 2022 13:45:35 +0000 (14:45 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 27 Apr 2022 14:38:50 +0000 (15:38 +0100)
commit803ea4d43693da78d4781195d831d412716e96b4
tree627187313433ff42cd228a172f447e81a12d40d5
parentf2f20e36cf77fb39f6e7a419eba4f65c81e0c94f
drm/vc4_kms: Protect hvs dereference on fkms

fkms has a null hvs pointer so this crashes. Protect against it

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/gpu/drm/vc4/vc4_kms.c