]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/display: Don't try to use vram if not available
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 12 Oct 2023 13:52:08 +0000 (16:52 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:32 +0000 (11:44 -0500)
commitff180adfb923b2619f6a46c5a369d833b543a9f1
tree261d5940dc416af2102d821cdd0644dd7ac6a630
parent95ab70f134d837a566f2d998b3090f40227a1b60
drm/xe/display: Don't try to use vram if not available

Trying to get bo from vram when vram not available will cause
WARN_ON() hence avoid touching vram if not available.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/display/xe_fb_pin.c