mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
media: platform: synopsys: hdmirx: Optimize struct snps_hdmirx_dev
Move cached EDID that takes 512 bytes to the bottom of struct snps_hdmirx_dev to improve CPU's cache locality of the struct. Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
0e5bc4863c
commit
308e51f412
1 changed files with 1 additions and 1 deletions
|
@ -154,8 +154,8 @@ struct snps_hdmirx_dev {
|
|||
u32 edid_blocks_written;
|
||||
u32 cur_fmt_fourcc;
|
||||
u32 color_depth;
|
||||
u8 edid[EDID_NUM_BLOCKS_MAX * EDID_BLOCK_SIZE];
|
||||
spinlock_t rst_lock; /* to lock register access */
|
||||
u8 edid[EDID_NUM_BLOCKS_MAX * EDID_BLOCK_SIZE];
|
||||
};
|
||||
|
||||
static const struct v4l2_dv_timings cea640x480 = V4L2_DV_BT_CEA_640X480P59_94;
|
||||
|
|
Loading…
Add table
Reference in a new issue