summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2022-11-29 23:16:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 19:46:34 +0300
commitc627087cb164d1675323c7942fa29bded4263dfc (patch)
tree8a66863c9e4048ba5f7bf9a6ab771a333a43b1a3 /virt
parent6120611abc05dd850eff4eb3026f977ac7e34718 (diff)
downloadlinux-c627087cb164d1675323c7942fa29bded4263dfc.tar.xz
drm/connector: Use common colorspace_names array
We an use bitfields to track the support ones for HDMI and DP. This allows us to print colorspaces in a consistent manner without needing to know whether we're dealing with DP or HDMI. v4: - Rename _MAX to _COUNT and leave comment to indicate it's not a valid value - Fix misplaced function doc v6: - Drop magic in drm_mode_create_colorspace_property for dealing with "0" supported_colorspaces. Expect the caller to always provide a non-zero supported_colorspaces. - Improve error checking and logging Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com> Reviewed-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Simon Ser <contact@emersion.fr> Cc: Pekka Paalanen <ppaalanen@gmail.com> Cc: Sebastian Wick <sebastian.wick@redhat.com> Cc: Vitaly.Prosyak@amd.com Cc: Uma Shankar <uma.shankar@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Joshua Ashton <joshua@froggi.es> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Simon Ser <contact@emersion.fr> Cc: Melissa Wen <mwen@igalia.com> Cc: dri-devel@lists.freedesktop.org Cc: amd-gfx@lists.freedesktop.org Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions