]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: update pipe size at set_config time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 5 Nov 2014 22:26:10 +0000 (14:26 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:29:24 +0000 (10:29 +0100)
commit1f9954d0bbea3e8ec930e85b12cee6a71ed42b22
tree8954c018ad835817fcfa36a7ac1c6e51e150848c
parent206645910b9796bff13fcdb67bdca166b724ba62
drm/i915: update pipe size at set_config time

This only affects the fastboot path as-is.  In that case, we simply need
to make sure that we update the pipe size at the first mode set.  Rather
than putting it off until we decide to flip (if indeed we do end up
flipping), update the pipe size as appropriate a bit earlier in the
set_config call.

This sets us up for better pipe tracking in later patches.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c