diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-07-08 09:21:14 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-07-14 15:14:45 +0200 |
commit | 7d09c7606346db9a48b62b4e02454a6b8f323043 (patch) | |
tree | 4aa8d8700c8c8126f4cdf390c3a51889d8529bcc /kernel/scftorture.c | |
parent | 4fa05a67b558d2cb3acd2bb299b91220d405ca5e (diff) |
drm/mgag200: Don't read-back PCI option register before writing
Remove the read operation from mgag200_init_pci_options(). It was
incorrectly added while refactoring the code. Reading the PCI option
register clears the register's new value and subsequently leads to
re-writing the old value.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Fixes: ce19021fd99a ("drm/mgag200: Move PCI-option setup into model-specific code")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220708072114.13960-1-tzimmermann@suse.de
Diffstat (limited to 'kernel/scftorture.c')
0 files changed, 0 insertions, 0 deletions