"Have you" and "did you" are closely related, but "Did you have" is quite different, using "to have" as the main verb, rather than as an auxilliary.
(simple past) I broke the vase. Did you break the vase?
(present perfect) I have broken the vase. Have you broken the vase?
The alleged event took place in the past in both cases, but with the second sentence, the event was clearly close to the present time.
Did you have enough to eat?
Do / did you have the book out overnight? (possession. You possess the book.)
Did you have the oil changed in the car? (causation. You caused the oil to be changed.)
Did you have to be so mean to my boyfriend? (need. You needed to to it.)
- A.