From: Tomi Valkeinen Subject: Re: [PATCHv2 26/31] drm/omap: Create fbdev emulation only for the first DRM connector Date: Mon, 27 Mar 2017 09:28:07 +0300 Message-ID: <9c27dee1-d2f0-c4b5-73a6-4faf00f05306@ti.com> References: <1490348452-20851-1-git-send-email-tomi.valkeinen@ti.com> <1490348452-20851-27-git-send-email-tomi.valkeinen@ti.com> <20170325212238.kb65y32ta6hgcqdv@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2061488912==" Return-path: Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 19E516E163 for ; Mon, 27 Mar 2017 06:28:49 +0000 (UTC) In-Reply-To: <20170325212238.kb65y32ta6hgcqdv@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter Cc: Peter Ujfalusi , Jyri Sarha , Laurent Pinchart , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2061488912== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VgWQh5TtrEjIen3L0NLiRTPtgCIAEKrAH" --VgWQh5TtrEjIen3L0NLiRTPtgCIAEKrAH Content-Type: multipart/mixed; boundary="rjjsbVB6vN7lV4uqJ9J9k3uibGgxmlLMx"; protected-headers="v1" From: Tomi Valkeinen To: Daniel Vetter Cc: dri-devel@lists.freedesktop.org, Laurent Pinchart , Peter Ujfalusi , Jyri Sarha Message-ID: <9c27dee1-d2f0-c4b5-73a6-4faf00f05306@ti.com> Subject: Re: [PATCHv2 26/31] drm/omap: Create fbdev emulation only for the first DRM connector References: <1490348452-20851-1-git-send-email-tomi.valkeinen@ti.com> <1490348452-20851-27-git-send-email-tomi.valkeinen@ti.com> <20170325212238.kb65y32ta6hgcqdv@phenom.ffwll.local> In-Reply-To: <20170325212238.kb65y32ta6hgcqdv@phenom.ffwll.local> --rjjsbVB6vN7lV4uqJ9J9k3uibGgxmlLMx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 25/03/17 23:22, Daniel Vetter wrote: > On Fri, Mar 24, 2017 at 11:40:47AM +0200, Tomi Valkeinen wrote: >> From: Peter Ujfalusi >> >> Add fbdev emulation only for the first DRM connector. >> When the fbdev emulation was created for all connectors with different= >> resolution, the lower res display would only be able to show part of t= he >> framebuffer. >> By creating the fbdev emulation only for the first connector we can av= oid >> this. >> >> Signed-off-by: Peter Ujfalusi >> Signed-off-by: Tomi Valkeinen >=20 > Why this driver-specific behavior? This is how it works everywhere. >=20 > If this doesn't work in some case, then we need to fix this in the fbde= v > helper. Or have a modparam for that. But definitely not diverging > behaviour between drivers. The default behavior often results in a rather unusable fbdev on the other screen. For example, a board with a low-res LCD and HDMI. Fbdev is created based in the LCD resolution, and on HDMI you'll get 1080p resolution with a tiny fbdev. Or, if fbdev is created based on the HDMI resolution, on the LCD you'll see a tiny portion of the huge fbdev. I personally did suggest our folks to just disable the fbdev totally, but apparently there are still some uses for the fbdev, so this patch seemed like a simple way to make the behavior a bit nicer. But I agree that it would be best to have this fully configurable, as different use cases have different needs. Then again, I'd rather just disable the fbdev than start spending time on improving it =3D). Tomi --rjjsbVB6vN7lV4uqJ9J9k3uibGgxmlLMx-- --VgWQh5TtrEjIen3L0NLiRTPtgCIAEKrAH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJY2LD4AAoJEPo9qoy8lh71ISMQAI6A78PcN8qdvU4UEhWzEmkI UDMrzIiYTJTpgNMTuNt9+glvPYnOYfVnqROfN2SHdJ5nnhoqD4WovFCQAfm+O36K nUhwYAP9arD17LKFYWAC5lmQ5kTtCE0bvK+ZUbiR/XEtWLyPdXYzFyAyNmVIj2K2 1c8AP0F2LKFSkzjNAns4ynl4OD5gSOpOp8FpB8fLIDUAJllcMSLpFWXbKP443FOJ Q56LYzlhBzsiw4zkLbFc64m9F/CoLsAObb+R977KiL6QlPwwbD25ga2Hs3Xq/dH0 GoHIIqep+7x6sn2ZxPXE/YGd45IjN4xSLF1zAP1X1Pq7tN+AKP37WSfIwYQVpf+z ywmykx4d6jZiBbd06LOuuXw9hSsc/6b3mH7oU2YSVMtvUo5Jr3BbXs9jhzhJdu5V r46Pp/F0sY2zNbQVp+io1BwjIMJQHey99sW2lKxnxQ3IVfyYDT1TYyj/thZ9CDDA PTbtvlIE5a4bGZo65goF63tMpq+cnm16PUV3ieyRMAEhjdAzklvkT0HV7EGX6g5P m4Z1VdDgz8I38fE03sHF8ErG+ieYqMWdO2V8VbNiUKT1d3nzdrJ+ve8+OSKl7nu2 ijwLeRbdYhykSSaQ/G58YouM22QRy0UWMwMNpAMF+9dEb+vND7XXGR/pHf7IiWpU nS314LQCWQla0MuO2lz3 =NsOU -----END PGP SIGNATURE----- --VgWQh5TtrEjIen3L0NLiRTPtgCIAEKrAH-- --===============2061488912== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2061488912==--