]> git.baikalelectronics.ru Git - kernel.git/commit
drm: use .hword to represent 16-bit numbers
authorJavi Merino <javi.merino@kernel.org>
Wed, 29 Mar 2017 13:45:23 +0000 (14:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 30 Mar 2017 08:15:19 +0000 (10:15 +0200)
commit81457673596c217619c209cdfc1c5b5169c3f684
tree9d6bea0cb90b9470be39eb1409672d03b881591e
parent9abcb30037a6a2b56e086dc7f4ba2f97cf841382
drm: use .hword to represent 16-bit numbers

The size of .word is the size of a word in the given platform, which
for intel systems is 16-bits but other architectures use different
sizes.  However, .hword emits 16-bit numbers regardless of the
platform (and despite the name).  The quantities specified in EDID are
platform independent, so they should work in spite of the default
target of the cc you are using, so use .hword where EDID specifies
16-bit numbers.

Cc: Carsten Emde <C.Emde@osadl.org>
Cc: David Airlie <airlied@linux.ie>
Acked-by: David Airlie <airlied@linux.ie>
Signed-off-by: Javi Merino <javi.merino@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1490795123-16851-1-git-send-email-javi.merino@kernel.org
Documentation/EDID/edid.S