mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 20:12:38 -04:00
drm/amdgpu: use proper defines, shifts and masks in DCE6 code
By replacing VGA_VSTATUS_CNTL by VGA_RENDER_CONTROL__VGA_VSTATUS_CNTL_MASK, we also need to fix its usage in GMC6. Note: VGA_VSTATUS_CNTL's binary value was inverted in dce_6_0_sh_mask.h, so we need to invert its value where it was used. Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
de81b86e96
commit
193e088015
@@ -5242,6 +5242,8 @@
|
||||
#define DEGAMMA_CONTROL__CURSOR_DEGAMMA_MODE__SHIFT 0x0000000c
|
||||
#define DEGAMMA_CONTROL__GRPH_DEGAMMA_MODE_MASK 0x00000003L
|
||||
#define DEGAMMA_CONTROL__GRPH_DEGAMMA_MODE__SHIFT 0x00000000
|
||||
#define DEGAMMA_CONTROL__ICON_DEGAMMA_MODE_MASK 0x00000300L
|
||||
#define DEGAMMA_CONTROL__ICON_DEGAMMA_MODE__SHIFT 0x00000008
|
||||
#define DEGAMMA_CONTROL__OVL_DEGAMMA_MODE_MASK 0x00000030L
|
||||
#define DEGAMMA_CONTROL__OVL_DEGAMMA_MODE__SHIFT 0x00000004
|
||||
#define DENORM_CONTROL__DENORM_MODE_MASK 0x00000007L
|
||||
|
||||
Reference in New Issue
Block a user