]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dsb: Polish the DSB ID enum
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 May 2024 11:40:58 +0000 (14:40 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Jun 2024 09:45:13 +0000 (12:45 +0300)
commit7f57f21510de2c76596af7a51804e6f1abc0be00
tree2726f6aac55ac0f83986c00cbed3794385eead70
parent30ca6365bb4200f55e59bf1ab2a24e65406e9eac
drm/i915/dsb: Polish the DSB ID enum

Namespace the DSB ID enum properly, and make the naming match
other such enums in general. Also make the names 0 based as
that's what Bspec uses for DSB (unlike eg. planes where it
uses 1 based indexing).

We'll throw out INVALID_DSB while at it since we have no use for
it at the moment.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240531114101.19994-2-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_dsb.c