Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/crt: Use IS0_R instead of VGA_MIS_W

Use the proper IS0_R name for the VGA input status register 0, instead
of using the VGA_MIS_W alias which is meant for write accesses to the
same address. Yes, VGA registers are weird.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251208182637.334-16-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>

+2 -2
+2 -2
drivers/gpu/drm/i915/display/intel_crt.c
··· 738 738 * border color for Color info. 739 739 */ 740 740 intel_crtc_wait_for_next_vblank(intel_crtc_for_pipe(display, pipe)); 741 - st00 = intel_vga_read(display, VGA_MIS_W, true); 741 + st00 = intel_vga_read(display, VGA_IS0_R, true); 742 742 status = ((st00 & (1 << 4)) != 0) ? 743 743 connector_status_connected : 744 744 connector_status_disconnected; ··· 786 786 do { 787 787 count++; 788 788 /* Read the ST00 VGA status register */ 789 - st00 = intel_vga_read(display, VGA_MIS_W, true); 789 + st00 = intel_vga_read(display, VGA_IS0_R, true); 790 790 if (st00 & (1 << 4)) 791 791 detect++; 792 792 } while ((intel_de_read(display, PIPEDSL(display, pipe)) == dsl));