By law, automakers and dealerships are not allowed to make you perform regular maintenance at a dealership for a new-car warranty to remain valid. In other words, you’re free by law to get oil changes, tire rotations and other regular maintenance performed by just about any mechanic, and the automaker and dealership will still have to honor the new-car warranty.