summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-07-25 13:09:49 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-07-26 14:50:26 +0200
commitad3b209b606d2c69e0ac39edc441854a9f457d3a (patch)
tree3365acf7285ff0917b49c9caf0320abd29eb7bf9 /lib/igt_kms.c
parent5a3c0d646bb55a65165768b8bfe08c122e49d6fc (diff)
kms_atomic_transition: run correctly when hitting hw limits
On CHV with a 4K hdmi display it's possible to hit the wm upper limit, 1 rgb primary plane + 2 full size rgb secondary planes will hit a HW limit. To fix this try halving the horizontal width until we're below HW limits. This requires a kernel patch to make sure that the kernel considers actual width in wm calculations, but without it we get FIFO underruns anyway. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/igt_kms.c')
0 files changed, 0 insertions, 0 deletions