mirror-linux/drivers/gpu/drm/amd
Jani Nikula e05b08d7d0 drm/atomic: convert drm_atomic_get_{old, new}_colorop_state() into proper functions
There is no real reason to include drm_colorop.h from drm_atomic.h, as
drm_atomic_get_{old,new}_colorop_state() have no real reason to be
static inline.

Convert the static inlines to proper functions, and drop the include to
reduce the include dependencies and improve data hiding.

v2: Fix vkms build failures (Alex)

Fixes: cfc27680ee ("drm/colorop: Introduce new drm_colorop mode object")
Cc: Simon Ser <contact@emersion.fr>
Cc: Alex Hung <alex.hung@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Daniel Stone <daniels@collabora.com>
Cc: Melissa Wen <mwen@igalia.com>
Cc: Sebastian Wick <sebastian.wick@redhat.com>
Cc: Alex Hung <alex.hung@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Link: https://patch.msgid.link/20251219114939.1069851-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2025-12-22 15:37:26 +02:00
..
acp
amdgpu Merge drm/drm-next into drm-misc-next 2025-12-15 09:27:39 +01:00
amdkfd Merge drm/drm-next into drm-misc-next 2025-12-15 09:27:39 +01:00
amdxcp
display drm/atomic: convert drm_atomic_get_{old, new}_colorop_state() into proper functions 2025-12-22 15:37:26 +02:00
include drm/amdgpu/vce1: Clean up register definitions 2025-11-11 21:54:18 -05:00
pm drm/amd/pm: adjust the visibility of pp_table sysfs node 2025-11-24 12:36:12 -05:00
ras drm/amd/ras: ras supports i2c eeprom for mp1 v13_0_12 2025-11-06 09:57:07 -05:00