<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/fb.h, branch linux-4.3.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.3.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-08-20T07:20:11+00:00</updated>
<entry>
<title>fbdev: fix cea_modes array size</title>
<updated>2015-08-20T07:20:11+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2015-01-15T11:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6080a89357cc46f3450839a84af75c3d18f57772'/>
<id>urn:sha1:6080a89357cc46f3450839a84af75c3d18f57772</id>
<content type='text'>
CEA defines 64 modes, indexed from 1 to 64. modedb has cea_modes arrays,
which contains 64 entries. However, the code uses the CEA indices
directly, i.e. the first mode is at cea_modes[1]. This means the array
is one too short.

This does not cause references to uninitialized memory as the code in
fbmon only allows indexes up to 63, and the cea_modes does not contain
an entry for the mode 64 so it could not be used in any case.

However, the code contains a check 'if (idx &gt; ARRAY_SIZE(cea_modes)',
and while that check is a no-op as at that point idx cannot be &gt;= 63, it
upsets static checkers.

Fix this by increasing the cea_array size to be 65, and change the code
to allow mode 64.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: Check Standard Timing against DMT</title>
<updated>2015-01-15T11:33:41+00:00</updated>
<author>
<name>David Ung</name>
<email>davidu@nvidia.com</email>
</author>
<published>2015-01-14T03:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8f5ee77bb8d162abe28ff8cd56f36e825d143207'/>
<id>urn:sha1:8f5ee77bb8d162abe28ff8cd56f36e825d143207</id>
<content type='text'>
Add the VESA Display Monitor Timing (DMT) table.
During parsing of Standard Timings, it compare the 2 byte STD code
with DMT to see what the VESA mode should be.  If there is no entry
in the vesa_modes table or no match found, it fallsback to the
GTF timings.

Signed-off-by: David Ung &lt;davidu@nvidia.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: Add additional vesa modes</title>
<updated>2015-01-15T11:33:41+00:00</updated>
<author>
<name>David Ung</name>
<email>davidu@nvidia.com</email>
</author>
<published>2015-01-14T03:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=37715f556a0776356300391f8ac41ace91bea447'/>
<id>urn:sha1:37715f556a0776356300391f8ac41ace91bea447</id>
<content type='text'>
Add high resolution modes to vesa_modes struct.

Signed-off-by: David Ung &lt;davidu@nvidia.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>fbdev: arm has __raw I/O accessors, use them in fb.h</title>
<updated>2014-07-01T10:32:32+00:00</updated>
<author>
<name>Archit Taneja</name>
<email>archit@ti.com</email>
</author>
<published>2012-11-16T09:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=981409b25e2a99409b26daa67293ca1cfd5ea0a0'/>
<id>urn:sha1:981409b25e2a99409b26daa67293ca1cfd5ea0a0</id>
<content type='text'>
This removes the sparse warnings on arm platforms:

warning: cast removes address space of expression

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Cc: H Hartley Sweeten &lt;hsweeten at visionengravers.com&gt;
Cc: Alexander Shiyan &lt;shc_work@mail.ru&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fbdev/fb.h: silence warning with -Wsign-compare</title>
<updated>2014-05-02T12:57:42+00:00</updated>
<author>
<name>Brian W Hart</name>
<email>hartb@linux.vnet.ibm.com</email>
</author>
<published>2014-05-01T19:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ee3468739ed83d862dbbd90397aff5258f8f2c8e'/>
<id>urn:sha1:ee3468739ed83d862dbbd90397aff5258f8f2c8e</id>
<content type='text'>
Silence the warning when building with -Wsign-compare when fb.h is
included:

include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’:
include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j = 0; j &lt; s_pitch; j++)
                 ^

Signed-off-by: Brian W Hart &lt;hartb@linux.vnet.ibm.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>video: Check EDID for HDMI connection</title>
<updated>2014-04-22T05:51:29+00:00</updated>
<author>
<name>David Ung</name>
<email>davidu@nvidia.com</email>
</author>
<published>2014-03-26T22:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e6853aafd4339dbf2992957ff2616ef7164bc9d4'/>
<id>urn:sha1:e6853aafd4339dbf2992957ff2616ef7164bc9d4</id>
<content type='text'>
Check EDID Vendor Specific Data Block bytes to see if the connection
is HDMI and set FB_MISC_HDMI.

Signed-off-by: David Ung &lt;davidu@nvidia.com&gt;
Signed-off-by: Christopher Freeman &lt;cfreeman@nvidia.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>video/fb: Propagate error code from failing to unregister conflicting fb</title>
<updated>2013-12-18T00:56:13+00:00</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2013-12-16T15:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=46eeb2c144956e88197439b5ee5cf221a91b0a81'/>
<id>urn:sha1:46eeb2c144956e88197439b5ee5cf221a91b0a81</id>
<content type='text'>
If we fail to remove a conflicting fb driver, we need to abort the
loading of the second driver to avoid likely kernel panics.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
Cc: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>framebuffer: Add fb_&lt;level&gt; convenience logging macros</title>
<updated>2013-10-29T10:53:04+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2013-09-20T01:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f51a07d05c5142e73f781d878f411d63d3548a49'/>
<id>urn:sha1:f51a07d05c5142e73f781d878f411d63d3548a49</id>
<content type='text'>
Add fb_&lt;level&gt; convenience macros for emitting the
"fb%d: ", struct fb_info-&gt;node value.

Neatens and shortens the code a bit.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>fb: make fp_get_options name argument const</title>
<updated>2013-06-27T08:53:30+00:00</updated>
<author>
<name>Vincent Stehlé</name>
<email>vincent.stehle@freescale.com</email>
</author>
<published>2013-06-18T14:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a66e62ae56307e587e93d7ed4d83ea34c71d2eb9'/>
<id>urn:sha1:a66e62ae56307e587e93d7ed4d83ea34c71d2eb9</id>
<content type='text'>
drm_get_connector_name now returns a const value, which causes the following
compilation warning:

  drivers/gpu/drm/drm_fb_helper.c: In function ‘drm_fb_helper_parse_command_line’:
  drivers/gpu/drm/drm_fb_helper.c:127:3: warning: passing argument 1 of ‘fb_get_options’ discards ‘const’ qualifier from pointer target type [enabled by default]
  In file included from drivers/gpu/drm/drm_fb_helper.c:35:0:
  include/linux/fb.h:627:12: note: expected ‘char *’ but argument is of type ‘const char *’

As fb_get_options uses its name argument as read only, make it const. This
fixes the aforementioned compilation warning.

Signed-off-by: Vincent Stehlé &lt;vincent.stehle@freescale.com&gt;
Cc: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
Cc: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Cc: Dave Airlie &lt;airlied@redhat.com&gt;
Cc: trivial@kernel.org
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</content>
</entry>
<entry>
<title>fb: add support for drivers not needing VT switch at suspend/resume time</title>
<updated>2013-02-20T00:33:41+00:00</updated>
<author>
<name>Jesse Barnes</name>
<email>jbarnes@virtuousgeek.org</email>
</author>
<published>2013-02-04T13:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3cf2667b9f8b2c2fe298a427deb399e52321da6b'/>
<id>urn:sha1:3cf2667b9f8b2c2fe298a427deb399e52321da6b</id>
<content type='text'>
Use the new PM routines to indicate whether we need to VT switch at suspend
and resume time.  When a new driver is bound, set its flag accordingly,
and when unbound, remove it from the PM's console tracking list.

Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Acked-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
</content>
</entry>
</feed>
