]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/omap: Open code phys_to_page()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Apr 2024 17:04:19 +0000 (20:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 May 2024 19:03:58 +0000 (22:03 +0300)
commit5bbad9e008a811ae19da038de35aab9fe2f4e036
tree917badc2eb79db8923c68b5f9e9173c641a40c19
parent8c59c8709e3039e31174ee4941d5ac69d81ffbb0
drm/omap: Open code phys_to_page()

phys_to_page() is not available on most architectures.
Just open code it like msm does. Allows COMPILE_TEST=y
builds of omapdrm on other architectures.

Cc: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-15-ville.syrjala@linux.intel.com
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_gem.c