summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-04-24 11:26:21 -0500
committerMaxime Ripard <maxime@cerno.tech>2022-04-26 14:39:56 +0200
commitdc3ae06c5f2170d879ff58696f629d8c3868aec3 (patch)
tree394d8361ec6df0de92e546aee84c06e78b79221a /fs/ramfs
parent94f4c4965e5513ba624488f4b601d6b385635aec (diff)
downloadlinux-dc3ae06c5f2170d879ff58696f629d8c3868aec3.tar.bz2
drm/sun4i: Remove obsolete references to PHYS_OFFSET
commit b4bdc4fbf8d0 ("soc: sunxi: Deal with the MBUS DMA offsets in a central place") added a platform device notifier that sets the DMA offset for all of the display engine frontend and backend devices. The code applying the offset to DMA buffer physical addresses was then removed from the backend driver in commit 756668ba682e ("drm/sun4i: backend: Remove the MBUS quirks"), but the code subtracting PHYS_OFFSET was left in the frontend driver. As a result, the offset was applied twice in the frontend driver. This likely went unnoticed because it only affects specific configurations (scaling or certain pixel formats) where the frontend is used, on boards with both one of these older SoCs and more than 1 GB of DRAM. In addition, the references to PHYS_OFFSET prevent compiling the driver on architectures where PHYS_OFFSET is not defined. Fixes: b4bdc4fbf8d0 ("soc: sunxi: Deal with the MBUS DMA offsets in a central place") Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220424162633.12369-4-samuel@sholland.org
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions