]> www.infradead.org Git - linux.git/commit
drm/xe/sr: Apply masked registers properly
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 19 Apr 2023 22:49:09 +0000 (15:49 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:31:41 +0000 (18:31 -0500)
commit79f2432e3138a3240a99441fc077181e2e8c8fb9
treecd41ec18c67dce6a90b3f21f6b05621c91bea137
parentfa4fe0db0885b089200cc336207e40f6902ebbb2
drm/xe/sr: Apply masked registers properly

The 'clear' field for register save/restore entries was being placed in
the value bits of the register rather than the mask bits; make sure it
gets shifted into the mask bits.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20230419224909.4000920-1-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_reg_sr.c