From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7PWM-00035g-Ow for barebox@lists.infradead.org; Mon, 09 Sep 2019 19:40:21 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 9 Sep 2019 21:40:13 +0200 Message-Id: <20190909194013.7081-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] video: imxfb: make pcr and bpp per-display settings To: barebox@lists.infradead.org VGhlc2Ugc2V0dGluZ3MgdXNlZCB0byBiZSBzcGVjaWZpZWQgcGVyLW1vZGUuIEJ1dCB0aGUgZGV2 aWNlIHRyZWUKYmluZGluZ3MgaGF2ZSB0aGVzZSB0d28gdmFsdWVzIGF0dGFjaGVkIHRvIHRoZSBk aXNwbGF5IGFuZCBub3QgdG8gZWFjaAptb2RlLiBBbHNvIGZvciB0aGUgc3VwcG9ydGVkIGJvYXJk cyBpdCBkb2Vzbid0IG1hdHRlciBhcyB0aGV5IGFsbCBvbmx5CmhhdmUgYSBzaW5nbGUgbW9kZS4K ClRoaXMgaXMgcHJlcGFyYXRvcnkgd29yayB0byBhZGQgZGV2aWNldHJlZSBzdXBwb3J0IGZvciB0 aGUgaW14ZmIgZHJpdmVyLgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xl aW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCkhlbGxvLAoKSSdtIG5vdCBzdXJlIHdoZW4g SSB3aWxsIGNvbWUgYXJvdW5kIHRvIGFkZCBkZXZpY2V0cmVlIHN1cH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9OT05JTlRF UkxBQ0VELAotCX0sCi0gICAgICAgIC5wY3IgICAgICAgICAgICA9IDB4ZmIxMDhiYzcsCi0gICAg ICAgIC5icHAgICAgICAgICAgICA9IDE2LAorc3RhdGljIHN0cnVjdCBmYl92aWRlb21vZGUgaW14 X2ZiX21vZGVkYXRhID0geworCS5uYW1lICAgICAgICAgICA9ICJTaGFycC1MUTAzNVE3IiwKKwku cmVmcmVzaCAgICAgICAgPSA2MCwKKwkueHJlcyAgICAgICAgICAgPSAyNDAsCisJLnlyZXMgICAg ICAgICAgID0gMzIwLAorCS5waXhjbG9jayAgICAgICA9IDE4ODY3OSwKKwkubGVmdF9tYXJnaW4g ICAgPSA2LAorCS5yaWdodF9tYXJnaW4gICA9IDE2LAorCS51cHBlcl9tYXJnaW4gICA9IDgsCisJ Lmxvd2VyX21hcmdpbiAgID0gMTAsCisJLmhzeW5jX2xlbiAgICAgID0gMiwKKwkudnN5bmNfbGVu ICAgICAgPSAxLAorCS5zeW5jICAgICAgICAgICA9IDAsCisJLnZtb2RlICAgICAgICAgID0gRkJf Vk1PREVfTk9OSU5URVJMQUNFRCwKIH07CiAKIHN0YXRpYyBzdHJ1Y3QgaW14X2ZiX3BsYXRmb3Jt X2RhdGEgaW14X2ZiX2RhdGEgPSB7CkBAIC03Niw2ICs3Miw4IEBAIHN0YXRpYyBzdHJ1Y3QgaW14 X2ZiX3BsYXRmb3JtX2RhdGEgaW14X2ZiX2RhdGEgPSB7CiAJLnB3bXIgICAgICAgICAgID0gMHgw MGE5MDNmZiwKIAkubHNjcjEgICAgICAgICAgPSAweDAwMTIwMzAwLAogCS5kbWFjciAgICAgICAg ICA9IDB4MDAwMjAwMDgsCisJLnBjciAgICAgICAgICAgID0gMHhmYjEwOGJjNywKKwkuYnBwICAg ICAgICAgICAgPSAxNiwKIH07CiAKIHN0YXRpYyBpbnQgaW14MjFhZHNfdGltaW5nX2luaXQodm9p ZCkKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2JvYXJ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