diff for duplicates of <20190327100057.GB3888@intel.com> diff --git a/a/1.txt b/N1/1.txt index c080045..8ea7dc1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,18 +5,18 @@ On Wed, Mar 27, 2019 at 09:28:49AM +0100, Thomas Zimmermann wrote: > >> + > >> +static bool is_c8(const struct fb_info* fb_info) > >> +{ -> >> + return fb_info->var.bits_per_pixel = 8; +> >> + return fb_info->var.bits_per_pixel == 8; > >> +} > >> + > >> +static bool is_rgb565_be(const struct fb_info* fb_info) > >> +{ -> >> + return (fb_info->var.bits_per_pixel = 16) && -> >> + (fb_info->var.red.offset = 0) && -> >> + (fb_info->var.red.length = 5) && -> >> + (fb_info->var.green.offset = 5) && -> >> + (fb_info->var.green.length = 6) && -> >> + (fb_info->var.blue.offset = 11) && -> >> + (fb_info->var.blue.length = 5); +> >> + return (fb_info->var.bits_per_pixel == 16) && +> >> + (fb_info->var.red.offset == 0) && +> >> + (fb_info->var.red.length == 5) && +> >> + (fb_info->var.green.offset == 5) && +> >> + (fb_info->var.green.length == 6) && +> >> + (fb_info->var.blue.offset == 11) && +> >> + (fb_info->var.blue.length == 5); > >> +} > > > > You can't distinguish LE vs. BE like this. @@ -56,3 +56,7 @@ everyone except me seems to get confused by the current wording. -- Ville Syrjälä Intel +_______________________________________________ +dri-devel mailing list +dri-devel@lists.freedesktop.org +https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index 012211e..c778fd8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\044049a77-d9b8-992e-2107-55e33845a398@suse.de\0" "From\0Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\0" "Subject\0Re: [PATCH 07/11] drm/fbdevdrm: Add DRM <-> fbdev pixel-format conversion\0" - "Date\0Wed, 27 Mar 2019 10:00:57 +0000\0" + "Date\0Wed, 27 Mar 2019 12:00:57 +0200\0" "To\0Thomas Zimmermann <tzimmermann@suse.de>\0" "Cc\0airlied@linux.ie" linux-fbdev@vger.kernel.org @@ -19,18 +19,18 @@ "> >> +\n" "> >> +static bool is_c8(const struct fb_info* fb_info)\n" "> >> +{\n" - "> >> +\treturn fb_info->var.bits_per_pixel = 8;\n" + "> >> +\treturn fb_info->var.bits_per_pixel == 8;\n" "> >> +}\n" "> >> +\n" "> >> +static bool is_rgb565_be(const struct fb_info* fb_info)\n" "> >> +{\n" - "> >> +\treturn (fb_info->var.bits_per_pixel = 16) &&\n" - "> >> +\t (fb_info->var.red.offset = 0) &&\n" - "> >> +\t (fb_info->var.red.length = 5) &&\n" - "> >> +\t (fb_info->var.green.offset = 5) &&\n" - "> >> +\t (fb_info->var.green.length = 6) &&\n" - "> >> +\t (fb_info->var.blue.offset = 11) &&\n" - "> >> +\t (fb_info->var.blue.length = 5);\n" + "> >> +\treturn (fb_info->var.bits_per_pixel == 16) &&\n" + "> >> +\t (fb_info->var.red.offset == 0) &&\n" + "> >> +\t (fb_info->var.red.length == 5) &&\n" + "> >> +\t (fb_info->var.green.offset == 5) &&\n" + "> >> +\t (fb_info->var.green.length == 6) &&\n" + "> >> +\t (fb_info->var.blue.offset == 11) &&\n" + "> >> +\t (fb_info->var.blue.length == 5);\n" "> >> +}\n" "> > \n" "> > You can't distinguish LE vs. BE like this.\n" @@ -69,6 +69,10 @@ "\n" "-- \n" "Ville Syrj\303\244l\303\244\n" - Intel + "Intel\n" + "_______________________________________________\n" + "dri-devel mailing list\n" + "dri-devel@lists.freedesktop.org\n" + https://lists.freedesktop.org/mailman/listinfo/dri-devel -1487c67913dccbb6b7e136296846b74d8a46250eb166054a78413b9161a86dc9 +6b90bc51ac25c2eab28a2ba79995a80d43c85f1531141e4e6ed327f7e8ec688d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.