diff options
author | Furquan Shaikh <furquan@google.com> | 2013-07-30 12:41:08 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-12-21 13:26:51 +0100 |
commit | d0a81f75342508449d13fd05305864413470e0c9 (patch) | |
tree | d201c482719be707b1dbe545ac808adddcc8b340 /src/lib/edid.c | |
parent | 10bd772db854c62528c67b9d0e5e329c525d83f9 (diff) |
Calculate transcoder flags based on pipe config
Works fine with all three panels with the change of 6 bits per color.
Change-Id: Ia47d152e62d1879150d8cf9a6657b62007ef5c0e
Reviewed-on: https://gerrit.chromium.org/gerrit/63762
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/4402
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/lib/edid.c')
-rw-r--r-- | src/lib/edid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edid.c b/src/lib/edid.c index dd7c46ab2b..b2bd9b716a 100644 --- a/src/lib/edid.c +++ b/src/lib/edid.c @@ -475,6 +475,7 @@ detailed_block(struct edid *out, unsigned char *x, int in_extension) * we have yet to see a case where that will happen. */ out->bpp = 32; + out->x_resolution = ALIGN(out->ha * ((out->bpp + 7) / 8),64) / (out->bpp/8); out->y_resolution = out->va; out->bytes_per_line = ALIGN(out->ha * ((out->bpp + 7) / 8),64); |